Skip to content
This repository was archived by the owner on Aug 12, 2026. It is now read-only.

feat: remove pinned/always_refresh logic and require explicit ref tags - #46

Merged
ineedjet merged 2 commits into
mainfrom
remove-pinned-and-tagless
Jun 24, 2026
Merged

ineedjet merged 2 commits into
mainfrom
remove-pinned-and-tagless

Conversation

@ineedjet

Copy link
Copy Markdown
Contributor

Summary

Removes the is_pinned / always_refresh concept entirely and requires an explicit tag on all GitHub refs.

Before:

  • Tagless ref (REPO:file.md) → auto-resolved to latest GitHub Release, nothing written back
  • Semver tag (@v0.2.3) → pinned, never re-fetched
  • Non-semver tag (@main, @v0.2) → always re-fetched
  • Problem: v0.2 matched the semver regex and was incorrectly treated as pinned

After:

  • Tag is always required — tagless refs are rejected at parse time with RefError
  • All refs are re-fetched on every embedder update run
  • Idempotency preserved by existing body-equality check (no file write if content unchanged)
  • v0.2, v0.2.3, main — all behave identically: fetch, compare, update if different

Removed: is_pinned, always_refresh, _latest_tag, tag: str | None nullable field.

🤖 Generated with Claude Code

All GitHub refs now re-fetch on every update run; idempotency is
preserved by the existing body-equality check. Tagless refs are
rejected at parse time — a tag is always required.

Removes: is_pinned, always_refresh, _latest_tag, tagless auto-latest.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@ineedjet
ineedjet merged commit afd9856 into main Jun 24, 2026
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant