mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
ci: restore install.rs server-symbol allowlist and worker-token scrub exemption
Both Boundary checks have been red on main for multiple commits: - check-boundary.sh: install.rs reintroduced direct use of fabro_config::ServerSettings::from_layer in93b6577cdbut was dropped from server_symbol_allowlist inbb0d05be2. Re-add it. - check-env-mutation.sh: the worker FABRO_WORKER_TOKEN scrub added in077469d0cis documented as the approved pattern in docs-internal/server-secrets-strategy.md but was missing from the allowlist. Add the exact line. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
077469d0c6
commit
b5b67226f1
2 changed files with 2 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ cd "$(dirname "$0")/../.."
|
|||
|
||||
server_symbol_allowlist=(
|
||||
"lib/crates/fabro-cli/src/local_server.rs"
|
||||
"lib/crates/fabro-cli/src/commands/install.rs"
|
||||
"lib/crates/fabro-cli/src/commands/run/runner.rs"
|
||||
"lib/crates/fabro-cli/src/commands/pr/mod.rs"
|
||||
"lib/crates/fabro-cli/src/commands/pr/create.rs"
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ while IFS= read -r match; do
|
|||
case "$path:$line" in
|
||||
"lib/crates/fabro-telemetry/src/spawn.rs:std::env::set_var(key, value);" | \
|
||||
"lib/crates/fabro-telemetry/src/spawn.rs:std::env::remove_var(key);" | \
|
||||
'lib/crates/fabro-cli/src/main.rs:std::env::remove_var("FABRO_WORKER_TOKEN");' | \
|
||||
'lib/crates/fabro-server/src/install.rs:std::env::set_var("FABRO_TEST_IN_MEMORY_STORE", "1");')
|
||||
continue
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue