Skip to content

Make local development identity configurable - #269

Merged
francip merged 4 commits into
mainfrom
kortexa-ai/local-build-identity
Sep 3, 2026
Merged

Make local development identity configurable#269
francip merged 4 commits into
mainfrom
kortexa-ai/local-build-identity

Conversation

@francip

@francip francip commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • allow local app identity overrides through .env and .env.local
  • isolate the local app, daemon, support directory, and zmx installation from production
  • teach make doctor to detect missing Tuist dependencies

Validation

  • make check
  • make test
  • local app and daemon builds
  • development LaunchAgent, socket, plist, and zmx signature checks

Two builds sharing one bundle id fight over everything macOS keys off it —
Login Items, LaunchServices' "which app owns this?", background-agent
attribution — and two builds sharing ~/.graphcode fight over graphs and zmx
session names. Side-by-side needs both halves, so `make dev-*` sets both:
TUIST_BUNDLE_ID_PREFIX/TUIST_APP_DISPLAY_NAME for the identity and
GRAPHCODE_SUPPORT_DIR for the state.

`open` does not reliably pass an exported variable to the app it launches,
so dev-run-app uses `open --env` rather than a prefixed assignment.

DaemonBootstrap's app id is read from the running bundle instead of being
hardcoded, so a side-by-side build's Login Item points at itself; the
shipping id remains the fallback for the CLI and daemon, which have no app
bundle of their own.

Signed-off-by: Franci Penov <francip@kortexa.ai>
Signed-off-by: Franci Penov <francip@kortexa.ai>
Signed-off-by: Franci Penov <francip@kortexa.ai>
Signed-off-by: Franci Penov <francip@kortexa.ai>
@francip
francip merged commit 9a43345 into main Sep 3, 2026
1 check passed
@francip
francip deleted the kortexa-ai/local-build-identity branch September 3, 2026 21:40
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.

1 participant