Repository navigation
Conversation
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.
Upstream PR creation is restricted, so this review PR is hosted in the fork. Its base matches
google/axmain.AX currently accepts image/command/environment edits but keeps the actor bound to its original template. Make runtime fields immutable at the update API and return FailedPrecondition with delete-and-recreate guidance. Suspend/resume and gateway references remain editable; default-image normalization preserves equivalent reapplications. This deliberately avoids automatic replacement of a stateful actor.
Fixes google#353.
TDD and validation
This branch starts independently from
origin/main(d8ed0fe) and has two commits:e553da6adds the regression and fails on the original behavior.fd3564eimplements the fix; the regression and complete suite pass.Reproduce the red/green transition by checking out either commit and running:
Validated:
go test ./... -count=1, targeted-racetests,go mod tidywith unchanged module files,make build, andgit diff --check.Review
Codex review: no actionable regressions identified; the new API tests also passed in the review environment. Some reviewer test runs were blocked by its listener sandbox; the validation above was run separately with local listener access.