Skip to content

fix(api): redact OpenAPI fallback errors - #70

Merged
patricksmill merged 5 commits into
mainfrom
cursor/critical-bug-management-6817
Sep 28, 2026
Merged

patricksmill merged 5 commits into
mainfrom
cursor/critical-bug-management-6817

Conversation

@cursor

@cursor cursor Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

Fix OpenAPI fallback error aggregation so failed authenticated spec downloads do not embed raw HTTP response bodies or nested request URLs in aggregate errors. This prevents later logging/user-facing paths from exposing echoed Authorization headers or URL credentials/query tokens.

Crate(s)

  • romm-api
  • romm-cli
  • romm-tui
  • docs / CI only

Checklist

  • cargo fmt --check passes (cargo +stable fmt --all -- --check)
  • Both cargo clippy runs pass for touched crate (cargo +stable clippy -p romm-api --all-features -- -D warnings; cargo +stable clippy -p romm-api --no-default-features -- -D warnings)
  • Scoped tests pass with reason: API crate touched only (cargo +stable test -p romm-api)
  • PR title uses Conventional Commits with the right scope for the changelog
  • No real secrets, tokens, or personal config in the diff (dummy token strings are regression fixtures only)
  • User-facing changes documented in the relevant docs/*.md if needed (not needed; logging/error sanitization only)
Open in Web View Automation 

cursoragent and others added 5 commits September 28, 2026 16:29
Co-authored-by: Patrick Mill <patricksmill@users.noreply.github.com>
Co-authored-by: Patrick Mill <patricksmill@users.noreply.github.com>
Co-authored-by: Patrick Mill <patricksmill@users.noreply.github.com>
Co-authored-by: Patrick Mill <patricksmill@users.noreply.github.com>
Co-authored-by: Patrick Mill <patricksmill@users.noreply.github.com>
@patricksmill
patricksmill marked this pull request as ready for review September 28, 2026 20:29
@patricksmill
patricksmill force-pushed the cursor/critical-bug-management-6817 branch from 5dd97d4 to 0e96e10 Compare September 28, 2026 20:29
@patricksmill
patricksmill merged commit 2393761 into main Sep 28, 2026
@patricksmill
patricksmill deleted the cursor/critical-bug-management-6817 branch September 28, 2026 20:29
@github-actions github-actions Bot mentioned this pull request Sep 28, 2026
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.

2 participants