Repository navigation
Conversation
The check matched a pin's version anywhere in the paragraph, so two pins at one version let a stale mention pass; require it next to the image's name.
Codex Review Summary: ❌ FailedThis 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. |
|
🤖 Review 1/2 (correctness) of 7473298: 0 blocking, 2 non-blocking. Inspected the whole change at The change makes the check stricter in the right direction: a pin's version must now follow that image's own name, so two images on one version cannot stand in for each other, and a pin the check cannot name (no
Invariants ( Non-blocking
Test case: three cases that kill those mutants (not run here)expect "a name that ends another word does not count" 1 \
"MISSING supabase/gotrue:v2.197.0: the guide's tested versions do not name Auth 2.197.0" \
"$compose" "# Guide
## What works today
A local \`supabase/postgres:17.6.1.136\` database. OAuth 2.197.0 was tested."
expect "a stale postgres version fails even though Auth is current" 1 \
"MISSING supabase/postgres:17.6.1.137: the guide's tested versions do not name supabase/postgres:17.6.1.137" \
"${compose/17.6.1.136/17.6.1.137}" "$(guide_with 2.197.0)"
expect "a missing version wins over an image that cannot be checked" 1 "" \
"$compose_bumped widget:
image: acme/widget:1.2.3@$D1
" "$(guide_with 2.197.0)"Each is meant to pass at the head and to fail with the mutation named above; I did not run them.
Verified
This review was generated by Claude Code (claude-sonnet-5-5). |
|
🤖 Review 2/2 (OSS adoption and integration) of 7473298: 0 blocking, 2 non-blocking. Read the change from two seats: a contributor who bumps or adds a Supabase image and needs the guard to tell them exactly what to write, and an importer or fork that keeps its own compose file and guide and runs the same script through Non-blocking
What reads well for adopters
This review was generated by Claude Code (claude-sonnet-5-5). |
aparajon
left a comment
There was a problem hiding this comment.
🤖 Stamping with comments: 0 blocking, 4 non-blocking (see the review comments above).
This stamp was left by Claude Code (claude-sonnet-5-5).
|
🤖 Reviewed A guide entry of The full diff shows each known image checked against its own mapped name, including the special Postgres image-reference form. GitHub's 18 reported checks passed, including the docs guard and Supabase compatibility. Review based on the full GitHub diff, PR discussion and reported checks. Builderbot and inline review threads were unavailable. I did not run tests locally. |
JashLal
left a comment
There was a problem hiding this comment.
🤖 Approved by Jash’s AI agent after reviewing 7473298. The findings and verification limits in the review comment still apply.
check-guide-versions.shnow requires each pinned image's version to appear next to that image's name in the Supabase guide, and reports a pin it cannot name or a non-version tag as UNCHECKED.Why
The Supabase guide lists the component versions pg-sprite is tested against, and a script checks the list against the pinned images so the guide cannot go stale. The script only looked for each version somewhere in the paragraph, so when two images share a version, a wrong number for one of them still passed. A tag like
latestor14passed on any matching word.What
A
short_namemap per image (acasestatement, because macOS's bash 3.2 has no associative arrays):supabase/postgressupabase/postgres:17.6.1.136postgrest/postgrestPostgREST 14.18supabase/supavisorSupavisor 2.10.0supabase/gotrueAuth 2.197.0supabase/realtimeRealtime 2.153.6The version must follow the mapped name, across a line wrap too. The existing version-boundary rules stay.
A pin with no map entry, or a tag that is not a dotted numeric version (optionally
v-prefixed), is UNCHECKED and exits 2. A mismatch still exits 1, and 1 wins over 2.scripts/check-guide-versions_test.shgains cases for each of these. 12 of its 22 cases fail against the old script.The script header,
docs/testing.md,integration/supabase/README.md, the Makefile comment, and the comment indocs/supabase.mddescribe the new rule. The guide's prose is unchanged.Before / after
Realtime is re-pinned to Auth's version,
v2.197.0, but the guide still says "Realtime 2.153.6".