Repository navigation
test(tracker): follow cli-core 3.12's tracker contract - #51
Merged
Merged
Conversation
cli-core 3.12 refuses a --dry-run reference the copy lacks (#3636, #3647) and adds milestones create, which Linear's writes do not name. Three tests broke in cli-core's parity run: - the two write previews named a user and empty team and status the sampled copy lacks; they now run on cli-core's tracker manifest fake, whose copy holds distinct teams, states, labels, projects and users, so --status is covered again; - run-scope skipped milestones create, which this program does not mount. They pass on the pinned cli-core 3.9.0 and on a 3.12.0 build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Why
cli-core 3.12.0's publish stops at parity on linear-cli (run, cli-core#3157). cli-core 3.12 refuses a
--dry-runreference the copy lacks (cli-core#3636, #3647) and addsmilestones create, mounted only for a tracker whose writes namemilestone; Linear's do not.What
src/writes.test.ts: the two write previews ran on the sampled GraphQL fake, whose copy has one row of each kind and no states, with a made-up assignee and empty team and status. They now run on cli-core's tracker manifest fake (assrc/tracker-sprints.test.tsdoes) and name its rows, so--statusis covered again.src/run-scope.test.ts: skips nomilestones create, which this program does not mount.Tests only; no product change.
Testing
refusedBy: ["issues.assign-others"]instead.🤖 Generated with Claude Code