Repository navigation
chore: merge the fork integration branch into fork main - #16
Merged
Merged
Conversation
Introspects https://api.linear.app/graphql without a token. The SDL in linear/linear is not used: it merges in Linear's separate webhooks graph, whose types the API does not serve. spec-mirror-linear is created by the distilled-submodules stack on merge to main; .gitmodules carries the stanza only until then. Claude-Session: https://claude.ai/code/session_017XkVsLctDAwhj9PagorKFe
Hand-written parts of @distilled.cloud/linear, modelled on railway: credentials (LINEAR_API_KEY sent bare, LINEAR_ACCESS_TOKEN as Bearer), the GraphQL transport, convert/generate scripts, error contracts observed against the live API, mock-transport tests, and the README. Claude-Session: https://claude.ai/code/session_017XkVsLctDAwhj9PagorKFe
Replace rather than add /globalErrors so a stale pointer fails loudly, and say why LinearNotFound is global. Make the patch README self-contained and point both READMEs at pnpm generate linear instead of the local-spec workflow. Drop the non-null assertion from the quick start. Cover UnknownGraphQLError, GraphQLFailure, GraphQLTransportError and Query.items, as railway's suite does. Claude-Session: https://claude.ai/code/session_012XFbNYDzLmbTAa1whSqVZh
DISTILLED_SPECS_LOCAL=1 pnpm generate linear: 173 query and 380 mutation roots from the introspection schema. Claude-Session: https://claude.ai/code/session_017XkVsLctDAwhj9PagorKFe
Developer tools group, a search hint, the svgl.app mark in currentColor, and a pr-package.yml entry. Claude-Session: https://claude.ai/code/session_017XkVsLctDAwhj9PagorKFe
Follows alchemy-run#711 and alchemy-run#710 on main: scripts run under node --conditions=bun, the test uses vitest, the mirror template runs on pnpm + Node, and CredentialsFromToken takes a Redacted token. Regenerated output differs only in formatting. Claude-Session: https://claude.ai/code/session_01QvFeANvxMj66HhJgZscPXH
Linear is a GraphQL Query SDK; core/graphql types its errors per root, so it has no <Sdk>OpError union. Claude-Session: https://claude.ai/code/session_01QvFeANvxMj66HhJgZscPXH
# Conflicts: # packages/inngest/scripts/convert.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge the
forkintegration branch (e1f165f66, the SHA alchemy currently pins assubmodules/distilled) into the forkmainline, so main becomes a superset of what alchemy already consumes.packages/linear(GraphQL SDK,@distilled.cloud/linear) and its spec-repo stack entry..github/workflows/pr-package.ymlstays deleted.scripts/package-manifest.tsdiscoverspackages/linearon its own.packages/inngest/scripts/convert.tskeeps the top-levelheaderParams: truefrom chore(inngest): merge the X-Inngest-Env and v1 API branches #14, so v1 ops keep the optionalxInngestEnvheader. Theforkbranch's v2-only scoping is dropped.packages/linearimporter only. Nothing underpackages/inngestchanges.Stacked on #15.
pnpm exec tsc -bclean on1a123bcfa.https://claude.ai/code/session_01M76rkZ4YR9gqkh5y4d55aq