Skip to content

chore(release): sync repository version to 2.0.974 [skip release publish]#1289

Open
kantorcodes wants to merge 1 commit into
mainfrom
release/sync-repository-version-v2.0.974
Open

chore(release): sync repository version to 2.0.974 [skip release publish]#1289
kantorcodes wants to merge 1 commit into
mainfrom
release/sync-repository-version-v2.0.974

Conversation

@kantorcodes

Copy link
Copy Markdown
Member

Summary

  • sync repository version files to 2.0.974 after publish
  • keep repo-visible version metadata aligned with the released package artifacts

Testing

  • uv sync --frozen && uv run --no-sync python scripts/sync_repo_version.py --version "2.0.974"

@kantorcodes kantorcodes enabled auto-merge (squash) July 3, 2026 20:28
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@kilo-code-bot

kilo-code-bot Bot commented Jul 3, 2026

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • pyproject.toml
  • src/codex_plugin_scanner/version.py

Reviewed by step-3.7-flash-20260528 · Input: 47.3K · Output: 2.4K · Cached: 171K

@greptile-apps

greptile-apps Bot commented Jul 3, 2026

Copy link
Copy Markdown

Greptile Summary

This PR syncs the repository version metadata to 2.0.974. The main changes are:

  • pyproject.toml project version updated from 2.0.967 to 2.0.974.
  • Runtime __version__ updated in src/codex_plugin_scanner/version.py.
  • Editable package version updated in uv.lock.

Confidence Score: 5/5

Safe to merge with minimal risk.

Changes are limited to consistent version metadata updates across the expected files. No functional code, dependencies, or shared contracts are modified.

No files require special attention.

T-Rex T-Rex Logs

What T-Rex did

  • T-Rex ran uv sync --frozen to synchronize project versions and observed the command output indicated Could not update [project].version with EXIT_CODE: 1.
  • T-Rex inspected the worktree after the failure by running git status --short, which showed no tracked modified files.
  • T-Rex attempted to run tests with uv run --no-sync pytest tests/test_sync_repo_version.py tests/test_versioning.py, but test collection failed because cryptography was unavailable.

View all artifacts

T-Rex Ran code and verified through T-Rex

Important Files Changed

Filename Overview
pyproject.toml Updates the project package version from 2.0.967 to 2.0.974 with no dependency or metadata changes.
src/codex_plugin_scanner/version.py Updates the runtime __version__ constant to match the released package version.
uv.lock Updates the editable hol-guard package entry to version 2.0.974, aligned with pyproject.toml.

Comments Outside Diff (1)

  1. General comment

    P1 Documented release sync command fails when version is already aligned

    • Bug
      • The PR Testing command uv sync --frozen && uv run --no-sync python scripts/sync_repo_version.py --version "2.0.974" fails on the current checkout even though repo-visible metadata is already at 2.0.974. The script reports Error: Could not update [project].version in /home/user/repo/pyproject.toml and exits 1, so the documented sync plan is not idempotent.
    • Cause
      • scripts/sync_repo_version.py detects the target [project].version line only when replacing it would change the line. In _replace_project_version, project_version_index is set only if replaced_line != line; when the current value is already 2.0.974, the matched line is unchanged and the function incorrectly treats the version line as missing.
    • Fix
      • Record that the [project].version line was found independently from whether its text changed. For example, set project_version_index or a separate found flag whenever PYPROJECT_VERSION_LINE_PATTERN matches inside the [project] table, then return updated_text != text for the changed flag. Apply the same idempotency review to module and lockfile replacement helpers if needed.

    T-Rex Ran code and verified through T-Rex

Reviews (1): Last reviewed commit: "chore(release): sync repository version ..." | Re-trigger Greptile

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