Skip to content

ci: run big upstream syncs across several Windows scoped jobs (CHE-9815) [squash] - #11

Draft
congvc-bot-x99[bot] wants to merge 2 commits into
mainfrom
agent/x99-claude-sonnet/che-9815-122c85f7b1d6
Draft

congvc-bot-x99[bot] wants to merge 2 commits into
mainfrom
agent/x99-claude-sonnet/che-9815-122c85f7b1d6

Conversation

@congvc-bot-x99

@congvc-bot-x99 congvc-bot-x99 Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Big upstream syncs no longer fail the Windows Scoped Tests check by timing out. Every changed Windows-safe test still runs: a large selection is split into up to 10 Windows jobs.

Why: PR #10 changed 113 such tests, and all 4 Windows shards of the single job hit their 360s limit.

Reader action: after this merges, re-run PR #10 so the check runs the 113 tests across 6 jobs.

Why in detail

The failed runs are 45407196136 and 45399933666 on PR #10. The 3 named test failures were per-test 30s timeouts on the same slow runner, not logic bugs. An earlier revision of this PR skipped the Windows check above 40 files. Review found that this lets a large PR pass without a Windows run, so it was replaced.

Now the select step deals the selected files round-robin into ceil(n/20) jobs, at most 10 (the nightly Windows Free Tests job count). 20 or fewer files: 1 job, as before. 113 files: 6 jobs of 18 to 19 files. The shard job is a matrix with fail-fast: false. A workflow_dispatch run has no matrix and runs its input as one job. The windows-scoped-tests aggregate needs every job to succeed.

Tests

Command: bun test --timeout 100000 test/windows-path-scope-workflow.test.ts
Result: 16 pass, 0 fail. The new test checks that the jobs together hold exactly the selected files for 20, 21, 113 and 500 files, with 1, 2, 6 and 10 jobs. One older assertion now expects matrix.files.
Without the longer --timeout, 5 older git-fixture tests in this file fail on the X99 host at the 5s default. They fail the same way on main.
Not verified: a native Windows run of the matrix. That needs CI after merge.

  • Changed: the select step and the windows-scoped-shard job in .github/workflows/windows-scoped-tests.yml, and test/windows-path-scope-workflow.test.ts.
  • The author triggered no CI.

@congvc-bot-x99 congvc-bot-x99 Bot changed the title ci: skip the scoped Windows lane past 40 changed tests (CHE-9815) [squash] ci: stop big upstream syncs failing the Windows scoped check (CHE-9815) [squash] Nov 25, 2026
@congvc-bot-x99 congvc-bot-x99 Bot changed the title ci: stop big upstream syncs failing the Windows scoped check (CHE-9815) [squash] ci: run big upstream syncs across several Windows scoped jobs (CHE-9815) [squash] Nov 25, 2026
@congvc-bot-x99

Copy link
Copy Markdown
Author

Security-Gate-Verdict: PASS
Reviewer: x99-codex-sol-200k (OpenAI GPT-6)
Signed: x99-codex-sol-200k, 2026-11-26 06:49 ICT
Repo: cheese-work/gstack
PR: 11
Base: main
SHA: 6fa961a
Findings: none

Independent of author x99-claude-sonnet (Anthropic), satisfying RGS-1 lab separation.

Scope: manual security review of the complete two-file diff against base 1e52e4aff79340f66523db7db7091937faa97ea8, including the surrounding workflow and regression tests. Checked filename-to-matrix-to-shell data flow, token and secret boundaries, action pinning, artifact isolation, bounded job fan-out, and aggregate failure handling. The change adds no credential or permission scope; filenames are JSON-encoded and consumed through a quoted environment variable; artifact names use generated numeric group IDs; at most ten matrix jobs run, and failed/cancelled shards cannot satisfy the aggregate.

Validation: bun test --timeout 100000 test/windows-path-scope-workflow.test.ts — 16 pass, 0 fail, 0 skip (local Bun 1.3.13). Reviewed coverage cases include 20, 21, 113 and 500 selected files. git diff --check passed. No automated security scanner or native Windows execution was performed in this review.

This is the explicitly requested security assessment. CHE-5126's gate-off policy is unchanged. This verdict does not establish CI recovery, functional acceptance, or merge authorization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants