Repository navigation
test(stack): wait on podman container removal instead of its rotating event log - #7091
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🤖 AI Review
Reconciled both review inputs and confirmed one minor test-reliability finding. Podman's wait condition does not reliably establish completed removal. Runtime tests could not run in the read-only environment.
Findings
| Severity | Location | Category | Sources | Claim |
|---|---|---|---|---|
| 🟡 MINOR | packages/stack/tests/engine-events.ts:31 |
test-reliability |
claude | Waiting for Podman's removing state does not guarantee that the container is absent before the helper succeeds. On CI's Podman 4.9, disappearance between status polls can also produce a wait error despite --ignore, causing the sweep test to fail during successful cleanup. |
Stats
Claude findings: 1 · Codex findings: 0 · Confirmed: 1 · Refuted: 0 · Uncertain: 0
Models: claude-opus-5-5 + gpt-6.1-sol · Trigger: auto · Workflow run
This review runs once per PR. A maintainer can request another with a /ai-review comment.
Prashansa-K
reviewed
Oct 12, 2026
Prashansa-K
approved these changes
Oct 12, 2026
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.
TL;DR
stops the Podman sweep integration test from timing out with
The next owner did not sweep orphans.whats broken?
the test waits for each swept container's
removeevent frompodman events --since …. On CI, Podman logs events to a shared file that it rotates when it reaches its size limit. A reader that hasn't polled an event yet when the log rotates skips it, so the wait never completes and the test hits its 1 minute timeout. Parallel Podman test files fill that log quickly, so this happens occasionally in the Podman integration job.now fixed by:
podman wait --condition removing --ignore, which also returns for a container that is already gone. Docker keeps its event stream, which is not affected.podman wait <container>instead of itsdiedevent, which the same rotation can drop.ref: