Skip to content

Forward ReportWorkloadState, and fix the build - #205

Merged
vitramir merged 3 commits into
mainfrom
report-workload-state
Aug 11, 2026
Merged

Forward ReportWorkloadState, and fix the build#205
vitramir merged 3 commits into
mainfrom
report-workload-state

Conversation

@vitramir

Copy link
Copy Markdown
Contributor

Two things.

ReportWorkloadState forwarder so the runner's reports reach the runners service.

The sandbox layout forwarders, which were missing. Go requires a handler to implement every method of the service it registers, so GetSandboxLayout/SetSandboxLayout being absent failed the whole AgentsGateway handler and with it the build — this repo has not compiled against the published API since those RPCs were added.

Nothing surfaced it: the dev file watcher keeps serving the last binary that compiled, so the process stayed healthy while every route added since was quietly absent. A new route answered 404 with no error anywhere saying the build had stopped succeeding.

Also fixes the devspace startup to wait for buf.gen.yaml, so a partial sync no longer crash-loops in a way that blocks its own repair.

The runner reaches the platform through this gateway, so without a
forwarder here its reports answered Unimplemented and it fell back to
letting reconciliation find the state -- correct, and silent.
The Gateway must implement every method of a service it registers, so
these two missing forwarders failed the whole AgentsGateway handler and
with it the build.

Nothing showed it. The file watcher keeps serving the last binary that
compiled, so the process stayed healthy while every route added since
was quietly absent -- a new one answered 404 with no error anywhere to
say the build had stopped succeeding.
The wait listed go.mod but not buf.gen.yaml, which the startup script
generates from before it builds. A sync that dropped partway therefore
let the container start on incomplete source, fail on the missing file,
and crash-loop -- which then kept DevSpace from re-attaching to finish
the very sync that would have repaired it.
@vitramir
vitramir requested a review from a team as a code owner August 11, 2026 22:08
@vitramir
vitramir merged commit 147f4d9 into main Aug 11, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant