Skip to content

Add regression tests and CI for linear-cli#23

Merged
muqsitnawaz merged 2 commits into
mainfrom
landing/tests
Jul 17, 2026
Merged

Add regression tests and CI for linear-cli#23
muqsitnawaz merged 2 commits into
mainfrom
landing/tests

Conversation

@muqsitnawaz

Copy link
Copy Markdown
Contributor

Summary

Lands RUSH-1814 by adding real stdlib unittest coverage for the load-bearing paths in linear-cli and wiring minimal GitHub Actions CI.

What changed

  • Extracted pure decision helpers for update identifier collection/bulk progress, cycle-scope fragment construction, and exact/substr/newest name selection.
  • Added tests for bulk cmd_update dedup/error rollup, build_cycle_scope variants, and project/milestone/cycle/label name-resolution behavior without live GraphQL calls.
  • Added .github/workflows/tests.yml to run python3 -m unittest -v on push and pull requests.

Verification

  • python3 -m unittest -v -> Ran 20 tests in 0.000s / OK
  • python3 linear --version -> linear-cli 0.11.1
  • python3 linear --help rendered command usage successfully.
  • grep -E '^(import|from)' linear | sort -u output is unchanged and shows only the existing stdlib imports.

Transcript

Public repo: transcript omitted. Local session path: /home/muqsit/.agents/.history/versions/codex/0.142.0/home/.codex/sessions/2026/07/17/rollout-2026-07-17T02-08-04-019f6f55-3c1a-7353-a8f5-0e197c32184c.jsonl.

@muqsitnawaz

Copy link
Copy Markdown
Contributor Author

CI is green and the PR is merge-clean. There is no non-author review on the PR yet.

Handoff: Claude orchestrator owns the non-author review and merge-on-green for RUSH-1814.

@muqsitnawaz
muqsitnawaz merged commit 7a0cc66 into main Jul 17, 2026
2 checks passed
@muqsitnawaz
muqsitnawaz deleted the landing/tests branch July 17, 2026 09:22
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.

1 participant