Add Linear round-trip fidelity integration test (#3187)#3255
Open
harry-miller-trimble wants to merge 1 commit intogastownhall:mainfrom
Open
Add Linear round-trip fidelity integration test (#3187)#3255harry-miller-trimble wants to merge 1 commit intogastownhall:mainfrom
harry-miller-trimble wants to merge 1 commit intogastownhall:mainfrom
Conversation
…#3187) Add TestLinearRoundTripCoreFields which verifies that a push→pull round-trip through Linear preserves title, description, priority, status, and external_ref. Uses a stateful mock GraphQL server that only stores what the client actually sends. Also adds TestLinearRoundTripRelationships as a skipped spec test documenting that parent-child, blocking deps, and issue type don't yet survive the round-trip (push doesn't send these fields). This becomes a regression gate when those features land. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
f9dbb9c to
8a63f3b
Compare
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.
Summary
Implements the round-trip fidelity integration test requested in #3187.
What's included
TestLinearRoundTripCoreFields— Full push→pull integration test that:TestLinearRoundTripRelationships— Skipped spec test documenting that parent-child hierarchy, blocking dependencies, and issue type do not yet survive a round-trip (push doesn't send parent/relation/label fields). Becomes a regression gate when those features land.Mock server design
The
mockLinearServeris a statefulhttptest.Serverthat:Key design decisions
runLinearSyncbut avoids global state/flag noiseWhat's NOT asserted (documented gap)
Per the issue's assertion table, these fields are requested but push doesn't currently support them:
parentIdThe skipped spec test documents this gap and will automatically become a regression gate when those features are implemented.
Closes #3187