Skip to content

【temp】Add temporary UUID support for run IDs - #1775

Closed
ShaohonChen wants to merge 3 commits into
mainfrom
0.9.7-b1
Closed

ShaohonChen wants to merge 3 commits into
mainfrom
0.9.7-b1

Conversation

@ShaohonChen

@ShaohonChen ShaohonChen commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Accept uuid.UUID values passed to swanlab.init(id=...) and normalize them to strings.
  • Emit a migration warning for UUID inputs; UUID-object compatibility will be removed in v0.10.0, so callers should use id=str(your_uuid).
  • Set the package version to 0.9.7-beta1, update the public type stub, and add coverage for the compatibility path.

Validation

  • uv run pytest tests/unit/sdk/cmd/init/test_init_e2e.py -k uuid_id_is_converted_and_warns
  • uv run ruff check .
  • uv run basedpyright

make unit collects 1,696 tests but currently terminates with SIGTRAP (exit code 133) during the full shared-process run; no assertion failure was reported before termination.

@ShaohonChen
ShaohonChen marked this pull request as draft September 17, 2026 09:55
@ShaohonChen ShaohonChen changed the title Add temporary UUID support for run IDs feat: support UUID run IDs in 0.9.7 beta Sep 17, 2026
@ShaohonChen ShaohonChen changed the title feat: support UUID run IDs in 0.9.7 beta 【temp】Add temporary UUID support for run IDs Sep 17, 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