Repository navigation
Upgrade to Substrate v0.6.0 - #25
Merged
Merged
Conversation
igooch
force-pushed
the
substrate-v0.6.0
branch
from
October 22, 2026 22:53
8965f02 to
e1dafbd
Compare
This was referenced Oct 23, 2026
igooch
marked this pull request as ready for review
October 23, 2026 17:32
This was referenced Oct 23, 2026
- Label the ate-ant Namespace ate.dev/api-access=true. ate-system's NetworkPolicies only admit ateapi clients from labeled namespaces, so the controller's ateapi calls otherwise time out. - install.sh: pass the flags `ate-setup deploy ate-system` now requires (--credential-provider, --ingress-allowed-spiffe-ids, --snapshot-transfer-gsa-name, and the PerTemplateSnapshotLocation preview gate), and create the snapshot transfer service account. - README: document the required Substrate install flags. - Makefile: read the pushed digest from RepoDigests so `make push` reports it with Docker, not only Podman.
Scale the WorkerPool to 0 before upgrading. A new ateapi can crash-loop on worker records written by an older release.
igooch
force-pushed
the
substrate-v0.6.0
branch
from
October 27, 2026 18:30
34d52bc to
4a33494
Compare
Jaana Dogan (rakyll)
approved these changes
Oct 27, 2026
igooch
added a commit
that referenced
this pull request
Oct 27, 2026
Fixes #26. Stacked on #25. `Manager.Resume` logged `ResumeActor` errors at Debug and returned nil. When no worker had room, the controller went on to notify the actor, the router parked the request and retried the resume, and the capacity failure surfaced only as a slow or failed notify. `ResumeActor` succeeds for an actor that is already running, so `Resume` now returns every error. Callers already handle it. The controller retries the event, and loadgen records the failure. New actors still start through the router on their first `/work`. Calling `ResumeActor` after `CreateActor` would surface capacity failures on that path too. It's left out to keep this change small. #27 depends on this to recognize a capacity failure. Drafted with Claude Code, which wrote the change, the test, and this description.
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.
Bumps
go.ate.dev/substrateto v0.6.0 and fixes what the upgrade broke. No Go API changes were needed.Fixes #19
Changes
ate-antNamespaceate.dev/api-access=true. ate-system now ships NetworkPolicies that only let labeled namespaces reach ateapi. Without the label, every ateapi call from the controller (and loadgen) times out.benchmarks/install.sh: pass the flagsate-setup deploy ate-systemnow requires.--credential-provider='{"name":"k8s.io"}': needed for egress key injection.--ingress-allowed-spiffe-ids: the router only admits listed clients. Defaults to the controller'srouter-clientidentity.--snapshot-transfer-gsa-name: GCS snapshot transfers now run as a dedicated service account. The script creates it and grants bucket access.--preview=PerTemplateSnapshotLocation: needed because our ActorTemplate sets its own snapshot bucket.benchmarks/README.md: add an "Upgrade Agent Substrate" section. It scales the WorkerPool to 0 before the upgrade, because v0.6.0's ateapi crash-loops on worker records written by older releases. Itsinstall.shstep usesCREDS_SECRETand the credential provider restart from benchmarks: make install.sh reproduce credential and template rotations #34.make pushnow prints the image digest with Docker as well as Podman.Testing
install.sh, using placeholder Anthropic credentials:loadgen --mode=direct(10 sessions × 2 turns): 60/60 ops OK.loadgen --mode=valkey(10 sessions): 30/30 ops OK, stream drained.valkeyrun drained.Follow-ups