[fix] dev tag for sea binary should never be used
Merged
PI
7mo ago+718+718+012345678901234567890123456789-377-377-012345678901234567890123456789
Summary by cubic
Ensure the SEA binary never uses -dev or prerelease tags by always picking the latest stable server release and defaulting the cache key to the package version. This stabilizes local downloads and PyPI builds.
- Bug Fixes
- GitHub workflow selects the highest stable
stagehand-server-v3/vX.Y.Ztag (skips drafts and prereleases). - In
scripts/download-binary.py,_parse_server_tagrejects tags with-or+, andnormalize_server_tagenforces stable input;download_binary()now uses it. resolve_binary_pathfalls back to package__version__whenSTAGEHAND_VERSIONis unset to keep cached binaries stable.- Tests cover tag normalization, ignoring
-devreleases when resolving latest, and the cache version default.
- GitHub workflow selects the highest stable