Skip to content

test(gemini): repair genuine Windows descriptor-injection audit cases - #1035

Closed
777genius wants to merge 1 commit into
mainfrom
fix/gemini-windows-audit-descriptor-injection-20261120
Closed

777genius wants to merge 1 commit into
mainfrom
fix/gemini-windows-audit-descriptor-injection-20261120

Conversation

@777genius

Copy link
Copy Markdown
Owner

Summary

Fix two real Windows Gemini safety-audit test harness failures without relaxing the source verifier or changing production behavior. The failures on #1025 Core fast run 44737699133, job 136293155705, arose from fault injection during snapshot() rather than the intended held-descriptor checkpoint().

Reuse only the two targeted test-method corrections already present in #931 (test_same_bytes_swapped_during_the_real_os_read_are_refused, test_descriptor_transfer_failure_closes_only_its_untransferred_handle). Construct the independent legitimate phase snapshot first, then inject the read/open-file-handle error solely across the native held descriptor checkpoint. Still require same exact negative refusals, closed handles, no adopting swapped files.

Verification

  • Existing #931 exact head 7425a275 Core fast 44672862899 — gemini-observer-windows SUCCESS with these method bodies (different source head; supporting evidence only)
  • This PR exact source Windows Gemini audit and Core/Required — pending
  • Review of only two method changes and no production change
  • Merge with expected HEAD after PASS; postmerge Required and relevant Windows verification

Release Impact

No production source, architecture, public API, safety gate, documentation or release-publish change. This small test-only follow-up addresses an unrelated genuine cross-OS Core fast failure blocking postmerge Copilot lint repair #1025. Do not conflate with independent Windsurf native cache #1012.

@coderabbitai

coderabbitai Bot commented Nov 20, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 52 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 7074e68 and 8fef606.

Files selected for processing: 1

  • scripts/test_gemini_windows_runtime_audit.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@777genius 777genius added the ci:full Run the full PR CI on a draft; stays on for later pushes until the label is removed label Nov 20, 2026 — with ChatGPT Codex Connector
777genius added a commit that referenced this pull request Nov 20, 2026
… regressions

Integrate the independently isolated test-only fixes from #1034 and #1035 on top of the current-main Required complexity repair. Keep both strict client validators, all negative/refusal cases, and every native CI gate unchanged.

Copy link
Copy Markdown
Owner Author

Superseded by the tested integrated source (not a merged PR)

The entire exact source blob from this one-file Draft PR has been preserved unchanged in the larger postmerge Copilot E2E repair #1025, now HEAD 74d15177. The source file scripts/test_gemini_windows_runtime_audit.py in that integrated head has the same Git blob SHA f74fbb3264e665a114847ab27d06fb3293e48020 as this PR, without manual copy drift.

To avoid duplicate GitHub Actions queues and duplicate merges, this auxiliary Draft is being closed as superseded, not merged. #1025 now owns the combined four-file exact-source Required/Core fast/Project Native Runtime qualification and must remain draft until genuine successful checks, review, safe merge and postmerge evidence. Closing this auxiliary PR does not constitute a PASS or release.

@777genius 777genius closed this Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:full Run the full PR CI on a draft; stays on for later pushes until the label is removed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant