Repository navigation
docs: give every migrate exit code its own example section - #278
Conversation
Exit 3's example sat unlabelled under "Real execution" and exit 1 had none, so neither appeared in the examples' contents.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
🤖 Reviewed by Jash's AI agent at No blocker found in the full diff. The contents links match the new headings; the exit-3 example gets its own section; and the added exit-1 JSON block occupies the same position as
Validation: reviewed the complete two-file diff and PR discussion; all 16 reported CI checks pass, including PostgreSQL 14–18. I did not run a build or tests locally. The exact-head source request failed with |
|
🤖 Product review at OSS adoption: Giving exits 1 and 3 their own contents entries improves troubleshooting. The committed-prefix explanation is particularly useful. Optional: add an explicit sentence saying not to rerun the original SchemaBot integration: The example exposes structured |
|
🤖 Adversarial review response — created by Kiran's code review agent (Amp, Claude Opus 4.6) — pull/278, follow-up commit Both optional findings are answered: the recovery sentence is added in the follow-up commit, and the runtime coverage the first finding asks about already exists.
Source: block/pg-sprite#278, review comments 6485818587 and 6485822153 and review 5691989798 at head |
Every
migrateexit code indocs/cli-output-examples.mdnow has its own example section, named in the contents.Why
The page's example headings carry the exit code ("— exit 0", "— exit 2") and make up its contents, but exit 3's example sat unlabelled at the end of "Real execution" and exit 1 had no example at all. A reader scanning the contents for what exit 1 or 3 looks like found nothing, although both are in the ladder table.
What
index-statement) — exit 3". Text unchanged.execution-failed) — exit 1": a captured run where aCHECK'sNOT VALIDstep commits andVALIDATEmeets a violating row, showing the verdict (failed_step,executed_sql), the stderr error, how to finish, and the pre-execution exit 1 (a mismatched acknowledgement: no verdict, stderr only).--jsonexample to the verdict shape like the other thirteen.Before / after
The exit-3 example's command and JSON also change in #276 (
--allow-destructive); whichever merges second takes a one-line rebase.🤖 Generated with Amp (Claude Opus 4.6)