Skip to content

ci(nightly-next): recover stale feeds beside older builds - #25943

Merged
teamleaderleo merged 5 commits into
feat-cmux-nextfrom
lane/nx-freshness
Oct 30, 2026
Merged

teamleaderleo merged 5 commits into
feat-cmux-nextfrom
lane/nx-freshness

Conversation

@teamleaderleo

@teamleaderleo teamleaderleo commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

The NEXT feed watcher now checks every five minutes and keeps the 25-minute recovery threshold below the 30-minute freshness bound. When the feed is stale, an older nightly build no longer suppresses the newest candidate; only an active promotion request or a nightly already building that exact tip blocks the automatic tick. The tick continues to use request-nightly-next.sh's shared tree-ready check, so stale or unpublished candidates are skipped.

Validation:

  • python3 tests/test_nightly_next_feed_watch.py
  • bash scripts/cmux-next/tests/request-nightly-next.test.sh
  • git diff --check

No hand promotion, dispatch, cancellation, or nightly.yml changes are included.

Agent-Session: https://cmux.com/deeplink/agent?id=aid-f67d84e355a5bb96dc66


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@cursor

cursor Bot commented Oct 27, 2026

Copy link
Copy Markdown

Bugbot needs on-demand usage enabled

Bugbot uses usage-based billing for this team and requires on-demand usage to be enabled.

A team admin can enable on-demand usage in the Cursor dashboard.

@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

cmux status (one comment, edited in place; each line is updated by the job that owns it)

Review 284f87b: HQ feed card · gallery before/after runs · checks

App of this head (app.zip, kept 1 day)

gh workflow run reload-build.yml -R manaflow-ai/cmux --ref feat-cmux-next -f tag=pr25943 -f ref=lane/nx-freshness -f platform=macos -f backend_mode=local

red: cmux-next checks (god files, concurrency, crash safety, l10n); no finished base run on 48609a3 to compare; do not merge until green; see lane-rules

@github-actions github-actions Bot added the risk:high Risk tier (docs/ci/risk-tiers.md) label Oct 27, 2026
@blacksmith-sh

blacksmith-sh Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Found 7 test failures on Blacksmith runners:

Failures

Test View Logs
--from must install a complete prebuilt tree/
--from must install a complete prebuilt tree
View Logs
/tmp/tmp0rnwvrbh/summary-fail.json (live):/summary-fail.json (live): View Logs
/tmp/tmpv4oe4gwf/summary-missing.json (live):/summary-missing.json (live): View Logs
[new_workspaces] debug.new_workspace timed 0 of 50 new workspace rows/
[new_workspaces] debug.new_workspace timed 0 of 50 new workspace rows
View Logs
[new_workspaces] the window draws no frames/[new_workspaces] the window draws no frames View Logs
[tabs] debug.tab_switch timed 0 of 40 switches/
[tabs] debug.tab_switch timed 0 of 40 switches
View Logs
[tabs] the window draws no frames/[tabs] the window draws no frames View Logs

Fix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Bead cx-n1sak created for this PR by the cmux coordinator.

@cursor

cursor Bot commented Oct 27, 2026

Copy link
Copy Markdown

Bugbot needs on-demand usage enabled

Bugbot uses usage-based billing for this team and requires on-demand usage to be enabled.

A team admin can enable on-demand usage in the Cursor dashboard.

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (codex gpt-6-astra xhigh, next-review): BLOCK at dafb3fb

  • scripts/ci/nightly_next_feed_watch.py:229: The promotion-only filter also applies to classic NIGHTLY recovery, which calls this helper with branch="main". It now ignores active classic builds, including builds of the same SHA and the publishing schedule. While the classic feed is stale, each five-minute check can dispatch another duplicate build. Reproduced with active manual, scheduled, and push runs. Restrict this filter to NEXT recovery so classic retains its active-build guard.

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

cmux-next guards / nightly-guards / workflow-guard-tests / release-notary is red on 12 of 15 fresh feat-cmux-next PR heads in the last 2:00:00, so it is most likely a base red, not this PR's. The base-reds lane has it; a base merge picks up the fix once it lands.

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Orphaned: no activity for 13 h, and no lane holds a lease on it. Adopted by the orphan sweep: merged feat-cmux-next in at 555a2a5. A later pass queues it for the merge hub if it is reviewed, small and red only on base reds.

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Owned by an agent session · session

@cursor

cursor Bot commented Oct 29, 2026

Copy link
Copy Markdown

Bugbot needs on-demand usage enabled

Bugbot uses usage-based billing for this team and requires on-demand usage to be enabled.

A team admin can enable on-demand usage in the Cursor dashboard.

…publishing nightly

Only the NEXT guard ignores ordinary main nightly.yml builds; the classic guard
dispatches nightly.yml itself, so any active publishing run must block it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: https://cmux.com/deeplink/agent?id=aid-1cbee5d64df6fedeb009
@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (codex gpt-6-astra high fast, review-router; drain-ci): SHIP at 284f87b

No actionable findings. Read the full diff and all changed files; 24 self-contained tests passed. Related unchanged workflows were not available to the reviewer, so their integration behaviour was not checked.

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (codex-review-box/gpt-6-astra high, lane-place): SHIP at c9cf8b5

SHIP

No actionable findings. All 26 tests in tests/test_nightly_next_feed_watch.py passed.

@teamleaderleo teamleaderleo removed the risk:high Risk tier (docs/ci/risk-tiers.md) label Oct 30, 2026
@teamleaderleo
teamleaderleo merged commit e335503 into feat-cmux-next Oct 30, 2026
161 of 164 checks passed
@teamleaderleo
teamleaderleo deleted the lane/nx-freshness branch October 30, 2026 03:20
@github-actions github-actions Bot added the risk:high Risk tier (docs/ci/risk-tiers.md) label Oct 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

The feat-cmux-next push run https://github.com/manaflow-ai/cmux/actions/runs/40996783609 at e335503 failed: cmux-next checks (god files, concurrency, crash safety, l10n).
Those jobs last passed at b48588c. This pull request is one of 3 merged since: #27578, #27639, #25943.
If the failure is in your change, fix forward on feat-cmux-next. Pull requests run only the tiers their paths reach (docs/ci/cmux-next-tiers.md); label a batch PR full-ci to run them all before merging.

@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

This branch was previously deployed

1 inactive deployment
ci-routing-agent — c9cf8b5b Deployed Oct 30, 2026 by teamleaderleo via wait for same-key tree publisher #79805
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:high Risk tier (docs/ci/risk-tiers.md)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant