Skip to content

v0.0.2 pre-alpha (profile sync fix)

Pre-release
Pre-release

Choose a tag to compare

@bit-incarnas bit-incarnas released this 22 Apr 22:44
· 14 commits to main since this release
c3db01b

v0.0.2 pre-alpha

Bugfix release. Fixes Sync all repo profiles failing with 404 Not Found against real GitHub.

Root cause

octokit.hook.wrap("request", ...) receives options after endpoint.merge but before endpoint.parse — so URL template expansion never ran when we bypassed the default request. Direct calls like client.rest.repos.get({owner, repo}) sent the literal template /repos/{owner}/{repo} to GitHub. Paginated calls (issues, PRs, releases, Dependabot) worked because plugin-paginate-rest's iterator pre-expands the URL.

Fix

Switch to the canonical request.fetch override pattern. Octokit's fetchWrapper now handles URL expansion, header composition, and auth injection; our custom fetch receives a fully-resolved request.

What else

  • No surface-area changes — same six commands, same settings, same file layout.
  • Bundle size unchanged (~141 KB).
  • All 235 tests passing.

Upgrade

BRAT users: BRAT: Check for updates for all beta plugins (or wait for BRAT's scheduled check).