Skip to content

ci(windows): run process-ownership, timed-capture and LSP initialize controls in the advisory subset (#3803) - #9471

Merged
EffortlessSteven merged 7 commits into
mainfrom
claude/windows-subset-process-controls
Oct 22, 2026
Merged

EffortlessSteven merged 7 commits into
mainfrom
claude/windows-subset-process-controls

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Plan item: #3807 audit, native Windows proof for #9295
Governing issue or accepted claim: #3803 (own bounded subprocess trees with Job Objects), #3802
Acceptance delta (one sentence): The 45-minute Windows advisory subset job natively runs the process_owner tests, the xtask timed-capture tests and the LSP poisoned-initialize test, so the Windows-gated controls get a receipt that fits the lane's limit.

Summary

The only native Windows proof for these controls was the full windows-advisory suite, which ran 90 minutes and was cancelled on #9295's head, so #9295's tightened xtask timeout assertion has no Windows receipt. This adds three steps to windows-advisory-subset (cargo test -p ripr --lib process_owner::tests, cargo test -p xtask capture_output_with, cargo test -p ripr --lib initialize_surfaces_poisoned), adds them to the verdict summary, the missing-evidence check, the zero-test check and the artifact upload. Outcomes stay advisory; a missing log/status or a filter that runs no test fails the job.

Proof

cargo xtask check-workflows passes locally. The subset job on this head is the native proof; its result will be posted here.


Generated by Claude Code

…controls in the advisory subset (#3803)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FrVWuPEQjhYo674kxG7wdc
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 22, 2026 04:40
@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 49 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 99 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 65da3fe8-ff2f-458b-b941-7295c6e48e7b
📥 Commits

Reviewing files that changed from the base of the PR and between f023128 and 9db962a.

📒 Files selected for processing: 6
  • .github/workflows/windows-advisory.yml
  • changelog.d/3803-windows-subset-process-controls.md
  • changelog.d/9339-windows-atomic-file-test-import.md
  • crates/ripr/src/atomic_file.rs
  • crates/ripr/src/cli/commands/pr_comments_github.rs
  • docs/CI.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 2 potential issues.

Devin Review

Comment thread .github/workflows/windows-advisory.yml Resolved
Comment thread .github/workflows/windows-advisory.yml Resolved
…document the new subset steps (#3803)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FrVWuPEQjhYo674kxG7wdc

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refuted

  • The documentation still omits the three added controls.; refuted because: docs/CI.md now explicitly inventories process-owner, xtask timed-capture, and LSP poisoned-initialize controls.
  • The documentation and artifact/verdict boundaries were left incomplete after adding three controls.; refuted because: The current diff updates docs/CI.md and propagates all three labels through summary generation, evidence validation, zero-test checks, and artifact upload.

Evidence gaps

  • Native Windows execution of the expanded subset is claimed but not yet established by the supplied receipts.
  • Native Windows red/green proof of the newly selected filters is still unavailable; cargo-test is only scheduled and actionlint failed.
  • Advisory native-Windows behavior and workflow hardening lack completed receipts in the available packet.
  • Model proof intent was rejected by deterministic validation.

…form so ripr lib tests build on Windows (#9339)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FrVWuPEQjhYo674kxG7wdc

Copy link
Copy Markdown
Member Author

First native run of the expanded subset (run 39723987552, head 26b0ce4, 21 min):

  • xtask timed capture: PASS on Windows. capture_output_with_timeout_terminates_pipe_inheriting_descendants ... ok (4 tests ran), so fix(process): run verify-execute child under the shared owner (#3803) #9295's tightened assertion now has its native receipt.
  • Process-owner and LSP steps could not run: real Windows defect on main. cargo test -p ripr --lib fails to compile on Windows (ensure_default_output_contained_with not found at atomic_file.rs:1040). fix(output): symlink-safe advisory writes and full default-output guard (#4360, #7781) #9339 added a platform-independent test that uses an import still gated to unix. The same compile error is why the gap-artifacts, Cargo-home and clippy steps (all FAIL, exit 101) were red.
  • Fix pushed in this PR (unconditional import, passes cargo test -p ripr --lib atomic_file on Linux, changelog fragment added), because the proof lane cannot run without it. Re-running the subset on the new head.

Generated by Claude Code

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decision

  • Needs reviewer attention before upstream: findings remain.

Confirmed findings

  • The PR claims native Windows receipts for the expanded subset, but the available packet contains no completed cargo-test or Windows run receipt; actionlint and ripr are failed and zizmor is missing.

Refuted

  • The source change is only a Unix import cleanup and does not affect Windows test routes.; refuted because: The imported function is called by a platform-independent enumeration test, so removing the cfg gate is required for Windows library-test compilation.
  • Adding three workflow controls created an incomplete or duplicated evidence contract.; refuted because: All three labels are consistently included in run, summary, missing-evidence, zero-test, and artifact-upload boundaries; the duplicated loop membership is required by existing workflow structure.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.
  • The current packet does not establish that all expanded controls pass natively on the exact head.

…y passes

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FrVWuPEQjhYo674kxG7wdc

Copy link
Copy Markdown
Member Author

Native Windows receipts on head 01607c9 (job 119654012164, subset run, ~25 min):

  • process_owner::tests: 9/9 pass, including terminate_tree_kills_pipe_inheriting_descendants, terminate_tree_after_primary_exit_kills_descendants, owner_drop_kills_descendants_after_the_primary_exits and terminate_tree_leaves_unrelated_processes_alive.
  • xtask capture_output_with*: 4/4 pass, including capture_output_with_timeout_terminates_pipe_inheriting_descendants with fix(process): run verify-execute child under the shared owner (#3803) #9295's new output truncated assertion.
  • LSP: initialize_surfaces_poisoned_client_features_store_as_a_session_failure and poisoned_initialize_failure_commit_survives_a_wedged_client_channel both pass.
  • Gap-artifacts, Cargo-home identity and cache-warning steps pass once the lib tests compile.
  • Two other steps fail natively, both pre-existing and masked until now: clippy (store_raw_copy unused import on Windows, fixed in b260fa4) and the selector-literal replay (filed as Windows subset: selector-literal replay fails with "printed command lost frozen root/diff/JSON scope" #9516).

The earlier bot claim that "actionlint and ripr failed" does not match the check runs on this head. Re-labelled for the final head b260fa4.


Generated by Claude Code

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decision

  • Needs verification checks before upstream.

Verification questions

  • Confirm zero-test count for new subset steps uses substring parsed by AWK over a piped tee log; the parser also divides by 0, producing spurious 'executed=0' without surfacing the real cause.
  • Confirm the 'subset-process-owner' label is missing from the zero-test execution-count loop even though it was added to the evidence-existence and verdict loops, so a green-by-coincidence process-owner run is not caught.

Refuted

  • The import edits do not affect Windows compilation because they are only test cleanup.; refuted because: ensure_default_output_contained_with is called by a platform-independent enumeration test, while store_raw_copy is cfg-gated to its Unix-only caller; these edits address real Windows build failures.
  • The workflow adds duplicated labels with an incomplete evidence contract.; refuted because: The duplicated membership is required by the separate summary, required-file, zero-test, and artifact-upload boundaries; each added label is present in the relevant changed loops.
  • The source changes alter runtime behavior rather than only fixing platform-specific test compilation.; refuted because: Both edits are confined to cfg attributes on imports within test modules; no production path is changed.

Evidence gaps

  • Native pass evidence in the thread is not tied to the exact final head described by the available packet.
  • Model proof intent was rejected by deterministic validation.
  • The packet does not independently establish the claimed native Windows results on the exact current head.
  • Exact-head native Windows completion remains unproven by the supplied packet: ripr/actionlint failed, zizmor is missing, and cargo-test is scheduled rather than received.

Copy link
Copy Markdown
Member Author

Review of record, head 9db962a

Angles inspected on the exact head:

Findings: none blocking. Required CI (Ripr Rust Small Result) and every other non-skipped check are green on this head.


Generated by Claude Code

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants