Skip to content

Conversation

@benceruleanlu
Copy link
Member

Summary

  • refine get_comfyui_versions to sort semver tags correctly and include non-semver current refs
  • update stable update helper to pick the latest semver tag explicitly

Testing

  • not run (not requested)

@benceruleanlu
Copy link
Member Author

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +3292 to +3294
normalized_current = normalize_describe(raw_current_tag)
has_normalized_tag = normalized_current in semver_tag_set
current_tag = normalized_current if has_normalized_tag else raw_current_tag

Choose a reason for hiding this comment

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

P1 Badge Do not treat nightly describe output as stable tag

When HEAD is ahead of the last release tag, git describe --tags returns values like v1.2.3-15-gabcd, but get_comfyui_versions normalizes this to v1.2.3 and exposes it as current_tag (lines 3292-3294). update_to_stable_comfyui compares current_tag directly to the latest semver tag to decide whether to skip, so nightly commits past the latest release now appear identical to that release and the stable updater exits early, leaving the repository on nightly instead of checking out the tagged stable version.

Useful? React with 👍 / 👎.

Copy link
Member Author

Choose a reason for hiding this comment

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

It's valid if we use semver, but we have RCs and branches based on release minor versions

also I don't think we would ever be on an untagged HEAD?

@benceruleanlu
Copy link
Member Author

closing in favor of #2334

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