Skip to content

ci: classic API guard on feat-cmux-next (warns only) - #35126

Merged
teamleaderleo merged 4 commits into
feat-cmux-nextfrom
lane/classic-api-guard-next
Nov 4, 2026
Merged

teamleaderleo merged 4 commits into
feat-cmux-nextfrom
lane/classic-api-guard-next

Conversation

@teamleaderleo

Copy link
Copy Markdown
Collaborator

Summary

The feat-cmux-next copy of #35081's classic API guard. Leo, 2026-11-04: "apparently the api if we change it it'll auto deploy so we wanna make extra sure we dont change it for clasisc".

Into feat-cmux-next the check only warns. This branch deploys nothing classic: its merge-base with main is 2026-10-19 and nothing merges or syncs one into the other. The warning keeps such changes visible in case the branches are merged for a release. The files are identical to #35081's head (53026e9); the test is registered in tests/test-execution.toml and run from ci-guards.yml.

Testing

python3 tests/test_classic_api_guard.py (13 OK), test_ci_warm_sources.py, test_ci_label_events_skip_full_ci.py, test_ci_runs_on_values.py and validate_test_execution_registry.py --base-sha origin/feat-cmux-next: all pass locally.

Observed / Not run

Observed: the tests above. Not run: a live PR event.

Changelog

none

Agent session: agent session

The same check as on main (#35081): a feat-cmux-next PR that changes a path
classic auto-deploys from main gets a warning, since feat-cmux-next deploys
nothing classic.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: https://cmux.com/deeplink/agent?id=aid-fb75b7af9902231028aa
@github-actions github-actions Bot added the risk:normal Risk tier (docs/ci/risk-tiers.md) label Nov 4, 2026
@blacksmith-sh

blacksmith-sh Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Found 6 test failures on Blacksmith runners:

Failures

Test View Logs
/tmp/tmp_u7y5gnw/summary-missing.json (live):/summary-missing.json (live): View Logs
/tmp/tmpfmtqe33_/summary-fail.json (live):/summary-fail.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.

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

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

Review 7460c20: 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=pr35126 -f ref=lane/classic-api-guard-next -f platform=macos -f backend_mode=local

web and size checks: green

Shipped in:

@github-actions github-actions Bot added risk:high Risk tier (docs/ci/risk-tiers.md) and removed risk:normal Risk tier (docs/ci/risk-tiers.md) labels Nov 4, 2026
@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (subagent, opus medium, correctness): SHIP at f4c0dde

Visual verdict: unchanged by this diff (no UI).

Checked the rename of the deploy map to scripts/ci/ (every reference updated), the guard test, actionlint, and the runner and registry guard tests (the RUNNER_POOLS runs-on fixes test_ci_linux_single_size). The remaining test_ci_* reds name other workflows and are red on base.

Follow-ups: #35120 (rename-aware truncation count; required check).

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (codex, router-review): SHIP at 7460c20

Reviewer: codex gpt-6-astra high, fast tier.

Follow-ups: 2. They land as checklist items in this PR's one follow-up tracking issue in this repo (Follow-ups: #N ..., label follow-up; add to an open one before filing, never one issue per finding), linking this receipt; the lane that opened the PR fixes them forward.

SHIP at 7460c20
Visual verdict: no images; Leo tries the build

  1. [P2] [follow-up] [category:correctness] [finding:F1] [outcome:pending] scripts/ci/classic_api_guard.py:88: Count API file records separately from rename paths. With 3,001 changed files, GitHub returns 3,000 records; one rename supplies an extra path, hiding truncation. Reproduced: both branches report no classic API changes even when the omitted record could be guarded. Add a truncation test containing renames.

  2. [P2] [follow-up] [category:correctness] [finding:F2] [outcome:pending] scripts/ci/classic-auto-deploy.json:23: Include web/data/model-catalog/snapshot.json among guarded API inputs. web/services/model-catalog/store.ts loads it for /api/models/v1 and /api/agent-models, but changing it currently produces no warning. Add coverage for this production data dependency.

Follow-ups:

  • F1: Preserve the returned file-record count when expanding renames.
  • F2: Guard the model-catalog snapshot.

@teamleaderleo teamleaderleo removed the risk:high Risk tier (docs/ci/risk-tiers.md) label Nov 4, 2026
@github-actions github-actions Bot added the risk:high Risk tier (docs/ci/risk-tiers.md) label Nov 4, 2026

@cmux-bot cmux-bot 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.

cmux-bot approves 7460c20: an independent review passed this exact head (router-review receipt by teamleaderleo). A push needs a new review; a later BLOCK at this head dismisses this approval.

This branch was previously deployed

1 inactive deployment
ci-routing-agent — 7460c209 Deployed Nov 4, 2026 by teamleaderleo via cmux-tui tree preflight #110751
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