Skip to content

chore: pull over pre-release 0.17.0 improvements to main#2762

Merged
tempusfrangit merged 5 commits intomainfrom
chore/prerelease-to-main
Feb 23, 2026
Merged

chore: pull over pre-release 0.17.0 improvements to main#2762
tempusfrangit merged 5 commits intomainfrom
chore/prerelease-to-main

Conversation

@tempusfrangit
Copy link
Copy Markdown
Contributor

Updates:

  • Wheel Resolution Improvements, no git introspection
  • simplify mise venv path
  • version is derived from cargo.toml for goreleaser and sdk builds
  • CI uses cargo.toml cersion and local wheels for integration tests.

…P 440 support

Refactor pkg/wheels to be testable and simpler:
- ResolveCogWheel/ResolveCogletWheel are pure functions (params, not globals)
- GetCogWheelConfig/GetCogletWheelConfig are thin wrappers for compatibility
- Remove getRepoRoot() - no more git/REPO_ROOT introspection
- Remove "dist" magic keyword - paths resolve as files or directories
- Add SemverToPEP440() for pre-release version conversion
- Add bestWheelMatch() with platform filtering
- distFromExecutable() testable via function vars
- PyPIPackageURL() auto-converts semver to PEP 440
- goreleaser: snapshot version_template and ldflags use envOrDefault COG_VERSION
- build:cog: extract COG_VERSION from crates/Cargo.toml, add to sources
- build:sdk: set SETUPTOOLS_SCM_PRETEND_VERSION from Cargo.toml, merge sdist
- ci:build:sdk: same SETUPTOOLS_SCM_PRETEND_VERSION pattern
- generate:stubs: update output paths to include crates/coglet-python/ prefix
- build-cog job: extract COG_VERSION from Cargo.toml, pass to goreleaser
- integration tests: set COG_WHEEL/COGLET_WHEEL env vars to dist/ so
  tests use locally-built wheels instead of PyPI
@tempusfrangit tempusfrangit requested a review from a team as a code owner February 23, 2026 20:11
@tempusfrangit
Copy link
Copy Markdown
Contributor Author

The long-lived prerelease branch is nuked, this pulls in relevant changes and sets us up for 0.17.0 off main soon.

…imeout

- wheel_resolution/wheel_coglet_missing: use $REPO_ROOT/dist instead of
  bare 'dist' keyword (removed in 0f4babd), fix error message assertions
- healthcheck_async_timeout: run user healthcheck even when busy, since
  healthcheck health and slot availability are orthogonal concerns
@tempusfrangit tempusfrangit enabled auto-merge (squash) February 23, 2026 20:51
Copy link
Copy Markdown
Member

@michaeldwan michaeldwan left a comment

Choose a reason for hiding this comment

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

looks good. but had a somewhat released thought. should we take the opportunity to rename the binaries to something more "modern" like many other projects have been doing. ie macos_arm64 instead of Darwin_aarm64 or linux_x64 instead of Linux_x86_64. Just a qol improvement that maps the artifact names to the same thing people call them circa 2026.

@tempusfrangit tempusfrangit merged commit 92044a3 into main Feb 23, 2026
37 checks passed
@tempusfrangit tempusfrangit deleted the chore/prerelease-to-main branch February 23, 2026 20:59
@tempusfrangit tempusfrangit added this to the 0.17.0 Release milestone Feb 24, 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.

2 participants