fix(sdk): reject Cloudflare-native model IDs, bridge multi-part auth env vars#397
Open
sentry-junior[bot] wants to merge 5 commits into
Open
fix(sdk): reject Cloudflare-native model IDs, bridge multi-part auth env vars#397sentry-junior[bot] wants to merge 5 commits into
sentry-junior[bot] wants to merge 5 commits into
@sentry/warden / warden
completed
Jun 5, 2026 in 13m 23s
1 issue
Medium
Missing-Cloudflare-env early-exit returns 1 without emitting JSONL run log, breaking --json/--output contract - `packages/warden/src/cli/main.ts:10`
The new findMissingCloudflareEnv early-exit in runSkills (and the second call site at ~line 1536) calls reportMissingCloudflareEnv then return 1 without calling emitEmptyRunLog. With --json active no JSONL record is written to stdout, and with --output <path> no artifact file is written, even though every sibling failure path (invalid_model_selector, auth_failed, unknown) emits one. Add an emitEmptyRunLog call with an appropriate error code before return 1.
Also found at:
packages/warden/src/cli/main.ts:1201-1205
2 skills analyzed
| Skill | Findings | Duration | Cost |
|---|---|---|---|
| security-review | 0 | 5m 3s | $0.39 |
| code-review | 1 | 11m 43s | $5.11 |
⏱ 16m 46s · 4.8M in / 136.9k out · $5.50
Loading