Skip to content

[M1.6b3] Show replicas and their observed state - #181

Merged
samuelmbabhazi merged 2 commits into
mainfrom
feat/m1.6b3-replica-status
Nov 7, 2026
Merged

samuelmbabhazi merged 2 commits into
mainfrom
feat/m1.6b3-replica-status

Conversation

@samuelmbabhazi

Copy link
Copy Markdown
Collaborator

What changed

M1.6b3: what agents report (#175) is now visible.

  • GET …/applications/{a}/replicas (environment.read) lists placed replicas with node name, container and the last observed state (null until seen).
  • Application page: a Replicas table, with "not reported yet" for a container the agent has not seen. It reloads with deployments.
  • allocation.observed events now carry environmentId, so the live stream of [M2.6b] Live updates per environment #179 includes them and the page updates when a container stops.

How it was tested

  • Web test for the table. Full local gate: 302 API and 69 web tests, Go race tests, lint, drift, Semgrep, Prettier.
  • Not run: the integration assertion added to allocation-observations.integration.spec.ts, because Docker is not reachable here.

Security considerations

Same read permission as the other application routes. It reveals node names and container names to environment.read holders, and no environment values.

review added 2 commits November 7, 2026 13:34
GET …/replicas lists placed replicas with their node, container and what
the agent last saw. allocation.observed events now carry the environment,
so live updates include them.

Signed-off-by: review <[email protected]>
@samuelmbabhazi
samuelmbabhazi merged commit 4e08f71 into main Nov 7, 2026
@samuelmbabhazi
samuelmbabhazi deleted the feat/m1.6b3-replica-status branch November 7, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant