Skip to content

Bind Sedna updater to the installed distribution channel - #795

Merged
GraciousGazelles merged 8 commits into
mainfrom
repair/w12401-current-main-updater-port-20260906
Sep 6, 2026
Merged

GraciousGazelles merged 8 commits into
mainfrom
repair/w12401-current-main-updater-port-20260906

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Summary

Successor focused on the updater portion of #632, rebased onto current main.

  • Enforces the Sedna release grammar and strict version ordering for update comparisons.
  • Binds update caches, release links, doctor diagnostics, and update actions to the configured Sedna channel.
  • Restricts automatic updates to Linux x86_64/aarch64 standalone releases while preserving manual Unix/Darwin installation guidance.
  • Adds installer-enforced --require-newer-than protection against same, older, malformed, and cross-channel candidates.
  • Adds an isolated installer harness that mocks release fetching and verifies the lower-bound gate before network access or activation.

Validation

Hosted validation is required and pending for:

  • python3 scripts/install/test_sedna_release_lower_bound.py
  • bash -n scripts/install_sedna_release_asset
  • Focused Rust version, TUI, CLI doctor, and lint checks for the changed updater surfaces.

No local test results are claimed.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-09-06T11:22:46.229458Z cdc921d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the update diagnostics and update mechanisms to align with the Sedna release channel, removing legacy upstream package manager update paths (npm, bun, pnpm, brew) for Sedna builds. Key changes include updating the doctor check, TUI update prompts, and caching mechanisms to validate Sedna release identities, as well as adding a --require-newer-than lower-bound gate to the standalone installer script. The review feedback highlights several improvement opportunities: removing an unused import in updates.rs, simplifying identical match arms in updates_cache.rs, refactoring an unidiomatic nested match in update_action.rs, and cleaning up dead/potentially buggy track comparison logic in the installer's inline Python script.

Comment thread codex-rs/cli/src/doctor/updates.rs Resolved
Comment thread codex-rs/tui/src/updates_cache.rs Resolved
Comment thread codex-rs/tui/src/update_action.rs Resolved
Comment thread scripts/install_sedna_release_asset Resolved
@GraciousGazelles

Copy link
Copy Markdown
Collaborator Author

Hosted validation is bound to commit cdc921d4fbccd36b8f286768cf0706208ce1dda6. Standard PR checks are running, including Rust/CLI/TUI planning and lint coverage. A targeted validation-lab run was also dispatched for the existing release smoke and argument-comment lint lanes: https://github.com/sednalabs/codex/actions/runs/34029896608. The focused installer harness is not represented by an existing named validation lane, so its exact hosted command remains pending rather than being reported as green.

@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 6, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 6, 2026
@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 6, 2026
Merged via the queue into main with commit 76145a1 Sep 6, 2026
111 checks passed
@GraciousGazelles
GraciousGazelles deleted the repair/w12401-current-main-updater-port-20260906 branch September 6, 2026 23:30
sedna-release-publisher Bot pushed a commit that referenced this pull request Sep 15, 2026
* fix: bind Sedna updater to release channel

* fix: close Sedna lower-bound channel gap

* ci: add Sedna installer contract lane

* ci: reconcile installer lane planner fixtures

* fix: satisfy updater hosted format and lint checks

* fix: annotate updater arguments for lint

* fix: close remaining updater clippy findings

* test(tui): refresh updater history snapshot
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