Repository navigation
TEST: Use the shared watchdog for compose provenance - #4848
Open
Richard Lundeen (richlundeen) wants to merge 1 commit into
Open
Richard Lundeen (richlundeen) wants to merge 1 commit into
Richard Lundeen (richlundeen) wants to merge 1 commit into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟢 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
TEST_WATCHDOG_SECONDS; leave the finite shared watchdog unchanged.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.