Skip to content

[Improve] Simplify Azure DevOps setup#267

Open
mrubens wants to merge 4 commits into
developfrom
codex/ado-setup-flow
Open

[Improve] Simplify Azure DevOps setup#267
mrubens wants to merge 4 commits into
developfrom
codex/ado-setup-flow

Conversation

@mrubens

@mrubens mrubens commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Related issue

N/A — internal Roomote work requested by a maintainer.

Why this PR exists

  • A maintainer explicitly invited this PR in the linked issue or discussion
  • I am a maintainer / this is internal Roomote work

What changed

  • guide Azure DevOps setup through validated organization entry before PAT creation
  • build the PAT creation link from the organization instead of using the broken organization-less URL
  • require Microsoft Entra account linking for Azure DevOps Services and immediately start the link flow after saving
  • show the exact Azure DevOps OAuth callback, Entra app registration link, and delegated permission guidance
  • automatically reuse existing Microsoft sign-in or Teams app credentials, including the stored secret, while keeping Azure DevOps-specific values as overrides
  • keep Azure DevOps Server on its PAT-only path and hide unrelated advanced settings by default
  • update public Azure DevOps and environment-variable documentation

How it was tested

  • 55 focused web Vitest tests covering setup UI, save-and-link behavior, Microsoft credential reuse, auth-provider resolution, ADO helpers, and source-control persistence
  • 18 focused @roomote/types Vitest tests covering conditional Azure DevOps Services OAuth requirements and Microsoft aliases
  • pnpm lint:fast
  • pnpm check-types:fast
  • pnpm knip
  • git diff --check

Checklist

  • The PR title follows the repo convention: [Fix], [Feat], [Improve], [Refactor], [Docs], or [Chore] followed by a user-facing description
  • This PR is scoped to the Azure DevOps setup and account-linking flow
  • Lint, type checking, and knip pass locally
  • I added focused tests
  • I removed secrets, tokens, private keys, and customer data from code, logs, and screenshots
  • The user-facing change has a changeset

@roomote-roomote

roomote-roomote Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

No new code issues found. See task

Reviewed 71948cc

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