Repository navigation
SCA-256: gate Windows releases on live update-feed route - #10883
Git-on-my-level merged 6 commits into
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: da19418fd1
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
da19418 to
1bf76fa
Compare
Windows builds since #10610 fail closed without /v2/desktop/update-feed/windows. Probe production before tagging so a missing backend deploy cannot mint another broken auto-update cohort. Failure-Class: new Co-authored-by: Cursor <[email protected]> Co-authored-by: multica-agent <[email protected]>
macOS /bin/bash rejects ${var,,}, which aborted local pre-push after #10825
when sourcing the dev-harness python resolver.
Failure-Class: none
Co-authored-by: Cursor <[email protected]>
Co-authored-by: multica-agent <[email protected]>
6b1ffe9 to
cd997c0
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cd997c08c3
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Address trusted Codex review feedback on #10883: P1: Probe both beta AND stable channels before tagging. The backend's default channel is 'stable' and it deliberately does not fall stable through to beta. A beta-only probe could pass while stable 404s, shipping a broken default cohort (fresh installs, un-toggled settings). P2: Add workflow_dispatch input 'bypass_update_feed_probe_reason' so a transient probe failure (broken probe, GitHub runner cannot reach api.omi.me) does not indefinitely block Windows hotfixes. Requires a non-empty reason tracked in the run log for audit. Tests: python3 .github/scripts/test_probe_windows_update_feed.py (10 passed, +2)
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3bd3815555
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Address trusted Codex review feedback on the break-glass bypass: P2 (3696557682): Any nonempty value (including whitespace or an arbitrary word) previously skipped the probe. Now require the literal sentinel 'I ACKNOWLEDGE THE ROUTE IS REQUIRED' to be present in the bypass_update_feed_probe_reason input. An empty or arbitrary value runs the probe. P2 (3696557685): The bypass reason was interpolated directly into the bash script body, allowing command injection when the input contained shell syntax ($(...), backticks, quotes) in a checkout with contents:write. Bind it to the BYPASS_REASON env var and print the quoted variable so operator-supplied audit text stays data.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9b299ec350
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Address trusted Codex review feedback (3696581197): P2: When build-and-publish fails and is retried (re-run failed jobs), GitHub Actions reuses the cached plan-and-tag outputs and does not re-execute the probe that ran there. Add a re-probe step in the build-and-publish job (after checkout, before build) so a backend rollback between tagging and publishing cannot mint a broken cohort. Respects the same break-glass sentinel as the plan-and-tag probe.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 393e5926e8
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Address trusted Codex review feedback (P1, 3696606779): On windows-latest the interpreter is 'python', not 'python3', and no Python setup existed before the re-probe step. The plan job would tag, then build-and-publish would fail with 'python3: command not found'. Add actions/setup-python@v6 and invoke 'python', matching the windows-preflight-portability.yml pattern.
|
Monitor review-fix pass — addressed all 6 trusted Codex threads on the Windows update-feed deploy gate.
Tests: |
|
Resolved all 6 Codex review threads — the code fixes from the prior pass were already live at the PR head ( Quick re-verification against the current workflow before resolving:
All checks: pass. |
Summary
/v2/desktop/update-feed/windows(merged in fix(desktop-windows): scope updater feeds to Windows releases #10610) while Windows clients fail closed without it.desktop_windows_release.ymlon a production probe of that route before tagging, so a missing backend deploy cannot mint another broken cohort.FC-ship-before-required-routeand document the deploy-before-ship contract.--check-idsupport inrun_checks.pyand the Windows portability manifest checks that fix(ci): make Windows preflight path-safe #10825 dropped whilewindows-preflight-portability.ymlstill depends on them (fixes Native Windows process and launcher contracts).Closes SCA-256
Test plan
python3 .github/scripts/test_probe_windows_update_feed.py(8 passed)python3 .github/scripts/test_run_checks.py(40 passed)python3 .github/scripts/run_checks.py --lane ci --base HEAD --head HEAD --platform windows --check-id check-manifest-contract --listFailure class
Failure-Class: new
Product invariants
None matched by path globs for this change.