Skip to content

fix(cli): relative declarative dir - #6066

Merged
Coly010 merged 1 commit into
supabase:developfrom
7ttp:fix/declarative-generate-relative-print
Aug 6, 2026
Merged

fix(cli): relative declarative dir#6066
Coly010 merged 1 commit into
supabase:developfrom
7ttp:fix/declarative-generate-relative-print

Conversation

@7ttp

@7ttp 7ttp commented Aug 4, 2026

Copy link
Copy Markdown
Member

TL;DR

fixes db schema declarative generate printing the absolute declarative dir in
its written-to line and its overwrite prompt which worked in GO cause it chdirs into
the workdir and prints GetDeclarativeDir() verbatim,

diverged in TS cause the handler resolves the dir against the workdir for file I/O and printed that same resolved value
while the tests only asserted a message prefix:
now sorted cause we switch both renders to the config-verbatim legacyResolveDeclarativeDir value through the shared written-line helper exactly like pull and sync already do and is tested locally across
the generate sync and pull suites plus the full workspace....

ref:

@7ttp
7ttp requested a review from a team as a code owner August 4, 2026 22:44
@7ttp 7ttp self-assigned this Aug 4, 2026
@7ttp

7ttp commented Aug 4, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 68fc2b7843

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@Coly010
Coly010 added this pull request to the merge queue Aug 6, 2026
Merged via the queue into supabase:develop with commit 3c43d63 Aug 6, 2026
22 checks passed
avallete pushed a commit that referenced this pull request Aug 7, 2026
Verified every bullet against the actual v2.111.0..v2.112.0 tree diff
(the range came from a rebased develop rollup, so commit subjects alone
were misleading) and applied the Codex review feedback:

- Drop #6072 and #6080: packages/next-only, not in the stable shell
- Drop #6003 and #6057: the stable CLI does not exercise the stack
  binary cache; #6057's "rollup" was the develop->main rollup PR,
  not the Rollup bundler
- Add breaking-change section for NPM_AUTH_TOKEN no longer being
  forwarded by functions deploy (#6005, ships in this tag)
- Note the one-time stop/start needed for already-stuck stacks (#6093)
- Scope #5956 to functions download path traversal
- Point db pull --experimental users at --declarative (#6028)
- Fix #6065 and #6066 descriptions to match the shipped changes
- Recount the internal tail (33 uncited commits in the compare range)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018h8krKpNet85649nqtj95b
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.

3 participants