Repository navigation
Conversation
…ptService Raises chat-service line coverage 83.70% -> 86.15%. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Unit tests only, no production code changes.
HttpServerstub and the package-private constructor with an injectable SSRF guard. Covers URL validation (null/blank/too long/malformed/non-http/no host), OG/twitter/<title>/meta-name fallbacks, entity decoding, image absolutizing (relative,javascript:, unresolvable), non-HTML and non-2xx responses, guard refusal (host never contacted), the guard running on every redirect hop, redirects up to the limit and past it, missing or invalid Location, connection refused, the total-timeout deadline, the MAX_BYTES body cap, andCappedBodySubscriber(zero cap, below cap, truncate+cancel, onError).Mutation sanity check: disabling the SSRF guard or changing the zero-cap body makes 3 LinkPreview tests fail (reverted).
Coverage (jacoco.csv, lines)
83.70% (6785/8106) -> 86.15% (6983/8106)
No bugs found, no disabled tests.
coverage-thresholds.txtnot touched.🤖 Generated with Claude Code