Skip to content

Remove the RC2 registry startup race - #55

Merged
Hyper66666 merged 1 commit into
mainfrom
codex/v0-2-release-sequence
Jul 26, 2026
Merged

Remove the RC2 registry startup race#55
Hyper66666 merged 1 commit into
mainfrom
codex/v0-2-release-sequence

Conversation

@Hyper66666

Copy link
Copy Markdown
Owner

Summary

  • wait for the reference registry's post-bind readiness line before publish tests continue
  • surface registry child-process stderr in CI
  • keep the fix test-only so the consecutive release-candidate Stable surface remains unchanged

Evidence

  • cargo fmt --all -- --checkn- cargo test -p sgpm reference_registry -- --nocapturen- cargo test -p sgpm -- --test-threads=1n- cargo clippy -p sgpm --all-targets -- -D warningsn

Release context

This addresses the macOS arm64 failure in run 30186249172 without changing public language, stdlib, CLI, manifest, diagnostic, protocol, or runtime ABI behavior.

The macOS arm64 release host can start the publish test quickly enough to connect before the reference-registry subprocess binds. Treat the server's post-bind listening line as the test readiness contract and expose child failures in the test log.

Constraint: The reference registry counts accepted connections against max-requests, so socket probing would consume test traffic.

Rejected: Retry production package uploads | This is a test orchestration race and changing client semantics would mask startup failures.

Confidence: high

Scope-risk: narrow

Directive: Keep the listening line emitted only after a successful bind, or update this test readiness contract atomically.

Tested: cargo fmt --all -- --check; cargo test -p sgpm reference_registry; cargo test -p sgpm -- --test-threads=1; cargo clippy -p sgpm --all-targets -- -D warnings

Not-tested: macOS arm64 locally; the release-host matrix will provide that evidence.

Co-authored-by: OmX <omx@oh-my-codex.dev>
@Hyper66666
Hyper66666 merged commit 6f9475d into main Jul 26, 2026
1 of 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