Skip to content

test(desktop): cover wide XML member counts through the CLI - #10387

Closed
kaoru0822-kitauji wants to merge 2 commits into
mainfrom
fix/8545-desktop-member-counts-c7-01a1d00b
Closed

kaoru0822-kitauji wants to merge 2 commits into
mainfrom
fix/8545-desktop-member-counts-c7-01a1d00b

Conversation

@kaoru0822-kitauji

@kaoru0822-kitauji kaoru0822-kitauji commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Refs #8545. Preserve public CLI coverage for XML member counts with 130,000 children under an intermediate element. The original call-spread failure is already fixed on main by 3ae23bfeff through the shared appendAll owner; this PR now contains only the three CLI regressions, with the duplicate implementation removed.

The small nested, wide flat and wide nested controls check counter classification, retained title edits, complete examined coverage, presentation truncation, caller view policy, and capture provenance.

Validation

Updated with main 97b017c500 in 430347f83a; macOS arm64, Node 24.22.1/npm 11.16.0:

  • npm run test:focused -- tests/boundary/cli/desktopTaskWideMemberCounts.test.ts src/domain/desktop/appTaskDraftCounts.test.ts src/domain/desktop/appTaskDraftNoise.test.ts: 38 passed (3 files).
  • npm run check:fast: passed.
  • npm run verify:test-discovery: all 3,617 files discovered exactly once.
  • Formatting and git diff --check: passed.

The original hosted failure was in unchanged wide-fingerprint tests; main's shared analysis repair 62798fa8b0 is now included. Current-head CI is pending; the old run remains historical evidence, not a pass. No live desktop app or real capture session was run; Windows remains unverified. No runtime, provider, Evidence or installation contract change.

Author readiness

Human owner: @kaoru0822-kitauji

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

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

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-15T10:10:24.997462Z
We couldn’t complete this review. Comment @codex review to try again.
430347f New commits
ℹ️ 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.

@greptile-apps

greptile-apps Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This test-only PR appears safe to merge.

Summary

This PR now adds only public CLI regression coverage. The runtime repair is already on the target branch.

  • Desktop-task tests cover wide nested XML member counts.

Reviews (3) · Last reviewed commit: "chore(desktop): sync main and retain pub..." · Reviewed by Greptile

Copy link
Copy Markdown
Collaborator Author

Author-wide CI sweep found the shared #10381 fixture blocker on this head: run 43463364099, job 132018505697 fails the two old semanticFingerprintAccumulation cases at 30.231 s / 32.032 s against their 30 s deadline. Shard result: 2 failed / 2,407 passed / 42 skipped. These are the reported failures, rather than XML-specific assertions.

Common repair #10384 at ae34c21da30ca05fade01e728242b0b628fdc536 is fully green (21 successful checks / 26 deliberate skips). Its actual Ubuntu shard 3 passes both large cases at 22.753 s / 21.766 s with all regression assertions retained. Please incorporate the common repair into your owned branch, or refresh after it lands on main, and rerun CI before recording this PR as passing. I am leaving your branch untouched to avoid a collision; no unchanged-head retry is claimed.

Copy link
Copy Markdown
Collaborator Author

I am preparing an isolated integration of the green common repair ae34c21 with this exact PR head, using session-owned branch codex/n13-1416-integrate-10387. I will run the affected regressions and provide the resulting ref for your integration. Your published branch remains under your ownership; no push to it is planned.

kaoru0822-kitauji commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator Author

Final evidence for the shared CI repair; your published branch is unchanged.

  • Pinned peer head: 01f59c1c8f117608f6097b095d412f813e3354e4.
  • Historical session-owned integration: codex/n13-1416-integrate-10387 at ea44c41d7c79126230ac51c26b3e499e7bd5ffba, combining your exact feature with the earlier deadline policy. Local Node 24.22.1/npm 11.16.0: 112 tests pass in nine focused local files, including all three XML CLI controls; full static checks and normal hooks pass.
  • Full two-worker desktop/policy qualification completed all six coverage shards and portable reports: 48,888 passed / 290 deliberate skips. All 32 Linux desktop-source cases pass. The three previously failing wide JavaScript cases pass in shard 4. The aggregate gate fails solely because Apple exceeded its existing 15-minute job cap. A new Linux full run of the XML policy merge is not claimed.

The canonical replacement is now #10391 at 82df66d631c69d88d6a30cf2f72cc44fed6fe446, rebased with main’s hosted-runner worker change. Our private compatibility tree matched that head byte-for-byte and passes 20 deadline/config probes in each coverage mode, full static checks, and docs checks. Current-head CI has completed its test executions with two confirmed failures: the source ZIP-model case exceeded 30 seconds, and the DMG recovery CLI child exceeded its separate 30-second harness budget. The aggregate CI job is still queued. The owner has source failure evidence and native DMG measurements; the older full results do not qualify the new worker policy.

#10384 is closed as superseded; #10381 stays open pending a landed replacement. After #10391 lands, refreshing this PR from main keeps its diff independent. The historical helper refs above predate that main update. No peer branch was pushed, duplicate PR opened, or human review attested.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@kaoru0822-kitauji kaoru0822-kitauji changed the title fix(desktop): retain wide XML member counts test(desktop): cover wide XML member counts through the CLI Nov 15, 2026
@morluto morluto added the area: cli CLI adapter and one-shot commands label Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: cli CLI adapter and one-shot commands

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants