Skip to content

chore(plugin-memory): bump to OKF release + automate future pin bumps - #197

Merged
ontehfritz merged 1 commit into
mainfrom
chore/plugin-okf-server-pin
Jun 22, 2026
Merged

ontehfritz merged 1 commit into
mainfrom
chore/plugin-okf-server-pin

Conversation

@ontehfritz

@ontehfritz ontehfritz commented Jun 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Chores
    • Updated plugin version to 0.9.0
    • Updated managed binary dependencies to latest releases (server 0.18.0, client 0.13.0, tools 0.2.0)
    • Implemented automated system to maintain current dependency versions

@coderabbitai

coderabbitai Bot commented Jun 22, 2026 •

Copy link
Copy Markdown

Review Change Stack

Walkthrough

Adds a Bash script (.github/scripts/bump-plugin-pins.sh) and GitHub Actions workflow (.github/workflows/plugin-pin-bump.yml) to automate daily resolution and PR creation for managed-binary version pins. Simultaneously bumps SERVER_VERSION, CLIENT_VERSION, and TOOLS_VERSION in lib.sh and increments the plugin manifest version to 0.9.0 in both plugin.json and marketplace.json.

Changes

Plugin Pin Automation and Version Bumps

Layer / File(s) Summary
bump-plugin-pins.sh automation script
.github/scripts/bump-plugin-pins.sh
New portable Bash script: resolves latest semver tags for server/client/tools via gh release list, diffs against pins in lib.sh, updates pins via temp-file sed, patch-bumps plugin.json via jq, updates marketplace.json via scoped awk, and writes changed plus version outputs to $GITHUB_OUTPUT. Exits early with changed=false when already current; exits 1 if any version cannot be resolved.
plugin-pin-bump GitHub Actions workflow
.github/workflows/plugin-pin-bump.yml
New workflow triggered on daily cron, published releases, and manual dispatch. Runs the bump script and—if it reports changes—force-pushes a auto/plugin-pin-bump branch and creates or updates a single PR targeting main via gh pr edit/gh pr create.
Manual pin and manifest version bumps
plugins/claude-code/scripts/lib.sh, plugins/claude-code/.claude-plugin/plugin.json, .claude-plugin/marketplace.json
SERVER_VERSION → 0.18.0, CLIENT_VERSION → 0.13.0, TOOLS_VERSION → 0.2.0; plugin manifest version → 0.9.0 in both manifests.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • latebit-io/demarkus#168: Directly touches the same files — lib.sh pin constants and both manifest files — with the same version-bump pattern.
  • latebit-io/demarkus#176: Bumps the demarkus-memory plugin version in marketplace.json and plugin.json, overlapping with this PR's manifest version increment logic.
  • latebit-io/demarkus#145: Bumps the same plugins/claude-code plugin manifest version and the same pinned binary constants in lib.sh.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 40.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed Title follows Conventional Commits format with valid type 'chore' and custom scope 'plugin-memory', clearly summarizing the dual purposes of bumping to OKF release and automating future pin updates.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/plugin-okf-server-pin

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/plugin-pin-bump.yml:
- Line 28: The actions/checkout action on line 28 uses a mutable version tag
(v4) which can be force-updated by maintainers, creating a supply-chain security
risk. Replace the version tag with a pinned 40-character commit SHA instead of
`@v4` to ensure the action resolves to a specific immutable commit. Include the
version tag as a comment after the SHA for maintainability and future reference
when updates are needed via Dependabot.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 7ce1c082-b8c2-4921-a2cc-6000f0fe967b

📥 Commits

Reviewing files that changed from the base of the PR and between 68b7b7d and a15a489.

📒 Files selected for processing (5)
  • .claude-plugin/marketplace.json
  • .github/scripts/bump-plugin-pins.sh
  • .github/workflows/plugin-pin-bump.yml
  • plugins/claude-code/.claude-plugin/plugin.json
  • plugins/claude-code/scripts/lib.sh

Comment thread .github/workflows/plugin-pin-bump.yml
@ontehfritz
ontehfritz merged commit 85cafa7 into main Jun 22, 2026
1 check passed
@ontehfritz
ontehfritz deleted the chore/plugin-okf-server-pin branch June 22, 2026 19:24
@coderabbitai coderabbitai Bot mentioned this pull request Jul 5, 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.

1 participant