Skip to content

Rename trueforge mtls env vars - #841

Merged
chiragjn merged 2 commits into
mainfrom
cj-rename-trueforge-mtls-vars
Sep 22, 2026
Merged

chiragjn merged 2 commits into
mainfrom
cj-rename-trueforge-mtls-vars

Conversation

@chiragjn

@chiragjn chiragjn commented Sep 22, 2026

Copy link
Copy Markdown
Member

Note

Medium Risk
Breaking rename for anyone still setting the old env vars outside the chart; misconfiguration would disable mTLS or leave HTTPS/client-cert enforcement off until vars are updated.

Overview
Renames the TrueForge process mTLS settings from TRUEFORGE_MTLS_ENABLED / TRUEFORGE_MTLS_CERTS_DIR to MTLS_ENABLED / MTLS_CERTS_DIR, so they are not confused with ServiceFoundry outbound mTLS (TRUEFOUNDRY_MTLS_*). Behavior is unchanged: distributed mode still serves HTTPS with client-cert enforcement (except /healthz), and the schedule controller still presents a client cert when calling SERVER_URL.

The rename is wired through config parsing, TLS helpers, server startup, client-cert middleware, and the HTTP schedule executor. The Helm chart now injects the new names when mtls.enabled is true, and docs / .env.example are updated accordingly.

Also adjusts the assistant-runtime migration changeset semver from major to minor for the UI/runtime packages.

Reviewed by Cursor Bugbot for commit f399713. Bugbot is set up for automated code reviews on this repo. Configure here.

@changeset-bot

changeset-bot Bot commented Sep 22, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f399713

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@truefoundry/trueforge-assistant-ui-runtime Minor
@truefoundry/trueforge-ui Minor
@truefoundry/trueforge Patch

Not sure what this means? Click here to learn what changesets are.

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

@chiragjn
chiragjn merged commit e8c500b into main Sep 22, 2026
2 checks passed
@chiragjn
chiragjn deleted the cj-rename-trueforge-mtls-vars branch September 22, 2026 10:07
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