test: add Linear to the emulate.dev tier once emulate's Linear schema matches Linear
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 34/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- Go
- Sterne
- 2
- Forks
- 0
- Ø Merge
- 7 Std. 37 Min.
- Gemergte PRs (30 T.)
- 26
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus coder/chat
-
feat(adapters/msteams): land Microsoft Teams adapter as experimental (needs live-tenant validation)Offenenhancement ready-for-human
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
Maintainer antworten meist innerhalb von 1 Tag
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Maintainer antworten meist innerhalb von 1 Tag
-
[Request]: pigOffenpackage-request
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
ScoopInstaller/Extras#19203 ·
Maintainer antworten meist innerhalb von 1 Tag
-
terminal: with OptionAsAlt, ⌥E types ´ after ESC e on macOSEvtl. vergeben @egoist hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
Maintainer antworten meist innerhalb von 1 Tag
-
security
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Waschndolos/open-clubmanager#185 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
router-for-me/CLIProxyAPI#7161 ·
Maintainer antworten meist innerhalb von 1 Tag