Skip to content

feat(linear): expose issue activity history - #9667

Merged
brennanb2025 merged 4 commits into
mainfrom
brennanb2025/linear-activity-history
Jul 21, 2026
Merged

brennanb2025 merged 4 commits into
mainfrom
brennanb2025/linear-activity-history

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add --activity to issue reads and include it in --full
  • return normalized user, bot, and system actors with field-level changes
  • preserve capped pagination, partial include failures, CLI formatting, and SSH forwarding

Validation

  • focused Linear CLI/runtime tests (65 passing)
  • pnpm run typecheck:node
  • pnpm run typecheck:cli
  • max-lines and bundled skill guide checks

Live Electron agent validation (2026-07-21)

  • launched this exact branch in an isolated Electron dev app with the branch-local revision-3 orca-linear skill and ran a real Codex agent against the disposable orca test workspace
  • generated one stable history event on ORC-5 by moving it from Backlog to Todo, then verified orca linear issue ORC-5 --activity --workspace <test-workspace> --json returned the normalized actor plus the Backlog -> Todo state change
  • verified a normal issue read omitted activity and --full included the same event
  • all reads reported partial: false with no include errors; no Stably issue was accessed or mutated

@coderabbitai

coderabbitai Bot commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@brennanb2025, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 15 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 62529b8b-f0b7-413a-b30d-3d4b33df16af

📥 Commits

Reviewing files that changed from the base of the PR and between e7fa0b2 and 9f800a8.

📒 Files selected for processing (32)
  • resources/skills/current-manifest.json
  • resources/skills/snapshot-registry.json
  • skill-guides/linear-tickets.md
  • skill-guides/orca-linear.md
  • skills/linear-tickets/SKILL.md
  • skills/orca-linear/SKILL.md
  • src/cli/bundled-skill-guides.ts
  • src/cli/handlers/linear.test.ts
  • src/cli/help.ts
  • src/cli/index.test.ts
  • src/cli/linear-format.ts
  • src/cli/linear-request-builders.ts
  • src/cli/specs/linear.ts
  • src/main/linear/issue-activity-raw.ts
  • src/main/linear/issue-context-includes.test.ts
  • src/main/linear/issue-context-includes.ts
  • src/main/linear/issue-context-inline-media.test.ts
  • src/main/linear/issue-context.test.ts
  • src/main/runtime/orca-runtime.ts
  • src/main/runtime/rpc/methods/linear-agent-access.test.ts
  • src/main/runtime/rpc/methods/linear-agent-access.ts
  • src/main/ssh/ssh-remote-linear-activity-output.test.ts
  • src/main/ssh/ssh-remote-linear-cli.test.ts
  • src/main/ssh/ssh-remote-linear-output.ts
  • src/main/ssh/ssh-remote-linear-read-cli.ts
  • src/main/ssh/ssh-remote-linear-read-flags.ts
  • src/main/ssh/ssh-remote-linear-read-help.ts
  • src/main/ssh/ssh-remote-orca-cli.test.ts
  • src/main/ssh/ssh-remote-orca-cli.ts
  • src/shared/linear-agent-access.ts
  • src/shared/linear-agent-result-types.ts
  • src/shared/linear-issue-activity.ts
📝 Walkthrough

Walkthrough

Adds shared types for Linear issue activity and exposes an optional activity include in issue context results. Implements GraphQL history retrieval with pagination, raw-node normalization, actor mapping, change extraction, and metadata assignment. Updates local and SSH CLI flag parsing, request construction, formatting, help text, bundled guides, runtime shapes, and tests to support --activity.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ⚠️ Warning The description covers summary and validation, but it misses required template sections like Screenshots, AI Review Report, Security Audit, and Notes. Add the missing template sections, rename Validation to Testing, and include the AI review, security audit, screenshots/no visual change, and notes.
✅ Passed checks (3 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly matches the main change: exposing Linear issue activity history.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 096bc7e7-7734-471e-9626-05d47fd94bc5

📥 Commits

Reviewing files that changed from the base of the PR and between d5769d5 and e7fa0b2.

📒 Files selected for processing (10)
  • resources/skills/current-manifest.json
  • resources/skills/release-mapping.json
  • resources/skills/snapshot-registry.json
  • skill-guides/linear-tickets.md
  • skills/linear-tickets/SKILL.md
  • src/cli/bundled-skill-guides.ts
  • src/main/linear/issue-activity-raw.ts
  • src/main/linear/issue-context-includes.test.ts
  • src/main/runtime/rpc/methods/linear-agent-access.test.ts
  • src/main/runtime/rpc/methods/linear-agent-access.ts
🚧 Files skipped from review as they are similar to previous changes (4)
  • src/main/linear/issue-activity-raw.ts
  • src/main/runtime/rpc/methods/linear-agent-access.ts
  • src/cli/bundled-skill-guides.ts
  • src/main/linear/issue-context-includes.test.ts

Comment thread resources/skills/release-mapping.json Resolved
@brennanb2025
brennanb2025 force-pushed the brennanb2025/linear-activity-history branch from 56fee9d to 9f800a8 Compare July 21, 2026 20:03
@brennanb2025
brennanb2025 merged commit be066fe into main Jul 21, 2026
19 checks passed
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
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