Skip to content

docs(integrations): tech design for integrations chosen per session (#295) - #904

Merged
NOX73 merged 6 commits into
developfrom
feature/session-integrations-design
Nov 27, 2026
Merged

NOX73 merged 6 commits into
developfrom
feature/session-integrations-design

Conversation

@NOX73

@NOX73 NOX73 commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Task #295. Design only: docs/design/session-integrations.md, its docs/index.md entry, and one line removed from the Anti-Patterns rule in docs/architecture/implementation-patterns.md ("exact timestamps", decision of 2026-11-27).

Proposal

  • A session's integration set (session_integrations) is resolved at build time from workflow/step links, the session's own integration_ids, repositories and the run origin. Attachable: Coder, Slack, Teams, Azure DevOps.
  • Omitted integration_ids means none; the new-session form preselects a default.
  • Tools take integration_id (optional when one is attached). The agent gets an Available Integrations table.
  • Coder: no identity rules; create always makes a new integration; replace_token stays as Renew token. The pool is matched as <prefix>-<one segment> (Coder::Pool); coder:audit_pools lists workspaces outside it.
  • chore: drop screenshots that back no document #294 is inside this task: default template (a select) and machine prefix are required; legacy rows keep working and show what is missing.
  • Gates are written against feat(agents): stream the usage log instead of holding it whole #290 as merged: a tool is served when attached and its provider is in the session's set.
  • One idempotent 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

  • Coder decisions in §4.1 and §4.2 (prefix limit 23 characters, template select endpoint).
  • Backfill scope incl. suspended sessions (§7) and the manual migration check (§9).
  • One implementation task, order in §8.

@aixle-com aixle-com Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of the design for #295. The design follows the review decisions and the AWS OIDC precedent. One gap is [Must]; four findings are [Recommendation].

Comment thread docs/design/session-integrations.md Resolved
Comment thread docs/design/session-integrations.md Resolved
Comment thread docs/design/session-integrations.md Resolved
Comment thread docs/design/session-integrations.md Resolved
Comment thread docs/design/session-integrations.md Resolved
Comment thread docs/design/session-integrations.md Resolved
Comment thread docs/design/session-integrations.md Resolved
Comment thread docs/design/session-integrations.md Resolved
Comment thread docs/design/session-integrations.md Resolved
@NOX73
NOX73 merged commit 7aeac77 into develop Nov 27, 2026
18 checks passed
@NOX73
NOX73 deleted the feature/session-integrations-design branch November 27, 2026 09:38
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