Skip to content

Canonicalize ShadowCode version to 0.20.0 after native merge - #2

Merged
Shadowfetchapps merged 1 commit into
mainfrom
cursor/canonicalize-0-20-version-0613
Sep 21, 2026
Merged

Shadowfetchapps merged 1 commit into
mainfrom
cursor/canonicalize-0-20-version-0613

Conversation

@Shadowfetchapps

@Shadowfetchapps Shadowfetchapps commented Sep 21, 2026 •

Copy link
Copy Markdown
Owner

Root cause

The Checks / verify job failed on c9ccddb ("Merge ShadowCode 0.20 native release into main") at .venv/bin/python -m pytest.

Exactly one test failed: tests/test_flagship_018.py::test_version_is_canonical_everywhere.

That test required a single canonical version string. After the native merge, README (badge / AppImage names) and the Rust/Tauri stack advertised 0.20.0, while the Python package stayed at 0.19.0:

  • src/shadow_agent/__init__.py → __version__ = "0.19.0"
  • pyproject.toml → version = "0.19.0"
  • packaging/shadow-agent.desktop → X-ShadowCode-Version=0.19.0
  • tests/test_flagship_018.py → CANONICAL = "0.19.0"

A later main commit (d9f2848) only split the test into CANONICAL vs NATIVE_CANONICAL. That papered over the assertion; it did not restore one shared version.

Fix

Canonical version for main after the native merge is 0.20.0. That matches Cargo workspace / Tauri branding, AppImage names (ShadowCode_0.20.0_amd64.AppImage), and the v0.20.0 tag already documented in README.

This PR:

  1. Bumps __version__, pyproject.toml, and X-ShadowCode-Version to 0.20.0.
  2. Sets CANONICAL = "0.20.0" and requires that exact string in README (already present).
  3. Treats 0.19.0 as stale in the flagship check, alongside older versions.
  4. Leaves updater mocks that invent 0.18.0 → 0.19.0 releases alone; they still test “newer than current,” not the package version.

No native Rust/Tauri rewrite.

Local verification

  • python3 -m venv .venv && .venv/bin/pip install -r requirements-build.txt -e '.[dev]' && .venv/bin/python -m pytest → 314 passed, 1 skipped
  • npm --prefix ui test → 8 files / 35 tests passed

Merge

Please merge this for Robert, not the agent. Do not merge from this agent.

Open in Web Open in Cursor 

The native 0.20 merge left Python package metadata and the flagship
version test on 0.19.0 while README and native branding already used
0.20.0. Share one canonical string across the package, desktop entry,
and tests, and treat 0.19.0 as stale.

Co-authored-by: Bob Corbin <ShadowfetchLinux@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Sep 21, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 12e0e9e7-c535-43f9-8ddc-3e7da07280f6


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@Shadowfetchapps
Shadowfetchapps merged commit ab5e7c8 into main Sep 21, 2026
2 checks passed
@Shadowfetchapps
Shadowfetchapps deleted the cursor/canonicalize-0-20-version-0613 branch September 28, 2026 23:47
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.

2 participants