Skip to content

TEST: Use the shared watchdog for compose provenance - #4848

Open
Richard Lundeen (richlundeen) wants to merge 1 commit into
microsoft:mainfrom
richlundeen:fix-compose-watchdog-20261204
Open

Richard Lundeen (richlundeen) wants to merge 1 commit into
microsoft:mainfrom
richlundeen:fix-compose-watchdog-20261204

Conversation

@richlundeen

Copy link
Copy Markdown
Contributor

Description

Use the existing shared correctness watchdog for the Docker documentation provenance test, completing the caller alignment started in #3491. Its private 30-second guard expired before the provenance assertions in a Windows Python 3.14 merge-group job; the underlying native-process stall remains undetermined.

  • Replace only this caller's hang backstop with the already-imported TEST_WATCHDOG_SECONDS; leave the finite shared watchdog unchanged.
  • Preserve real native Bash execution of both documentation snippets, the child-shell export check, all eight clean/dirty/untracked/Git-error cases, and every existing assertion.

This is a separate test-harness repair; #4808's source is unchanged. It does not introduce a new performance budget, retries, skips, workflow changes, or a claim to resolve every native-process hang.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings December 4, 2026 23:07

Copilot AI 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.

🟢 Approval recommended

No active review issues were identified for the change aligning the Docker provenance test with the shared watchdog.

No open issues 🎉

What changed in this PR

Aligns the Docker documentation provenance test with PyRIT’s shared correctness watchdog, completing the caller alignment started in #3491.

Changes:

  • Replaces the private 30-second subprocess timeout with TEST_WATCHDOG_SECONDS.
  • Preserves native Bash execution, all eight cases, and existing assertions.
File Description
tests/​unit/​infra/​test_code_deployment.py Uses the shared watchdog for the compose provenance subprocess.

Review effort: Balanced

This branch has not been deployed

No deployments
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.

2 participants