Skip to content

ci: skip publish jobs when version already exists in registry#15

Merged
clroot merged 2 commits into
mainfrom
ci/skip-already-published-versions
Feb 19, 2026
Merged

ci: skip publish jobs when version already exists in registry#15
clroot merged 2 commits into
mainfrom
ci/skip-already-published-versions

Conversation

@clroot
Copy link
Copy Markdown
Owner

@clroot clroot commented Feb 19, 2026

Summary

  • Add check-versions job that queries crates.io, Maven Central, and PyPI APIs to detect already-published versions
  • Skip entire build/publish job chains via if conditions and dependency propagation when version exists
  • Saves CI time and costs on re-runs or retries of the publish workflow

Test plan

  • Verify check-versions job correctly detects existing versions (e.g., v0.5.0)
  • Verify new versions trigger full publish pipeline as before
  • Verify Homebrew job is unaffected (uses existing idempotency logic)

🤖 Generated with Claude Code

…rm decoding

JPEG XL now supports both encoding and decoding via libjxl.
AVIF decoding is available on all platforms via statically linked dav1d.
Added jxl to the convert format list in usage docs.
Add a check-versions job that queries crates.io, Maven Central, and
PyPI APIs before running build/publish jobs. When a version is already
published, the entire job chain is skipped via dependency propagation,
saving CI time and costs.
@clroot clroot merged commit 719af79 into main Feb 19, 2026
1 check passed
@clroot clroot deleted the ci/skip-already-published-versions branch February 19, 2026 16:01
@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello @clroot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request primarily updates documentation files to accurately reflect the current state of image format support within the project. Specifically, it highlights the addition of JPEG XL encoding capabilities and provides more detailed instructions for AVIF decoder setup. It is important to note that the provided patches do not align with the pull request title and description, which refer to CI skip jobs; the changes are exclusively documentation-related.

Highlights

  • Documentation Updates for Image Formats: The documentation has been updated to reflect enhanced support for JPEG XL and AVIF image formats, including encoding capabilities for JPEG XL and clarified decoding for AVIF.
  • JPEG XL Encoding Support: The README.md and README.ko.md files now indicate full encoder/decoder support for JPEG XL, removing the previous 'decode-only' restriction.
  • AVIF Decoder Clarification: The README.ko.md file has been updated to clarify that AVIF decoding uses a statically linked dav1d decoder and specifies the necessary build tools (meson + ninja) and environment variable for building dav1d from source.
  • Usage Guide Updates: The usage documentation (docs/usage.md and docs/usage.ko.md) has been updated to include jxl as a supported target format for conversions.
Changelog
  • README.ko.md
    • Updated AVIF support description to remove macOS-only restriction and mention static linking of dav1d.
    • Updated JPEG XL support to indicate full encoder/decoder support.
    • Added meson + ninja and SYSTEM_DEPS_DAV1D_BUILD_INTERNAL to build requirements for dav1d.
  • README.md
    • Updated JPEG XL support to indicate full encoder/decoder support.
  • docs/usage.ko.md
    • Added jxl to the list of supported target formats for conversions.
  • docs/usage.md
    • Added jxl to the list of supported target formats for conversions.
Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/publish.yml
Activity
  • No specific activity (comments, reviews, or progress updates) has been recorded for this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request appears to add support for JPEG XL encoding and updates the build process for the AVIF decoder, including documentation changes. However, the pull request title ('ci: skip publish jobs when version already exists in registry') and description are about CI optimizations, which seems to be unrelated to the file changes. To avoid confusion for reviewers and to maintain a clear commit history, it is highly recommended to update the PR title and description to accurately reflect the addition of JPEG XL support.

Comment thread README.ko.md
- nasm (MozJPEG / rav1e 어셈블리 최적화용)
- dav1d (macOS만, AVIF 디코딩용)
- meson + ninja (dav1d AVIF 디코더 소스 빌드용)
- `SYSTEM_DEPS_DAV1D_BUILD_INTERNAL=always` 설정으로 dav1d를 소스에서 빌드
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

This list item reads like an instruction. To maintain consistency with the other requirements in the list (which are nouns like 'C compiler'), it would be clearer to phrase this as a requirement as well.

Suggested change
- `SYSTEM_DEPS_DAV1D_BUILD_INTERNAL=always` 설정으로 dav1d를 소스에서 빌드
- `SYSTEM_DEPS_DAV1D_BUILD_INTERNAL=always` 환경 변수 (dav1d 소스 빌드용)

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.

1 participant