Skip to content

feat: align CLI environment & project config with the SDK#29

Closed
Marc-AnthonyG wants to merge 1 commit into
tracel-ai:feat/package-as-binairyfrom
Marc-AnthonyG:claude/new-session-3qfr0w
Closed

feat: align CLI environment & project config with the SDK#29
Marc-AnthonyG wants to merge 1 commit into
tracel-ai:feat/package-as-binairyfrom
Marc-AnthonyG:claude/new-session-3qfr0w

Conversation

@Marc-AnthonyG

Copy link
Copy Markdown
Member

Bring the burn CLI in line with how the Burn Central SDK handles environments and project configuration:

  • Project linking now lives in a single, committed tracel.toml at the workspace root (matching the SDK's filename and owner/name fields), shared across all environments instead of a per-environment .burn folder. Owner/project are therefore identical across dev/staging/prod.
  • Drop the .burn folder entirely; build/packaging scratch now lives under target/burn-central/ (already gitignored).
  • burn [--dev|--staging N] train exports TRACEL_ENV (and, when linked, TRACEL_NAMESPACE/TRACEL_PROJECT) to the spawned cargo run process, so the SDK inside the training binary targets the same backend and project as the CLI. The env string format matches the SDK's parser (Production / Development / Staging(N)).
  • Remove the per-environment get_burn_dir_name() and the now-unused burn_dir_name parameter from ProjectContext::{load,init,unlink}.

Bring the `burn` CLI in line with how the Burn Central SDK handles
environments and project configuration:

- Project linking now lives in a single, committed `tracel.toml` at the
  workspace root (matching the SDK's filename and `owner`/`name` fields),
  shared across all environments instead of a per-environment `.burn`
  folder. Owner/project are therefore identical across dev/staging/prod.
- Drop the `.burn` folder entirely; build/packaging scratch now lives
  under `target/burn-central/` (already gitignored).
- `burn [--dev|--staging N] train` exports `TRACEL_ENV` (and, when linked,
  `TRACEL_NAMESPACE`/`TRACEL_PROJECT`) to the spawned `cargo run` process,
  so the SDK inside the training binary targets the same backend and
  project as the CLI. The env string format matches the SDK's parser
  (`Production` / `Development` / `Staging(N)`).
- Remove the per-environment `get_burn_dir_name()` and the now-unused
  `burn_dir_name` parameter from `ProjectContext::{load,init,unlink}`.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01DSi2TvcSnucSP61Ds5Xtnu
@Marc-AnthonyG

Copy link
Copy Markdown
Member Author

I will take a look at this when I finish with cross compilation. Just put claude to work on the issue we talk about, but didn't look this up yet.

@Marc-AnthonyG
Marc-AnthonyG deleted the claude/new-session-3qfr0w branch June 29, 2026 16:57
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