Skip to content

SDK versions are frozen at 0.1.0, thirteen minor releases behind the authority #443

Open

Description

@scttfrdmn

What

cmd/objectfs/main.go's version constant is the only authority for this project's version, and it reads 0.13.0. Two SDK manifests disagree and have never been updated:

  • sdks/python/setup.py:19 — version='0.1.0'
  • sdks/javascript/package.json:3 — "version": "0.1.0"

Nothing gates either one. internal/config/sdk_metadata_test.go checks that SDK manifests name no unserved domain and that the Python documentation URL resolves in the repository, and lockfile_test.go covers dependency pinning — neither reads a version. So this has drifted for thirteen minor releases with a green tree the whole time, which is the same shape as the five files that once claimed five different versions and the reason CLAUDE.md now names one authority.

Why it matters, and why it is low priority

It is invisible today because neither SDK is published. It stops being invisible the moment one is: a package whose declared version does not move is a package no dependency resolver will ever upgrade, and it would be published as 0.1.0 against a 0.13.0 CLI.

The complication, which is not just a version string

The name objectfs on PyPI belongs to an unrelated project (pyvfs, 0.2.9), so the Python SDK cannot be published under that name as things stand. That makes this two questions rather than one:

  1. Do the SDK versions track the CLI version, or version independently? Tracking is simpler and matches how a single-repo SDK is usually consumed; independent versioning is defensible if the SDKs' API stability differs from the CLI's.
  2. What name does the Python SDK publish under, given objectfs is taken?

(1) can be answered and gated now regardless of (2).

Acceptance

  • Decide and record whether SDK versions track the CLI's version constant.
  • If they track it, read it rather than restating it, and gate the agreement in internal/config/ — a version copied by hand has no way to be told it is stale, which is the whole reason this issue exists.
  • The PyPI name question can be split into its own issue; it blocks publishing, not versioning.

Activity

  1. added this to the Future Work milestone on Aug 14, 2026
  2. added
    type: bug
    priority: low
    area: sdk
    on Aug 14, 2026
  3. scttfrdmn commented on Sep 19, 2026

    @scttfrdmn
    OwnerAuthor

    Decision on the open question here, so this is actionable: SDK versions track the CLI's version
    constant, read rather than restated
    , with a test asserting they agree.

    Same discipline as CHANGELOG.md's link refs, which internal/config/changelog_test.go already checks
    against cmd/objectfs/main.go's constant. One authority means these cannot drift to thirteen releases
    behind a second time, and cmd/objectfs/main.go is already documented as the only authority for the
    version — a number copied into a manifest has no way to be told it is stale, which is how
    sdks/python/setup.py:19 and sdks/javascript/package.json:3 both still say 0.1.0.

    Two notes for whoever implements it:

    • Read, not restated: derive at build/release time from the constant rather than writing 0.17.0 into
      two more files. If a manifest format cannot be generated, the test that asserts agreement is the
      substitute, and it has to be one CI runs — note that the JS SDK has never had a tsc job, so a check
      living only in the JS toolchain would not run.
    • The PyPI name blocker is separate and cannot be fixed in this repository: objectfs on PyPI belongs to
      an unrelated project (pyvfs 0.2.9). That affects publishing, not versioning, and should be split
      out rather than holding this up.

    Not in v0.17.0 — that milestone is the read-only mount, tarball parity, and two changelog/parser gates.
    Filing the decision now so this is ready to pick up.

  4. scttfrdmn commented on Sep 20, 2026

    @scttfrdmn
    OwnerAuthor

    Question (1) is decided: the SDK versions track the CLI version constant

    Recording the decision so the issue is actionable, since its acceptance criteria ask for exactly that
    and the PyPI-name half cannot be fixed from this repository.

    Decision. cmd/objectfs/main.go's version constant is the authority for the SDKs too. They do
    not version independently.

    Why. Independent versioning is defensible when an SDK's API stability genuinely differs from the
    CLI's, and here it does not: both SDKs are thin clients over the same surface, shipped from the same
    commit, with no release cadence of their own and no compatibility matrix anyone maintains. Two
    independent version lines would be two things to decide at every release and one more pair of numbers
    that can silently disagree — which is the problem, not a fix for it. The one real cost of tracking is
    that an SDK-only change still gets a minor bump it did not earn, and that is cheaper than a
    resolver-visible version that never moves.

    How, and this part is the whole point. Read the constant; do not restate it. A version copied by
    hand has no way to be told it is stale — that is why this issue exists, why CLAUDE.md names one
    authority, and why changelog_test.go checks the CHANGELOG's link refs against the constant rather
    than against a second copy. So:

    • sdks/python/setup.py and sdks/javascript/package.json are the two places that have to end up
      agreeing. setup.py is Python and can read the constant at build time; package.json is data and
      cannot, so it is a restatement that must be gated rather than avoided.
    • The gate belongs in internal/config/sdk_metadata_test.go, which already reads both manifests for
      the unserved-domain and documentation-URL checks, next to declaredVersion() in
      changelog_test.go which already extracts the constant. No new file, no second regexp for the
      same authority.
    • Non-vacuity matters more than usual here: a test that looks up version in a manifest and finds
      nothing must fail, not pass. Both manifests currently say 0.1.0, so the test will go red the
      moment it is written, and the fix is the same commit.

    Note for whoever writes it: sdks/javascript has never compiled — tsc reports errors and no CI
    job runs it — so do not treat a green tree as evidence that a change to package.json is consistent
    with anything else in that directory.

    Question (2) is still open and still not fixable here

    The name objectfs on PyPI belongs to pyvfs 0.2.9. That blocks publishing, not versioning, and
    nothing in this repository can resolve it. Worth its own issue so this one can close on (1).

  5. scttfrdmn commented on Sep 20, 2026

    @scttfrdmn
    OwnerAuthor

    The PyPI-name half is now split out as #542, which is the last item in this issue's acceptance criteria
    that was still outstanding here. Verified before filing rather than restated from this issue's body:

    $ curl -s https://pypi.org/pypi/objectfs/json | jq '{version:.info.version, summary:.info.summary,
        home:.info.home_page}'
    {"version": "0.2.9", "summary": "Simple Python VFS module", "home": "https://github.com/svinota/pyvfs"}
    

    Two things found while checking that are worth having here, because both narrow what this issue has left
    to do:

    • Only the Python SDK has a name problem. sdks/javascript/package.json declares @objectfs/sdk,
      and that scope is free on npm (404), as are objectfs unscoped and objectfs-sdk. So the JS half of a
      publish is unblocked on names.
    • objectfs-sdk, objectfs-client, py-objectfs and objectfs-py are all free on PyPI. The
      distribution name and the import package name are independent, so pip install objectfs-sdk with
      import objectfs needs no rename of any Python module.

    This issue is now purely the versioning gate: setup.py and package.json agreeing with
    cmd/objectfs/main.go's version constant, read rather than restated, asserted in
    internal/config/sdk_metadata_test.go. Both manifests still say 0.1.0, so that test goes red the
    moment it is written and the fix is the same commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: sdkpriority: lowtype: bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions