Skip to content

feat(#96): linker cleanup — LinkerResult, slug-matching, dead code removal - #97

Merged
androidand merged 2 commits into
mainfrom
feat/96-linker-cleanup
Jul 27, 2026
Merged

feat(#96): linker cleanup — LinkerResult, slug-matching, dead code removal#97
androidand merged 2 commits into
mainfrom
feat/96-linker-cleanup

Conversation

@androidand

Copy link
Copy Markdown
Owner

What ships

  • LinkerResult with Source — sync now reports whether an issue was resolved from branch name or cache
  • Slug-aware branch matchingfeat/42-my-change only resolves for my-change, not all changes
  • Dead code removed — MarkerResolver (expensive API call) and ExternalResolver (placeholder) gone
  • Pull simplified — uses BranchResolver directly instead of full Linker chain
  • Site — added linker feature to features.json
  • npm — bumped to 0.10.0

Tests

395 tests pass, 2 dead tests removed (ExternalResolver, resolveOpenSpecDir).

…dead code removal

- Add LinkerResult struct with Ref and Source fields for dry-run visibility
- Fix BranchResolver slug-matching: feat/42-slug only resolves for 'slug'
- Remove MarkerResolver (expensive API call per change, never needed)
- Remove ExternalResolver (dead placeholder code)
- Simplify Pull to use BranchResolver directly instead of full Linker chain
- BuildSyncLinker uses only BranchResolver (cache handled per-provider)
- Update all tests to use *LinkerResult, remove dead resolver tests
@androidand
androidand merged commit 079b913 into main Jul 27, 2026
2 checks passed
@androidand
androidand deleted the feat/96-linker-cleanup branch July 27, 2026 22:19
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.

1 participant