The dashboard read DOCS_URL at build time (option_env!). The value orca-platform sets per environment was therefore ignored: staging and production share one image, and production's https://docs.breakpilot.com/pruefwerk/ never took effect. The docs link is now resolved at runtime, the same way as PORTAL_URL (#365).
Change
Server side: reads DOCS_URL at startup, with /docs/ as the default (the docs container on the dashboard host). check_auth passes it to the shell in AuthInfo.docs_url (#[serde(default)]), logged in or not.
Sidebar: uses that value, so the server render and hydration agree.
Dockerfile.dashboard: the DOCS_URL build argument is gone.
server.rs: one env_setting helper now reads the three optional settings (MCP_HEALTH_URL, PORTAL_URL, DOCS_URL), where each used to repeat the same trim/blank check.
.env.example: documents DOCS_URL.
The values configured today all answer 200: https://pruefwerk-stage.breakpilot.com/docs/ on staging and https://docs.breakpilot.com/pruefwerk/ on production.
Checked
cargo fmt --all --check.
clippy with the CI flags for the dashboard (server, web) and compliance-core.
Dashboard tests: 47 for server and 31 for web, including a new one for blank settings.
The dashboard read `DOCS_URL` at build time (`option_env!`). The value orca-platform sets per environment was therefore ignored: staging and production share one image, and production's `https://docs.breakpilot.com/pruefwerk/` never took effect. The docs link is now resolved at runtime, the same way as `PORTAL_URL` (#365).
## Change
- **Server side:** reads `DOCS_URL` at startup, with `/docs/` as the default (the docs container on the dashboard host). `check_auth` passes it to the shell in `AuthInfo.docs_url` (`#[serde(default)]`), logged in or not.
- **Sidebar:** uses that value, so the server render and hydration agree.
- **`Dockerfile.dashboard`:** the `DOCS_URL` build argument is gone.
- **`server.rs`:** one `env_setting` helper now reads the three optional settings (`MCP_HEALTH_URL`, `PORTAL_URL`, `DOCS_URL`), where each used to repeat the same trim/blank check.
- **`.env.example`:** documents `DOCS_URL`.
The values configured today all answer 200: `https://pruefwerk-stage.breakpilot.com/docs/` on staging and `https://docs.breakpilot.com/pruefwerk/` on production.
## Checked
- `cargo fmt --all --check`.
- clippy with the CI flags for the dashboard (`server`, `web`) and compliance-core.
- Dashboard tests: 47 for server and 31 for web, including a new one for blank settings.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
DOCS_URL was read at build time, so the per-environment value in the
orca service files was ignored (staging and production share an
image). The server now reads it at startup (default /docs/) and hands
it to the sidebar with the auth info, like PORTAL_URL.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang
merged commit 79b8bef8ba into main2026-09-25 07:54:08 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The dashboard read
DOCS_URLat build time (option_env!). The value orca-platform sets per environment was therefore ignored: staging and production share one image, and production'shttps://docs.breakpilot.com/pruefwerk/never took effect. The docs link is now resolved at runtime, the same way asPORTAL_URL(#365).Change
DOCS_URLat startup, with/docs/as the default (the docs container on the dashboard host).check_authpasses it to the shell inAuthInfo.docs_url(#[serde(default)]), logged in or not.Dockerfile.dashboard: theDOCS_URLbuild argument is gone.server.rs: oneenv_settinghelper now reads the three optional settings (MCP_HEALTH_URL,PORTAL_URL,DOCS_URL), where each used to repeat the same trim/blank check..env.example: documentsDOCS_URL.The values configured today all answer 200:
https://pruefwerk-stage.breakpilot.com/docs/on staging andhttps://docs.breakpilot.com/pruefwerk/on production.Checked
cargo fmt --all --check.server,web) and compliance-core.🤖 Generated with Claude Code
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p