Skip to content

Support anonymous Free package installs - #730

Merged
tolgaergin merged 2 commits into
mainfrom
codex/free-package-distribution
Sep 15, 2026
Merged

tolgaergin merged 2 commits into
mainfrom
codex/free-package-distribution

Conversation

@tolgaergin

@tolgaergin tolgaergin commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Free package installs succeed without a working login, while publishers can still install retained Private history. Package reads skip proactive refresh when public access succeeds. A missing required version or denied LPM read can recover a refreshable stored session once, then retry with the rotated bearer and its metadata cache partition. Explicit, environment, CI, and legacy credentials retain their source-specific behavior. Generic non-LPM-origin tarball reads neither receive the LPM bearer nor trigger its refresh.

Free installs do not produce Pool accounting. Swift setup supports anonymous public resolution with certificate verification. The lockfile updates rustls to 0.23.45 and required cryptographic dependencies for RUSTSEC-2026-0285.

Validation on Rust 1.94.0: workspace build and all-target clippy clean; formatting clean; 6,300 workspace tests, 5,123 serial CLI tests, 97 CLI integration tests, 83 focused Free/Swift/credentials/health workflows passed. Two default-concurrency auth runs each passed 174 tests. Dependency policy passed. Vite/React install readiness passed cold, CI-cold, warm, and up-to-date states. All five expanded localhost publication scenarios passed with the patched CLI and real dev services.

Successful public installs leave expired stored credentials untouched. A range that already matches a public release can select it without discovering newer publisher-only history. Documentation explains explicit historical-version selection. One health deadline test exceeded its wall-clock allowance during simultaneous builds and high-concurrency testing; all focused workflows passed with four test slots.

Current revision daf6ec8d: all 12 configured non-skipped CI checks passed; 6 checks are skipped by the PR workflow.

Independent review: one Daybreak-blue security reviewer and two Astra reviewers for performance and correctness. Across the three PRs: 23 leads, 19 verified and fixed, 4 rejected with evidence, 0 blocked, 0 pending. Final source reviews are clean. The finding ledger is free-package-distribution-review.md.

Related PRs: Registry, CLI, CLI docs.

Generated by OpenAI Codex (GPT-6) using the Codex agent harness.

@tolgaergin
tolgaergin merged commit a1eb3e1 into main Sep 15, 2026
18 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