Repository navigation
docs(integrations): tech design for integrations chosen per session (#295) - #904
Merged
Merged
Conversation
…295) Signed-off-by: Alex <[email protected]>
Signed-off-by: Alex <[email protected]>
…er identity, tenant checks, backfill) Signed-off-by: Alex <[email protected]>
…294 inside, #290 gates, suspended backfill Signed-off-by: Alex <[email protected]>
…tegrations-design
Signed-off-by: Alex <[email protected]>
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.
Task #295. Design only:
docs/design/session-integrations.md, itsdocs/index.mdentry, and one line removed from the Anti-Patterns rule indocs/architecture/implementation-patterns.md("exact timestamps", decision of 2026-11-27).Proposal
session_integrations) is resolved at build time from workflow/step links, the session's ownintegration_ids, repositories and the run origin. Attachable: Coder, Slack, Teams, Azure DevOps.integration_idsmeans none; the new-session form preselects a default.integration_id(optional when one is attached). The agent gets an Available Integrations table.createalways makes a new integration;replace_tokenstays as Renew token. The pool is matched as<prefix>-<one segment>(Coder::Pool);coder:audit_poolslists workspaces outside it.Integrations::Backfill(service tests) and a data migration (checked by hand) cover existing workflows, not-ended and suspended sessions; a second session run after the rollout covers sessions created meanwhile.Check