Skip to content

fix(ci): hosted location and --coordinator flag gaps (D-1402, D-1409) - #485

Merged
acamarata merged 2 commits into
mainfrom
dw2-plugins-2
Oct 25, 2026
Merged

acamarata merged 2 commits into
mainfrom
dw2-plugins-2

Conversation

@acamarata

Copy link
Copy Markdown
Contributor

Rows

D-1402 FIXED. registry.UpdateCapability now takes Location.Kind and nself.* labels from the stored record unless the actor starts with policy:. A node report can no longer make itself hosted (which skips the AuthorizedProjects check in sched/eligibility.go), clear a hosted location, or add or replace an nself.* label. The burst provider (policy:burst, cloudvm AfterIssue) still sets both, so a blanket "ignore hosted" was not used. Test: TestNodeReportCannotSetHostedOrProviderLabels (fails on main with "a node report made the node hosted").

D-1409 FIXED. lifecycle.AddCoordinatorFlag declares --coordinator once; nodes set and nodes upgrade flag sets and the existing lifecycle loop use it. Test: TestRoutedNodesFlagSetsListCoordinator (fails on main for nodes set and nodes upgrade). There is no Reference.md in this repo; it is generated from the flag sets, so it needs a regenerate where it lives.

D-0188 NOT-REPRODUCED / not triggered. The row says promote at a third copy. Only two exist (cli internal/observability/redact.go and free/ci/internal/redact/shapes.go); the sk_live_, xoxb- hits elsewhere in plugins are tests or format checks. sdk/go is in the cli repo anyway.

D-0457 BLOCKED. The row defers accelerator_details[] to a capability minor revision when a scheduler ticket needs it. No such ticket exists in this repo (no accelerator_details anywhere), and it is a capability schema/product-scope change tied to P7-NODE-22.

D-0513 BLOCKED. Needs a change in cli sdk/go/remote (a way to add HostSpec.SSHOptions() to the default BaseOptions; the allowlist refuses StrictHostKeyChecking in an explicit Options slice), then a re-vendor of a new pinned sdk version. Checked cli origin/main: Target still has no such field. Not editable from this repo.

Checks (free/ci, -mod=vendor)

  • go build ./..., go vet ./...: clean.
  • Full go test -p 4 ./... under load: red in cmd/agent (TestServeStdioExitsNonZeroWithE663OnAProdStackMarker) and internal/legacy (TestSecretsEnvLiveKeyGateTrackedValueOnly); both fail the same on clean origin/main (pre-existing). cmd (10 min timeout), internal/run, internal/exec, providers/doctor were load flakes: each passes alone on this branch (cmd 59s).
  • Touched packages cmd, internal/nodes/registry, internal/nodes/lifecycle, internal/agent/update, internal/sched: ok.

@acamarata
acamarata merged commit 7ea27a6 into main Oct 25, 2026
30 of 31 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