test: add Linear to the emulate.dev tier once emulate's Linear schema matches Linear
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 34/100
Research direction
Start by reading testdata/emulate/seed.yaml and the Linear gap list in CONTRIBUTING.md, then check a pinned emulate release against the four schema and webhook gaps listed in the issue. Once all four are fixed upstream, add a TestEmulateLinear* flow from a signed webhook through the HTTP handler to a stored GraphQL reply. Confirm it passes with mise run emulate and skips when its environment variable is absent; update the gap list to describe only remaining issues.
Written by the indexing model from the issue text.
Description
Problem
The emulate.dev tier from #147 covers only the Slack adapter. A Linear flow (webhook → handler → GraphQL reply) cannot pass against emulate 0.12.3, because emulate's Linear schema differs from Linear's. I checked emulate 0.12.3 and 0.13.0; both have the same Linear code.
Userhas noorganizationfield, so the single-installInitquery (viewer { id name displayName organization { id } }) fails.CommentCreateInputhas noparentId, so every threaded comment reply fails variable validation.AgentActivityCreateInputis{sessionId, type, body}. Linear's is{agentSessionId, content}, so every agent activity fails.- Comment webhooks carry
data.userIdbut nodata.user, so the adapter ignores them as having no author.AgentSessionEventwebhooks carry the session indatainstead of the top-levelagentSession, so the adapter ignores them too.
Our adapter follows Linear's documented shapes, so these are emulate gaps, not adapter bugs. The owner chose to ship the tier without Linear tests (2026-10-30).
Proposal
Add a Linear emulate test when a pinned emulate release fixes these four gaps: a signed webhook from emulate → the adapter's HTTP handler → the handler → a GraphQL reply that emulate stores. The seed in testdata/emulate/seed.yaml already has a Linear team and an actor: app OAuth app.
Follow-up trigger: a new emulate release. Check its Linear schema for the four items above before bumping the pin.
Acceptance
TestEmulateLinear*passes against the pinned emulate withmise run emulaterunning and skips without its environment variable.- The Linear gap list in
CONTRIBUTING.mdshrinks to what is still true.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high
- Dominant language
- Go
- Stars
- 2
- Forks
- 0
- Avg merge
- 7h 37m
- Merged PRs (30d)
- 26
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from coder/chat
-
feat(adapters/msteams): land Microsoft Teams adapter as experimental (needs live-tenant validation)Openenhancement ready-for-human
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Maintainers usually reply within 1 day
Similar issues
-
Docker Hub credentials are not used for images written as docker.io/owner/namePossibly taken @Dev-next-gen claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
authelia/authelia#13659 · 2 comments ·
Maintainers usually reply within 1 day
-
good first issue help wanted testing
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sara-star-quant/Quantum-Go#139 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
YoanWai/agent-manager#948 ·
Maintainers usually reply within 1 day
-
area/gateway kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
vllm-project/aibrix#3369 · 1 comment ·
Maintainers usually reply within 1 day