You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 659832f
Browse filesBrowse the repository at this point in the historyBrowse files
demos/counter: remove sandbox IP greeting from counter response (agent-substrate#3510)
<!-- The PR title becomes the release note. Write it for users. -->
Follow-up to
agent-substrate#3498 (comment).
Remove `hello from: %s` and `getCurrentIP()` from
`demos/counter/counter.go`.
Why? `counter.go` included `hello from: <ip>` in its response from early
dyas of Substrate to show that an actor resumed on a different worker
Pod IP. However, now every actor sandbox uses the fixed veth address
`169.254.17.2` (`ActorVethIP` in `internal/ateworker/actornet/net.go`),
so `getCurrentIP()` always returns `169.254.17.2` regardless of which
worker Pod hosts the actor.
Also updated documentations to remove mentioning of "the different
worker Pod IP replied by counter indicates it was resumed on another
pod".
<!-- e.g. "AI-assisted, I reviewed and tested it." No AI co-author
trailers. -->
AI use: AI-assisted to update the counter demo, docs, and tests; I
reviewed the diff.
<!-- Breaking change? Describe what users must do on upgrade and ask for
the `breaking-change` label. -->
- [x] Tests pass
- [x] Docs updated
---------
Signed-off-by: Zoe Zhao <[email protected]>
0 commit comments