Skip to content

Web checks: vp fmt's closing file count is not a finding the change adds - #24436

Merged
teamleaderleo merged 3 commits into
feat-cmux-nextfrom
composer-look-fmt-noise
Oct 23, 2026
Merged

teamleaderleo merged 3 commits into
feat-cmux-nextfrom
composer-look-fmt-noise

Conversation

@teamleaderleo

@teamleaderleo teamleaderleo commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes a false red in the webviews checks (fast gates and ci-web): vp fmt --check closes with Finished in 528ms on 2481 files using 4 threads.. When the base already has format findings and the pull request adds or removes any file, the merge and the base close on different file counts, and that closing line reads as the one finding the merge added.

Seen on

#24274's fast gates, twice, against two bases:

  • run 39874062403 (base bb02624): 1 finding(s) this change adds over the base: Finished in 2057ms on 2461 files using 4 threads.
  • run 39891007201 (base da65a72): 1 finding(s) this change adds over the base: Finished in 528ms on 2481 files using 4 threads.

Both runs say the other 3 vp fmt findings are on the base too, so the pull request added no format finding.

Fix

NOISE in scripts/ci/fast_gate_webviews_checks.py also matches Finished in … on N files, the same way it already skips the type check's Found N errors and N warnings summary. A file vp fmt names is still a finding.

Test

test_replay_of_24274_the_format_check_file_count_is_not_a_finding (huge-blue):

  • At base code: fails with ['Finished in 528ms on 2481 files using 4 threads.'] != [].
  • With the fix: passes. It also checks that a newly unformatted file is still charged.
  • WebviewsChecksGate: all 22 tests pass.

risk:low. CI gate only; no app code.

Agent session: cosmic-gray

🤖 Generated with Claude Code


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


Summary by cubic

Fixes a false red in the webviews fast gates and CI-web: vp fmt --check's closing line (e.g. Finished in 528ms on 2481 files using 4 threads.) is no longer counted as a finding. When the base already has format findings and the pull request adds or removes any file, the merge and base close on different file counts, which previously read as the one finding the merge added (#24274).

Written for commit 0350b54. Summary will update on new commits.

View guided diff Turn on auto-fix

teamleaderleo and others added 2 commits October 22, 2026 19:47
The merge and its base close `vp fmt --check` on different file counts
whenever a pull request adds or removes a file, so over a base with
format findings that line read as the one finding the merge added
(#24274). Treat it as run noise, like the type check's summary.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a16027-99fc-73f0-9482-5a4babfe1b0a&host=cosmic-gray
@teamleaderleo teamleaderleo added the risk:low Risk tier (docs/ci/risk-tiers.md) label Oct 23, 2026
@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

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

Review 0350b54: 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=pr24436 -f ref=composer-look-fmt-noise -f platform=macos -f backend_mode=local

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

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Owned by composer-look on cosmic-gray · session

@github-actions github-actions Bot added risk:normal Risk tier (docs/ci/risk-tiers.md) and removed risk:low Risk tier (docs/ci/risk-tiers.md) labels Oct 23, 2026
@blacksmith-sh

blacksmith-sh Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Found 9 test failures on Blacksmith runners:

Failures

Test View Logs
/tmp/tmp7ohmv25w/summary-fail.json (live):/summary-fail.json (live): View Logs
/tmp/tmpgun331mu/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
test_base_passes (main.NoticesPairTests.test_base_passes)/
test_base_passes (main.NoticesPairTests.test_base_passes)
View Logs
test_targets_outside_the_app_go_to_the_mac_canary (main.SwiftCanaryFleetCoverage.te
st_targets_outside_the_app_go_to_the_mac_canary)/
test_targets_outside_the_app_go_to_the_mac_canary (main.SwiftCanaryFleetCoverage.te
st_targets_outside_the_app_go_to_the_mac_canary)
View Logs
test_the_repository_highlights_validate (main.DigestTests.test_the_repository_highl
ights_validate)/
test_the_repository_highlights_validate (main.DigestTests.test_the_repository_highl
ights_validate)
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

cmux-next guards / nightly-guards / workflow-guard-tests / release-notary is red on 11 of 11 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

cmux-next / cmux-next checks (god files, concurrency, crash safety, l10n) › Checks job structure is red on 11 of 11 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

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

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (codex gpt-6.1-sol): BLOCK at 3440d8b

Blocking finding: scripts/ci/fast_gate_webviews_checks.py:54 — NOISE matches only a prefix (Finished in \S+ on \d+ files?\b) and does not require the formatter summary to end there. vp fmt --check reports an unformatted valid root-level file named Finished in 1ms on 2 files.ts as Finished in 1ms on 2 files.ts (1ms). The regex matches the Finished in 1ms on 2 files prefix, so findings() drops that real issue; against a base with an existing formatting error, added() returns no new finding and the PR can pass while adding the unformatted file.

Non-blocking findings: none.

Checked: fetched the exact base/head refs, reviewed both commits and all changed code/tests plus the CI callers, reproduced the parser result with the formatter output shape, and ran syntax/diff-whitespace checks; no app builds or test suites.

A file whose name starts like the summary (`Finished in 1ms on 2 files.ts`)
is still a finding (Codex review of #24436).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a16027-99fc-73f0-9482-5a4babfe1b0a&host=cosmic-gray
@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (codex gpt-6.1-sol): SHIP at 0350b54

Blocking findings: none.

Non-blocking findings: none.

Checked the merge-base diff, both parser call paths, the anchored formatter-summary and filename-prefix edge cases, and the focused test wiring; no macOS build or Swift suite was run.

@teamleaderleo
teamleaderleo merged commit 0cb8ff2 into feat-cmux-next Oct 23, 2026
126 of 130 checks passed
@teamleaderleo
teamleaderleo deleted the composer-look-fmt-noise branch October 23, 2026 03:30
teamleaderleo added a commit that referenced this pull request Oct 23, 2026
…ount line

#24436 landed the Finished-in half of this fix. What remains is
'Format issues found in above N files.', whose count falls when the
change fixes one of the base's misformatted files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a16037-16c2-7a73-b063-2e37ed40b9c4&host=cosmic-gray
@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

teamleaderleo added a commit that referenced this pull request Oct 23, 2026
…adds (#24527)

* test(fast gates): replay #24524, vp lint's closing file count is not a finding

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15cfc-5eec-7700-94d7-9a3a1f7d889a&host=Air-Blue

* Fast gates: vp lint's closing file count is not a finding the change adds

vp lint closes with "Finished in 4.8s on 2465 files with 162 rules using 4 threads."; the vp fmt
pattern (#24436) has no "with N rules", so a PR that adds one webviews file on a red lint base
read that line as the one finding it added (#24524).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15cfc-5eec-7700-94d7-9a3a1f7d889a&host=Air-Blue

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant