Combine linear with github project board api
Dev board with PR status upgrade
Upgraded multi-step Linear GraphQL plus GitHub repos (replaces single-step batch1). For "combine linear with github project board api", store LINEAR_API_KEY, GITHUB_TOKEN in Secret Vault, call https://api.linear.app/graphql from a Worker, and let Frontend / Web hit only https://realcomposer.com/v1/workspace/combine-linear-with-github-board with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.
Serial Linear and GitHub calls slow Frontend / Web pages
Each extra Linear and GitHub hop adds hundreds of milliseconds and another OAuth refresh path your UI must manage.
- One slow upstream blocking an entire page
- Partial failures leaving UI in inconsistent states
- Duplicate auth refresh logic per service
How RealComposer Solves This at the Edge
Store upstream credentials in Secret Vault
Create LINEAR_API_KEY, GITHUB_TOKEN vault entries, then bind them to this pipeline step headers with {{secrets.NAME}} placeholders.
Configure upstream steps and output mapping
Use POST against https://api.linear.app/graphql. Allowed origins on the client token should match post pipelines set cache ttl to 0 because realcomposer only stores get responses at the edge.
Call from Frontend / Web
Authorize with Bearer rc_live_ and fetch the mapped JSON contract your UI already expects.
const res = await fetch('https://realcomposer.com/v1/workspace/combine-linear-with-github-board', {
headers: { Authorization: 'Bearer rc_live_your_token' }
});
{
"requestId": "req_combine-",
"upstreamLatencyMs": 142,
"audit": {
"region": "edge",
"trace": "combine-linear-with-github-board"
},
"payload": {
"id": "sample_id",
"status": "active",
"nested": {
"tags": [
"demo"
],
"internal": true
},
"unused_blob": {
"foo": "bar",
"bar": "baz"
}
}
}
{
"linear_issueId": "sample",
"linear_title": "sample",
"github_repoId": "sample",
"github_fullName": "sample"
}
Recipe Specs
- HTTP method
- POST
- Upstream calls
- 2
- Edge cache TTL
- No caching
- Client auth
- Restricted client token
- Mapped output fields
- 4
- Payload
- 251 B to 103 B (-59%)
curl -X POST "https://realcomposer.com/v1/workspace/combine-linear-with-github-board" \
-H "Authorization: Bearer rc_live_client_token" \
-H "Content-Type: application/json" \
-d '{"model":"example"}'Developer Questions & Troubleshooting
Can Frontend / Web call Linear without holding the production key?
Use scoped tokens where the vendor allows them on combine-linear-with-github-board. Admin keys stay {{secrets.*}} references only.
How do I forward JSON bodies to POST upstreams?
combine-linear-with-github-board keeps cache TTL at 0 because it uses POST upstream calls or per-user responses. Add ids to query strings before enabling GET cache.
How do I rotate upstream credentials?
Upstream steps in combine-linear-with-github-board honor timeoutMs and optional fallback JSON without leaking secrets.
Sources & Definitions Used in This Answer
Deploy this Frontend / Web + Linear, GitHub Recipe
Clone this pre-configured pipeline into your RealComposer workspace in one click. We pre-populate upstream URLs, headers, and mapping rules.