Repository navigation
feat(runners): the Coder runner in the UI: form, Environments section and docs (runners 17e, #315) - #963
Merged
Conversation
… and docs (runners 17e, #315) Signed-off-by: Alex <[email protected]>
…ronments Signed-off-by: Alex <[email protected]>
Signed-off-by: Alex <[email protected]>
…e runner's capabilities Signed-off-by: Alex <[email protected]>
…toast on a refused removal, no Rebuild on coder until row 28 - The Coder integration select shows the machine prefix next to the name, or "no prefix". - A refused integration removal shows no "Integration removed" toast. - The coder type is not rebuildable: the Rebuild action, route, Core::Management and Interface delegation and UI are removed; Revoke stays. The adapter hook is unchanged. - The repeated tearing_down/gone pair is gone with the Rebuild code. - runner-coder.md, DESIGN.md and the user guide (with its mirror) record the move. Signed-off-by: Alex <[email protected]>
Signed-off-by: Alex <[email protected]>
Signed-off-by: Alex <[email protected]>
Signed-off-by: Alex <[email protected]>
Signed-off-by: Alex <[email protected]>
artempartos
added a commit
that referenced
this pull request
Dec 2, 2026
* origin/develop: (23 commits) ci(images): publish web, otlp-ingest and runner-relay for linux/arm64 (#983) fix(k8s): give a pod's image pull its own start budget (#979) build(dev): pull published agent images instead of building them (#980) fix(deps): bump coder-cli to v2.34.22 (CVE fixes) (#956) chore(agents): raise agent CLI pins for canary #943 (#975) docs(runners): record the §12.5 staging validation of the coder runner (row 18) (#978) build(dev): run local Temporal on the CLI dev server image (#954) fix(deps): websocket-driver 0.9.2 security batch, cross-spawn and tar re-resolve (#976) feat(web): link the docs portal from the app footer and sidebar (#379) (#969) feat(onboarding): Getting started page and product tour (#51) (#879) feat(dashboard): keep the table's sort in the URL (#974) fix(kiro): offer the models the account has today, not those of its last login (#973) feat(dashboard): keep the period and filters in the URL (#972) feat(company-settings): confirm worker count changes before saving (#971) feat(runners): the Coder runner in the UI: form, Environments section and docs (runners 17e, #315) (#963) docs(trackers): tech design for trackers chosen per session (#959) chore: remove the integrations backfill tooling left from #298 (#964) feat(runners): a coder runner created from the console (runners 17d, #309) (#960) chore(release): 1.23.0 (#961) feat(coder): Coder services for a second consumer, in the layers of runner-layers.md (runners 17b, #304) (#919) ... # Conflicts: # CHANGELOG.md
Merged
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.
What
Row 17e of
docs/design/agent-runtimes/runner-coder.md§14 (task #315): thecoderrunner type becomes visible and creatable from the UI. Item 17 of the runners plan is complete with this change.Adapter::UNRELEASED_TYPESis removed (Adapter.available?is the registry's answer).Core::Management.saveruns the first health check as a provisioned runner is created, so the page opens onconnected, or on the reason it is not.coderis offered when the integration select has an option for the scope (Integration.coder_for_runner: a company runner takes company-wide active Coder integrations; a project's own runner, its project's and the company's). Step 2 is generated fromConfigSchema.for_type("coder"), plus the integration select (create only; read-only on the runner page) and the lines aboutfreshonly, the shared pool and quota, deleting free workspaces, and the default template. No reuse choice.RunnerEnvironmentResource): key, state with reason, session link, last heard, runner version, link to the workspace in Coder. Rebuild (new route +Interface.rebuild!, refused for an environment that holds a session) and per-environment Revoke both delete the workspace. The overview shows the integration. Amanualrunner's page is unchanged.machine_countsalready counted non-goneenvironments).restrict_with_error). The 17d refusal for deleted runners' environments is unchanged.Coder runnerssection, identical in both), DESIGN.md row 17e, runner-coder.md and runtime-layers.md notes.Not changed
manualrunners' form, page and suites; both layering tests; hosted sessions that usecoder_*; the runner (Go) code.reuse/resetoncoderstay in row 28.Notes for review
integration_id(17d'sform_attributes), and the model refuses a change; both are tested through the controllers.Provisioned#rebuild!now raisesUnsupportedOperationfor an environment that holds a session, under the row lock. Revoke ends the session first.Runner#provisioned?reads the storedcapabilities(set byManagement.save), as the frontend does; the:coderfactory trait sets them.How to test
bin/rails test test/integration/web/company/runners_coder_test.rb test/integration/web/company/projects/runners_coder_test.rb test/models/integration_coder_removal_test.rb test/models/integration_coder_runner_test.rb test/services/runners test/docs test/resources/runner_environment_resource_test.rbyarn vitest run app/frontend/shared/resources/runners app/frontend/pages/Company/Settings app/frontend/pages/Projects/Runners