feat: `--secret-env <env-var-name>`
by dsherret
·
Feb 06, 2026 at 19:37 UTC
·
scan-6ca85397ec4e143e
Get this automatically on every PR
Install the Axiomo GitHub App to get Signals as check runs and PR comments on every pull request.
Risk level: High (65%)
Introduce a feature to handle secret environment variables in fetch requests.
cli/args/flags.rs adds secret_env option
ext/fetch/secrets_replacer.rs implements secrets replacement logic
Main.ts script not shown in diff
Trusted contributor with 1737 merged PRs. maintains 166 public repositories. has 2061 followers. unfamiliar with ext/fetch/secrets_replacer.rs.
Focus on 1 critical file(s)
ext/fetch/secrets_replacer.rs
+358
358 lines changed; New file; Source code
cli/args/flags.rs
+18
Source code
ext/fetch/lib.rs
+11
Source code
cli/args/mod.rs
+4
Source code
cli/factory.rs
+5
Source code
cli/lib/worker.rs
+5
Source code
cli/rt/run.rs
+3
Source code
runtime/worker.rs
+3
Source code
Cargo.toml
+2
Configuration
ext/fetch/Cargo.toml
+2
Configuration
70
minutes to review
high
effort level
none
staleness risk
Allocate focused review time
Some concerns to address before approval
Why is tests_passing missing? Consider adding this check.
Why is security_scan_clean missing? Consider adding this check.
ext/fetch/secrets_replacer.rs
Critical file: 358 lines changed; New file; Source code