dispatch: add IssueFetcher config hook (default stays gh) #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
coily dispatchis locked to GitHub becausefetchIssueshells out togh apidirectly. Kais own work routes through Forgejo, so consumers need a way to swap the resolver without forking the whole dispatch package.Fix
IssueFetcherfunction type (or interface) todispatch.Config. Signature:func(ctx context.Context, ref *issueRef) (*ghIssue, error).Out of scope
issueRefURLRE. Add when first consumer needs it. coilys consumer can short-circuit by passingowner/repo#Nand resolving from the fetchers side.Trigger
Agentic-os v0.2.8 cleanup fan-out: 10 of 25 cleanup-issue repos are Forgejo-only and undispatchable until coily can resolve Forgejo refs.
dispatch: default issue tracker to Forgejo, fall back to GitHubto dispatch: add IssueFetcher config hook (default stays gh)