Skip to content

Backport #4193 and #4243 to V6.2 (v6.2.6)#4245

Open
reinkrul wants to merge 3 commits into
V6.2from
backport-4193-v6.2
Open

Backport #4193 and #4243 to V6.2 (v6.2.6)#4245
reinkrul wants to merge 3 commits into
V6.2from
backport-4193-v6.2

Conversation

@reinkrul
Copy link
Copy Markdown
Member

Summary

Backports two fixes from master to V6.2:

  • #4193 — Exclude retraction presentations from Discovery Service search results
  • #4243 — Make HTTP error handler idempotent on already-committed responses

Adds release notes for v6.2.6.

Assisted by AI

reinkrul and others added 3 commits May 11, 2026 13:30
Retraction markers are stored on the timeline so Get() can replicate
them, but must not surface from Search(). With an empty query, no
credential join was applied, so retraction VPs (which have no
credentials) were returned to API callers.

Fixes #4192

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Echo's BodyDump middleware (used when http.log: metadata-and-body) calls
c.Error(err) on its way out and still returns the err, so echo's server
loop invokes HTTPErrorHandler a second time for the same request. The
first invocation wrote the response correctly; the second logged the
operation error a second time and warned "Unable to send error back to
client, response already committed" — visible noise without a real
problem. echo.DefaultHTTPErrorHandler short-circuits on Committed=true;
ours did not. Mirror that behavior.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@qltysh
Copy link
Copy Markdown
Contributor

qltysh Bot commented May 11, 2026

Qlty


Coverage Impact

⬇️ Merging this pull request will decrease total coverage on V6.2 by 0.01%.

Modified Files with Diff Coverage (2)

RatingFile% DiffUncovered Line #s
Coverage rating: B Coverage rating: B
discovery/store.go100.0%
Coverage rating: B Coverage rating: A
core/echo_errors.go93.3%93
Total94.1%
🤖 Increase coverage with AI coding...
In the `backport-4193-v6.2` branch, add test coverage for this new code:

- `core/echo_errors.go` -- Line 93

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

@qltysh
Copy link
Copy Markdown
Contributor

qltysh Bot commented May 11, 2026

0 new issues

Tool Category Rule Count

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