Skip to content

Retry npm registry verification - #11

Merged
Createitv merged 1 commit into
mainfrom
codex/npm-registry-retry
Oct 13, 2026
Merged

Createitv merged 1 commit into
mainfrom
codex/npm-registry-retry

Conversation

@Createitv

Copy link
Copy Markdown
Owner

问题与结果 / Problem and outcome

NPM accepted and signed v0.3.0, then explicitly reported that the package was still processing. The immediate registry install produced ETARGET even though publication had succeeded. This change waits for the exact version before installation.

改动 / Changes

  • Poll the exact package version for up to five minutes.
  • Install and execute the published package only after it becomes visible.
  • Add a regression check for registry processing delay handling.

兼容性 / Compatibility

  • CLI / REST: None
  • Configuration and credentials: None
  • Output schema: None

验证 / Validation

  • python3 scripts/test_npm_workflow.py: passed (3 tests)
  • make ci: passed, 85.5% Go coverage, web tests/build passed
  • go test -race ./...: passed
  • Live evidence: npm accepted @createitv/agc-cli@0.3.0 with signed provenance, then exposed it after processing delay.

文档与完成条件 / Documentation and completion

  • Focused scope, no unrelated files
  • Behavior change has a regression test
  • CLI and REST not affected
  • Compatibility documented
  • No user-facing documentation change required
  • Relevant checks run and live behavior verified
  • Examples and logs contain no secrets

@Createitv
Createitv merged commit 2d9d4d3 into main Oct 13, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant