Skip to content

fix(core): surface API error detail and the failing endpoint URL#1619

Open
JulianMaurin wants to merge 1 commit into
devs/JulianMaurin/fix/stack-push-output/restore-prefix-match-error-detail-found-exit-codes--52793895from
devs/JulianMaurin/fix/stack-push-output/surface-api-error-detail-failing-endpoint-url--76d98c2d
Open

fix(core): surface API error detail and the failing endpoint URL#1619
JulianMaurin wants to merge 1 commit into
devs/JulianMaurin/fix/stack-push-output/restore-prefix-match-error-detail-found-exit-codes--52793895from
devs/JulianMaurin/fix/stack-push-output/surface-api-error-detail-failing-endpoint-url--76d98c2d

Conversation

@JulianMaurin

Copy link
Copy Markdown
Contributor

HTTP error rendering dumped the raw response body — so a Mergify API {"detail": "..."} envelope reached the user verbatim — and never showed which URL failed. Extract the JSON detail field when present (falling back to the raw body), and append a trailing url: line on HTTP errors plus the contacted URL on network/timeout errors, matching the Python check_for_status output.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

Depends-On: #1618

@JulianMaurin

JulianMaurin commented Jun 16, 2026

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 fix(stack): restore prefix-match error detail and not-found exit codes #1618
2 fix(core): surface API error detail and the failing endpoint URL #1619 👈
3 fix(ci,queue,stack): restore minor output details lost in the port #1620
4 fix(stack): reapply cherry-picks when dropping merged commits during sync #1630
5 feat(stack): stream push progress with live in-place rows #1633

@mergify

mergify Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Merge Protections

🔴 3 of 6 protections blocking · waiting on 👀 reviews and 🙋 you

Protection Waiting on
🔴 ⛓️ Depends-On Requirements 🙋 you
🔴 👀 Review Requirements 👀 reviews
🔴 🔎 Reviews 👀 reviews
🟢 🤖 Continuous Integration
🟢 Enforce conventional commit
🟢 📕 PR description

🔴 ⛓️ Depends-On Requirements

Waiting for

This rule is failing.

Requirement based on the presence of Depends-On in the body of the pull request

🔴 👀 Review Requirements

Waiting for

  • #approved-reviews-by>=2
This rule is failing.
  • any of:
    • #approved-reviews-by>=2
    • author = dependabot[bot]
    • author = mergify-ci-bot
    • author = renovate[bot]

🔴 🔎 Reviews

Waiting for

  • #review-requested = 0
This rule is failing.
  • #review-requested = 0
  • #changes-requested-reviews-by = 0
  • #review-threads-unresolved = 0

@mergify mergify Bot requested a review from a team June 16, 2026 22:02
@JulianMaurin JulianMaurin marked this pull request as ready for review June 17, 2026 07:28
HTTP error rendering dumped the raw response body — so a Mergify API `{"detail": "..."}` envelope reached the user verbatim — and never showed which URL failed. Extract the JSON `detail` field when present (falling back to the raw body), and append a trailing `url:` line on HTTP errors plus the contacted URL on network/timeout errors, matching the Python check_for_status output.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Change-Id: I76d98c2d9a91d6ba5ad1747c91c56d4e1ade869f
@JulianMaurin JulianMaurin force-pushed the devs/JulianMaurin/fix/stack-push-output/surface-api-error-detail-failing-endpoint-url--76d98c2d branch from 643363e to 4396d07 Compare June 17, 2026 17:44
@JulianMaurin JulianMaurin force-pushed the devs/JulianMaurin/fix/stack-push-output/restore-prefix-match-error-detail-found-exit-codes--52793895 branch from 266f9bb to 2675a1a Compare June 17, 2026 17:44
@JulianMaurin

Copy link
Copy Markdown
Contributor Author

Revision history

# Type Changes Reason Date
1 initial 643363e 2026-06-17 17:44 UTC
2 rebase 643363e → 4396d07 (rebase only) 2026-06-17 17:44 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant