Conversation
NekoPunch (orangeCatDeveloper)
force-pushed
the
issue-794-teardown-crashed-actors
branch
from
August 14, 2026 10:26
40c7936 to
e869172
Compare
Krisztian F (krisztianfekete)
left a comment
Collaborator
There was a problem hiding this comment.
Added one comment, otherwise looks good to me!
NekoPunch (orangeCatDeveloper)
force-pushed
the
issue-794-teardown-crashed-actors
branch
from
August 17, 2026 08:39
76fd66d to
5f710c6
Compare
Krisztian F (krisztianfekete)
previously approved these changes
Aug 17, 2026
Krisztian F (krisztianfekete)
left a comment
Collaborator
There was a problem hiding this comment.
Thanks!
Contributor
Author
Could you help trigger the CI workflow? Thank you! |
NekoPunch (orangeCatDeveloper)
force-pushed
the
issue-794-teardown-crashed-actors
branch
4 times, most recently
from
August 18, 2026 01:59
f7838f6 to
ba56757
Compare
Collaborator
|
Hey, I don't have those kind of permission, but now I see that someone triggered them! |
NekoPunch (orangeCatDeveloper)
force-pushed
the
issue-794-teardown-crashed-actors
branch
3 times, most recently
from
August 20, 2026 18:06
5262d10 to
a85e4b5
Compare
NekoPunch (orangeCatDeveloper)
force-pushed
the
issue-794-teardown-crashed-actors
branch
4 times, most recently
from
August 27, 2026 07:14
5f95a8b to
61fd406
Compare
NekoPunch (orangeCatDeveloper)
force-pushed
the
issue-794-teardown-crashed-actors
branch
3 times, most recently
from
September 4, 2026 06:27
cebd9e9 to
9a93820
Compare
Teardown stopped at a crashed actor and left an immutable template behind for the next deploy. DeleteActor accepts crashed actors, so teardown can remove them before redeployment. Run demo handlers outside conditional context so deployment failures retain errexit behavior.
DeleteActor is idempotent for actors already being deleted, so an interrupted workflow should not abort the next teardown.
NekoPunch (orangeCatDeveloper)
force-pushed
the
issue-794-teardown-crashed-actors
branch
from
September 5, 2026 22:04
9a93820 to
7c28c66
Compare
Krisztian F (krisztianfekete)
approved these changes
Sep 7, 2026
Krisztian F (krisztianfekete)
merged commit Sep 7, 2026
fda35d0
into
agent-substrate:main
9 checks passed
NekoPunch (orangeCatDeveloper)
deleted the
issue-794-teardown-crashed-actors
branch
September 7, 2026 10:14
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.
Fixes #794
A crashed actor makes
--delete-allabort mid-teardown, leaving the ActorTemplate, atespace andate-systembehind; the next--deploy-demo-counterkeeps the existing template, so the cluster goes on serving the stale golden snapshot.prepare_actor_for_deletetreatsSTATUS_CRASHEDas unexpected and returns 1, which errexit turns into a hard abort, even though DeleteActor accepts CRASHED and is idempotent for an actor already marked DELETING (workflow_delete.go). Teardown now treats crashed and already-deleting actors as deletable as-is.The demo flag dispatch had the mirror-image defect: handlers ran from an
ifcondition, which suppresses errexit for their whole call tree, so this same teardown and failed deploys like the issue's immutable-spec apply exited 0. Handlers now run as plain commands and report an unclaimed flag throughate_demo_flag_unhandled; the Jupyter handler follows the same contract.Repro: deploy the counter demo, resume an actor, delete its worker pod, wait for the syncer to mark it
STATUS_CRASHED, then run--delete-all.