test: add Linear to the emulate.dev tier once emulate's Linear schema matches Linear
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 34/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Go
- Star
- 2
- Fork
- 0
- Merge trung bình
- 7 giờ 37 phút
- Pull request đã merge (30 ngày)
- 26
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của coder/chat
-
feat(adapters/msteams): land Microsoft Teams adapter as experimental (needs live-tenant validation)Đang mởenhancement ready-for-human
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
caddyserver/caddy#8314 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
hashicorp/golang-lru#245 ·
-
graphite: empty metric registry logs nil as an error and still dialsCó thể đã có người làm @helmipradita đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
prometheus/client_golang#2203 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
spotify/flink-on-k8s-operator#1075 ·