Skip to content

[codex] Track worktree environment setup#827

Merged
RhysSullivan merged 2 commits into
mainfrom
codex/reference-symlink-config
May 16, 2026
Merged

[codex] Track worktree environment setup#827
RhysSullivan merged 2 commits into
mainfrom
codex/reference-symlink-config

Conversation

@RhysSullivan

@RhysSullivan RhysSullivan commented May 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Track .codex/environments/environment.toml while keeping the rest of .codex ignored.
  • Configure Codex worktree setup to symlink .reference from /home/rhys/executor/.reference.
  • Copy optional gitignored dotenv files such as apps/cloud/.env.production and apps/cloud/.env.op into new worktrees without overwriting existing files.
  • Keep .reference excluded from Git status in each worktree.

Validation

  • git check-ignore -v .codex/config.toml .codex/environments/environment.toml .reference apps/cloud/.env.production apps/cloud/.env.op
  • Dry-ran the setup script in a temp git repo; it created .reference, copied apps/cloud/.env.production and apps/cloud/.env.op, and left ignored files ignored.

Stack

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 16, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing 3028a80 Commit Preview URL

Branch Preview URL
May 16 2026, 08:45 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 16, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud 3028a80 May 16 2026, 08:46 AM

@pkg-pr-new

pkg-pr-new Bot commented May 16, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@827

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@827

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@827

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@827

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@827

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@827

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@827

@executor-js/plugin-google-discovery

npm i https://pkg.pr.new/@executor-js/plugin-google-discovery@827

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@827

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@827

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@827

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@827

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@827

executor

npm i https://pkg.pr.new/executor@827

commit: 00198e6

@RhysSullivan RhysSullivan changed the title [codex] Ignore reference symlink [codex] Ignore local reference symlink May 16, 2026
@RhysSullivan RhysSullivan changed the title [codex] Ignore local reference symlink [codex] Track worktree environment setup May 16, 2026
@RhysSullivan RhysSullivan marked this pull request as ready for review May 16, 2026 08:44
@RhysSullivan RhysSullivan force-pushed the codex/reference-symlink-config branch from 79e8bd3 to 3028a80 Compare May 16, 2026 08:44
@RhysSullivan RhysSullivan merged commit 142a56d into main May 16, 2026
7 of 9 checks passed
@RhysSullivan RhysSullivan deleted the codex/reference-symlink-config branch May 16, 2026 08:45
RhysSullivan added a commit that referenced this pull request May 31, 2026
* Ignore reference symlink

* Track Codex worktree environment setup
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