Repository navigation
e2e,ci: keep a failed run's namespaces and dump their worker logs - #654
Merged
Lior Lieberman (LiorLieberman) merged 1 commit intoJul 31, 2026
Conversation
Bowei Du (bowei)
self-requested a review
July 30, 2026 23:52
Collaborator
Author
|
ugh, we have to fix some existing issues with new restrictions on the actions first |
Collaborator
Author
Collaborator
|
rebase? |
Benjamin Elder (BenTheElder)
force-pushed
the
e2e-keep-failed-namespaces
branch
from
July 31, 2026 03:33
dabe0d1 to
ae732fa
Compare
When an e2e test failed, the evidence was deleted before anyone could read it. The suite deleted every namespace it created on the way out, taking the worker pods with it, and the workflow's post-failure dump only looked at three fixed namespaces — never the suites' randomly-named ones. So a failure inside an actor (agent-substrate#619: a micro-VM resume where the guest died at boot) left nothing behind but the RPC error the test printed. Keep the namespaces when the suite failed, and dump every worker pod in every namespace, so the ateom logs — which carry the guest's console tail — reach the failed run's output. Kept namespaces are nobody's to reclaim, and each holds a WorkerPool's worth of running pods, so they now carry an ate.dev/e2e label and hack/cleanup-e2e.sh deletes them once the logs have served their purpose. CI throws its cluster away, but a development cluster accumulates them run after run.
Benjamin Elder (BenTheElder)
force-pushed
the
e2e-keep-failed-namespaces
branch
from
July 31, 2026 03:35
ae732fa to
ce1adcb
Compare
Lior Lieberman (LiorLieberman)
approved these changes
Jul 31, 2026
Lior Lieberman (LiorLieberman)
merged commit Jul 31, 2026
e4844d0
into
agent-substrate:main
11 checks passed
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.
When an e2e test failed, the evidence was deleted before anyone could read it. The suite deleted every namespace it created on the way out, taking the worker pods with it, and the workflow's post-failure dump only looked at three fixed namespaces — never the suites' randomly-named ones. So a failure inside an actor (#619: a micro-VM resume where the guest died at boot) left nothing behind but the RPC error the test printed.
Keep the namespaces when the suite failed, and dump every worker pod in every namespace, so the ateom logs — which carry the guest's console tail — reach the failed run's output.
Kept namespaces are nobody's to reclaim, and each holds a WorkerPool's worth of running pods, so they now carry an ate.dev/e2e label and hack/cleanup-e2e.sh deletes them once the logs have served their purpose. CI throws its cluster away, but a development cluster accumulates them run after run.
Fixes #<issue_number_goes_here>
Built while debugging #619