Skip to content

Verify staging release discovery through CLI canaries - #205

Merged
Pepps233 merged 2 commits into
feat/diffex-version-consumerfrom
feat/staging-version-canaries
Sep 13, 2026
Merged

Pepps233 merged 2 commits into
feat/diffex-version-consumerfrom
feat/staging-version-canaries

Conversation

@Pepps233

@Pepps233 Pepps233 commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Verify the migrated updater through actual staging R2 and Worker responses before distributing the client.

All 21 live source CLI canaries passed, with package execution intercepted and every staging fixture cleaned up.

Reasoning

Controlled response tests alone do not establish that deployed storage and HTTP responses produce the intended CLI behavior.

The canaries reuse the existing isolated source CLI harness, remap only the exact production version URL to the fixed staging endpoint, and allow no other socket destination.

Production authority and public contracts remain unchanged.

Changes

  • Add an opt-in --client-canaries mode to the staging publisher verifier and a manual workflow input.
  • Exercise real terminal startup, missing/newer/equal/older releases, force, offline mode, automatic opt-out, retries, and seven invalid stored-record cases.
  • Assert exact canonical npm install arguments without executing install or uninstall.
  • Record requests, responses, blocked unrelated install telemetry, cleanup, regression results, and the approved local artifact rebuild and scan.

Testing

  • node scripts/verify-release-publication.mjs --staging --client-canaries: all 21 live canaries passed; owned records and shared lock confirmed absent afterward.
  • Focused client baseline: 155 tests passed; changed source CLI test file: 32 tests passed.
  • npm run check and full isolated ./test.sh: passed.
  • Owner-approved npm run build in packages/coding-agent: passed; source and compiled version-check paths contain no old Pi endpoint.
  • actionlint 1.7.12 and cross-repository contract/fixture comparisons: passed.
  • Cloud and isolated Worker quality gates: passed, including 335 Worker tests.

The workflow becomes dispatchable after reaching the default branch.
This validates source clients with simulated installation; it does not claim published-package installation or authorize production activation.

- Verify real R2 and Worker responses through isolated CLI startup and self-update.
- Capture canonical install targets and cleanup evidence before client release.
@Pepps233 Pepps233 added enhancement New feature or request coding-agent labels Sep 11, 2026
@Pepps233 Pepps233 self-assigned this Sep 11, 2026
@Pepps233
Pepps233 added this pull request to stack #200 September 11, 2026 00:33
@Pepps233
Pepps233 merged commit b31d27f into main Sep 13, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

coding-agent enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant