Skip to content

Conversation

@jumski
Copy link
Contributor

@jumski jumski commented Nov 15, 2025

  • Replace cd && pwd with realpath for cleaner code
  • Standardize all project.json to use cwd: {projectRoot}
  • Remove unnecessary cd {projectRoot} commands
  • Use consistent ../../scripts/supabase-start-locked.sh . pattern

@changeset-bot
Copy link

changeset-bot bot commented Nov 15, 2025

⚠️ No Changeset found

Latest commit: b3b448c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor Author

jumski commented Nov 15, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge:queue - adds this PR to the back of the merge queue
  • hotfix:queue - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@nx-cloud
Copy link

nx-cloud bot commented Nov 15, 2025

View your CI Pipeline Execution ↗ for commit b3b448c

Command Status Duration Result
nx affected -t verify-exports --base=96bf56f29f... ✅ Succeeded 3s View ↗
nx affected -t build --configuration=production... ✅ Succeeded 30s View ↗
nx affected -t lint typecheck test --parallel -... ✅ Succeeded 7m 1s View ↗
nx affected -t test:e2e --parallel --base=96bf5... ✅ Succeeded 4m 54s View ↗

☁️ Nx Cloud last updated this comment at 2025-11-16 20:03:46 UTC

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ 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".

Comment on lines 61 to +63
# Normalize to absolute path to ensure consistent lock naming
# This prevents "./pkgs/core" and "pkgs/core" from creating different locks
PROJECT_DIR_ABS=$(cd "$PROJECT_DIR" && pwd)
PROJECT_DIR_ABS=$(realpath "$PROJECT_DIR")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Avoid non-portable realpath in supabase lock script

Replacing cd "$PROJECT_DIR" && pwd with realpath "$PROJECT_DIR" introduces a dependency that is not installed by default on macOS and some BSD systems. Developers running Supabase tasks on those platforms will hit realpath: command not found and the script exits before starting Supabase. Consider using the previous cd … && pwd approach or adding a fallback so the script remains portable.

Useful? React with 👍 / 👎.

@jumski jumski force-pushed the 11-15-refactor_use_realpath_and_consistent_cwd_in_supabase-start-locked.sh branch 5 times, most recently from c52d183 to 9ed1717 Compare November 16, 2025 10:11
@jumski jumski force-pushed the 11-15-refactor_use_realpath_and_consistent_cwd_in_supabase-start-locked.sh branch from 9ed1717 to 805fac5 Compare November 16, 2025 15:56
- Replace cd && pwd with realpath for cleaner code
- Standardize all project.json to use cwd: {projectRoot}
- Remove unnecessary cd {projectRoot} commands
- Use consistent ../../scripts/supabase-start-locked.sh . pattern
@jumski jumski force-pushed the 11-15-refactor_use_realpath_and_consistent_cwd_in_supabase-start-locked.sh branch from 805fac5 to b3b448c Compare November 16, 2025 16:41
@github-actions
Copy link
Contributor

🔍 Preview Deployment: Website

Deployment successful!

🔗 Preview URL: https://pr-368.pgflow.pages.dev

📝 Details:

  • Branch: 11-15-refactor_use_realpath_and_consistent_cwd_in_supabase-start-locked.sh
  • Commit: f42fbc083beb53a12eb15cc0c8bd1050938a5d79
  • View Logs

_Last updated: _

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 16, 2025

Merge activity

  • Nov 16, 9:23 PM UTC: jumski added this pull request to the Graphite merge queue.
  • Nov 16, 9:30 PM UTC: CI is running for this pull request on a draft pull request (#370) due to your merge queue CI optimization settings.
  • Nov 16, 9:30 PM UTC: Merged by the Graphite merge queue via draft PR: #370.

graphite-app bot pushed a commit that referenced this pull request Nov 16, 2025
…#368)

- Replace cd && pwd with realpath for cleaner code
- Standardize all project.json to use cwd: {projectRoot}
- Remove unnecessary cd {projectRoot} commands
- Use consistent ../../scripts/supabase-start-locked.sh . pattern
@graphite-app graphite-app bot closed this Nov 16, 2025
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.

2 participants