Repository navigation
test(api): drop KNOWN_GAPS entries that #441 implemented - #484
Merged
Merged
Conversation
main is currently red on the contract test. #439 landed the test with an 85-entry baseline captured before #441 merged; #441 implemented two of those entries, so the stale-entry assertion now fires on every run: GET /v1/profiles/slug/check PATCH /v1/profiles/slug That is the assertion doing its job — it exists so a baseline cannot quietly drift out of date — but it needs the two lines removed. Baseline drops 85 -> 83. Verified red before and green after: checked out origin/main in a scratch worktree and reproduced the failure naming both entries, then confirmed 3/3 pass with this change. Co-Authored-By: Claude Opus 5 <[email protected]>
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.
mainis currently red on the SDK↔api contract test.#439 landed the test with an 85-entry
KNOWN_GAPSbaseline that was captured before #441 merged. #441 implemented two of those entries, so the stale-entry assertion fires on every run:This is the assertion working as intended — it exists precisely so a baseline can't quietly drift out of date once endpoints get implemented — but the two lines need removing. Baseline drops 85 → 83.
Verification
Reproduced red on
origin/mainin a scratch worktree, naming both entries, then confirmed green with this change:deno test --allow-read packages/supabase/functions/api/__tests__/contract/I also confirmed the two routers coexist correctly after the merge — #441's static
/slug/checkandPATCH /slugregister ahead of #439's/slug/{slug}param route, so neither is swallowed. Against the local stack:/slug/checkand/slug/historyreturn 401 from their own handlers,/slug/ericreturns the profile,/slug/no-such404s.Remaining gaps are tracked in #447.
🤖 Generated with Claude Code