• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

kcl-lang / kpm / 33460741432
47%
main: 47%

Build:
Build:
LAST BUILD BRANCH: fix/login-plaintext-put-769
DEFAULT BRANCH: main
Ran 01 Sep 2026 02:01AM UTC
Jobs 1
Files 78
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Sep 2026 01:57AM UTC coverage: 46.735% (-0.07%) from 46.804%
33460741432

Pull #773

github

Peefy
fix(login): allow storing credentials without OCI_REG_PLAIN_HTTP (fixes #769)

LoginOci gated ORAS's AllowPlaintextPut behind the plain-HTTP setting.
On a headless CI runner there is no credential helper, so the ORAS store
refuses to persist credentials at all ("putting plaintext credentials
is disabled") and `kpm registry login` cannot succeed against HTTPS-only
registries such as ghcr.io or docker.io — the only way to enable the
flag, OCI_REG_PLAIN_HTTP=on, also forces plain-HTTP transport.

AllowPlaintextPut is now enabled unconditionally, matching the Docker
and ORAS CLIs: in ORAS the plain-text config file is the last-resort
backend, server-specific helpers (credHelpers) and credsStore always
take precedence, so the flag only permits the fallback when no helper
is configured.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Peefy <xpf6677@163.com>
Pull Request #773: fix(login): allow storing credentials without OCI_REG_PLAIN_HTTP (fixes #769)

6 of 6 new or added lines in 1 file covered. (100.0%)

7 existing lines in 1 file now uncovered.

5168 of 11058 relevant lines covered (46.74%)

0.53 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
59.81
-3.27% pkg/settings/settings.go
Jobs
ID Job ID Ran Files Coverage
1 33460741432.1 01 Sep 2026 02:01AM UTC 78
46.74
GitHub Action Run
Source Files on build 33460741432
  • Tree
  • List 78
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #773
  • PR Base - main (#33359042395)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc