Skip to content

feat(forgejo): add the Forgejo SDK on alchemy-pointer - #560

Closed
wyattjoh wants to merge 2 commits into
alchemy-run:alchemy-pointerfrom
wyattjoh:wyattjoh/forgejo-on-alchemy-pin
Closed

feat(forgejo): add the Forgejo SDK on alchemy-pointer#560
wyattjoh wants to merge 2 commits into
alchemy-run:alchemy-pointerfrom
wyattjoh:wyattjoh/forgejo-on-alchemy-pin

Conversation

@wyattjoh

@wyattjoh wyattjoh commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Cherry-picks #550 onto alchemy-pointer. The packages/forgejo tree is identical to main's.

alchemy-pointer is what alchemy's submodules/distilled gitlink tracks, and it's 60 commits behind main. Repinning alchemy at main to pick up Forgejo would drag in every other SDK's regeneration and drop 894211f (fix(railway): drop admin-only platformFeatureFlags), which alchemy-run/alchemy#1479 landed for.

Forgejo's generator needs core's convert-time patch support, which isn't on this branch, so the first commit backports it:

packages/core/src/codegen/patches.ts               # finalizeConvert
packages/core/src/codegen/rewrite-operation-ids.ts # verbNounSmithyModel
packages/core/src/codegen/spec-path.ts             # resolveSpecPath

That's purely additive — no package on this branch imports them yet — and core/json-patch.ts is untouched: isStaleTargetError is called with the message rather than the thrown value, matching this branch's signature.

Two further adaptations in the Forgejo commit:

  • stacks/distilled-submodules/spec-repos/forgejo is omitted — the spec-mirror stack doesn't exist here
  • the packages/forgejo lockfile importer takes this branch's resolved catalog:tooling versions (@types/bun@1.4.0, @types/node@26.4.0), matching every sibling — main had since floated those latest specifiers to 1.4.1 / 26.4.1

Needed by alchemy-run/alchemy#1425.

@wyattjoh
wyattjoh force-pushed the wyattjoh/forgejo-on-alchemy-pin branch from 528ef6f to 9a0ed74 Compare September 7, 2026 23:41
Ports codegen/patches.ts, codegen/rewrite-operation-ids.ts, and
codegen/spec-path.ts from main (alchemy-run#545, alchemy-run#548, alchemy-run#549). Purely additive: no
package on this branch imports them yet. isStaleTargetError is called
with the message rather than the thrown value, so core/json-patch.ts
stays untouched.
Cherry-picks alchemy-run#550. The packages/forgejo tree is identical to main's; the
spec-mirror stack entry is dropped, and .gitmodules, tsconfig.json, and
the pnpm-lock importer take this branch's layout and its resolved
catalog versions.
@wyattjoh
wyattjoh force-pushed the wyattjoh/forgejo-on-alchemy-pin branch from 9a0ed74 to f1fe96a Compare September 8, 2026 18:06
@Mkassabov

Copy link
Copy Markdown
Collaborator

this is in main, please wait for alchemy and distilled releases for this to be included.

@Mkassabov Mkassabov closed this Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants