Skip to content

test(container): stop the last two engine tests reporting on the runner - #25

Merged
tgiap04 merged 1 commit into
developfrom
main
Aug 28, 2026
Merged

test(container): stop the last two engine tests reporting on the runner#25
tgiap04 merged 1 commit into
developfrom
main

Conversation

@tgiap04

@tgiap04 tgiap04 commented Aug 28, 2026

Copy link
Copy Markdown
Owner

real_docker_satisfies_the_shared_suite and
kubernetes_satisfies_the_shared_suite hit nextest's 60-second timeout on Windows CI:

4642 tests run: 4640 passed, 2 timed out, 23 skipped

The same commit passed the push run and failed the pull-request run, which is the shape of a result that depends on the machine rather than the code.

An earlier pass ignored three engine tests and stopped there, because those were the three that had been seen to hang. These two were missed for a reason worth recording: their own doc comments said the backend "answers" EngineMissing/NotConfigured when the engine is absent. That is true only where the CLI is absent too. Where the CLI is installed and the daemon is not -- Windows CI -- the command waits, and the early return the comment promised is never reached. Both comments now say so.

The remaining tests were audited rather than assumed: of the 18 that build a real backend, 16 either only ask it for metadata or point it at a program chosen to be absent (zode-no-such-engine, false), so they answer without touching an engine. acting_on_a_pod_refuses_and_explains refuses from an empty supported_actions before any spawn, and kubernetes_offers_no_prune_ at_all returns None outright. These two were the only ones left that actually invoke one.

Verified both ways: cargo nextest run -p container is 56 passed / 8 skipped, and --run-ignored all runs them green on a machine with a live daemon -- they are deferred, not broken.

Self-Review Checklist:

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments
  • The content is consistent with the UI/UX checklist
  • Tests cover the new/changed behavior
  • Performance impact has been considered and is acceptable

Closes #ISSUE

Release Notes:

  • N/A or Added/Fixed/Improved ...

`real_docker_satisfies_the_shared_suite` and
`kubernetes_satisfies_the_shared_suite` hit nextest's 60-second timeout on
Windows CI:

    4642 tests run: 4640 passed, 2 timed out, 23 skipped

The same commit passed the push run and failed the pull-request run, which
is the shape of a result that depends on the machine rather than the code.

An earlier pass ignored three engine tests and stopped there, because those
were the three that had been seen to hang. These two were missed for a
reason worth recording: their own doc comments said the backend "answers"
`EngineMissing`/`NotConfigured` when the engine is absent. That is true only
where the CLI is absent too. Where the CLI is installed and the daemon is
not -- Windows CI -- the command waits, and the early return the comment
promised is never reached. Both comments now say so.

The remaining tests were audited rather than assumed: of the 18 that build a
real backend, 16 either only ask it for metadata or point it at a program
chosen to be absent (`zode-no-such-engine`, `false`), so they answer without
touching an engine. `acting_on_a_pod_refuses_and_explains` refuses from an
empty `supported_actions` before any spawn, and `kubernetes_offers_no_prune_
at_all` returns `None` outright. These two were the only ones left that
actually invoke one.

Verified both ways: `cargo nextest run -p container` is 56 passed / 8
skipped, and `--run-ignored all` runs them green on a machine with a live
daemon -- they are deferred, not broken.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@tgiap04
tgiap04 merged commit 635c94d into develop Aug 28, 2026
24 of 25 checks passed
@github-actions

Copy link
Copy Markdown
Warnings
⚠️
test(container): stop the last two engine tests reporting on the runner
                 ^

Write PR titles using sentence case.

⚠️
test(container): stop the last two engine tests reporting on the runner
                 ^^^^^^^^^^^^^^^^

Do not use Conventional Commits in PR titles.

Have feedback on this plugin? Let's hear it!

Generated by 🚫 dangerJS against b0888d2

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.

1 participant