feat(dns): scan and import existing records when adding a zone#107
Conversation
|
@codex review |
🦋 Changeset detectedLatest commit: 6173aa3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 9 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9ae65982cb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| } | ||
| const { applied, failures } = result; | ||
|
|
||
| if (output === "json") { |
There was a problem hiding this comment.
Fail JSON runs when no records were written
For --output json, this branch returns before the all-failed check below runs. If every PUT fails in dns records scan --output json or dns records preset ... --output json, the command exits successfully with applied: [], which breaks automation that relies on the exit code even though nothing was imported.
Useful? React with 👍 / 👎.
No description provided.