Skip to content

fix(download): show a manifest 400/403/404 instead of re-requesting t… - #357

Merged
finalerock44 merged 1 commit into
devfrom
fix/bundle-4xx-no-inline-fallback
Nov 24, 2026
Merged

finalerock44 merged 1 commit into
devfrom
fix/bundle-4xx-no-inline-fallback

Conversation

@finalerock44

Copy link
Copy Markdown
Contributor

…he inline route

When the bundle manifest request for artifacts or the HTML report answered 400, 403 or 404, the CLI fell back to the inline download route. That route gives the same answer, so the fallback only cost a second request before the same error. The error is now thrown from the manifest answer, using each caller's existing inline error handling, so the message stays the same.

A manifest 413, 501 or 5xx, a network error, and any failure on the bundle leg still fall back to the inline route. A thrown 400/403/404 is not a fallback and records no fallback event.

What & why

Type of change

  • fix — bug fix
  • feat — new feature
  • perf — performance improvement
  • refactor — code change that's neither a fix nor a feature
  • docs — documentation only
  • chore / ci / build / test — tooling, no user-facing change
  • Breaking change (title has ! or PR notes a BREAKING CHANGE:)

Checklist

  • PR title follows the Conventional Commits format (see comment above)
  • pnpm lint passes
  • pnpm typecheck passes
  • pnpm build passes
  • I have not bumped the version or edited CHANGELOG.md (the release workflow handles this)
  • I have signed the CLA (the bot will prompt on first contribution)
  • Docs / README.md / STYLE_GUIDE.md updated if behaviour or output changed

How to test

…he inline route

When the bundle manifest request for artifacts or the HTML report answered
400, 403 or 404, the CLI fell back to the inline download route. That route
gives the same answer, so the fallback only cost a second request before the
same error. The error is now thrown from the manifest answer, using each
caller's existing inline error handling, so the message stays the same.

A manifest 413, 501 or 5xx, a network error, and any failure on the bundle
leg still fall back to the inline route. A thrown 400/403/404 is not a
fallback and records no fallback event.
@finalerock44 finalerock44 self-assigned this Nov 24, 2026
@claude

claude Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

🤖 Generated with Claude Code

@finalerock44
finalerock44 merged commit 03c01df into dev Nov 24, 2026
9 checks passed
@finalerock44
finalerock44 deleted the fix/bundle-4xx-no-inline-fallback branch November 24, 2026 16:01
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.

1 participant