Skip to content

docs: explain GitOps resource adoption - #1451

Open
dhruva-vapi wants to merge 1 commit into
mainfrom
devin/1795281775-docs-gitops-adopt
Open

dhruva-vapi wants to merge 1 commit into
mainfrom
devin/1795281775-docs-gitops-adopt

Conversation

@dhruva-vapi

@dhruva-vapi dhruva-vapi commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Description

Documents the --adopt flag shipped in VapiAI/gitops#104.

  • fern/config-as-code.mdx: new "Adopt an existing resource" section covering when to adopt (dashboard-created resources, renamed or moved files), --adopt <resourceId>[=<uuid>] on push/apply, the resource ID format, matching without a UUID, --dry-run previews, and --dry-run --json output for automation.
  • Checked against src/adopt.ts, src/link-preflight.ts and src/push.ts on gitops main.
  • Left out on purpose: the PR's validation and safety tightening, plus gitops#106 (metadata.gitops.folderPath). Nothing in the dashboard reads that field yet.

Testing Steps

  • npx --yes fern-api check: 0 errors
  • Check the Config as code page in the preview deployment

Technical Writer opened this PR for Dhruva
Implemented in session Update docs for recent product changes
Review with Devin · Open in Devin Desktop


Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access that start with 'Devin'.

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Devin Review

🟢 Devin Review found nothing to fix · View findings

@github-actions

Copy link
Copy Markdown
Contributor

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