Skip to content

fix: cache the versions.json in build script#373

Merged
2bndy5 merged 1 commit into
mainfrom
cache-versions-json
Jun 19, 2026
Merged

fix: cache the versions.json in build script#373
2bndy5 merged 1 commit into
mainfrom
cache-versions-json

Conversation

@2bndy5

@2bndy5 2bndy5 commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

resolves #365

This allows publishing clang-tools-manager crate with a cached versions.json file, so the docs.rs build can succeed. The cached file is invalid after 24 hours, meaning the cached file is updated at least once a day.

Summary by CodeRabbit

  • Chores
    • Strengthened CI/CD publishing pipeline with improved job dependencies and artifact management for binary releases
    • Enhanced build script with intelligent local version data caching to improve overall build efficiency and reduce external requests
    • Updated package metadata configuration and optimized dependency features for improved distribution and compatibility

resolves #365

This allows publishing clang-tools-manager crate with a cached versions.json file, so the docs.rs build can succeed. The cached file is invalid after 24 hours, meaning the cached file is updated at least once a day.
@2bndy5 2bndy5 added the bug Something isn't working label Jun 19, 2026
@coderabbitai

coderabbitai Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: 792e427e-032d-4185-b749-c6733e7fca73

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • ✅ Review completed - (🔄 Check again to review again)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov

codecov Bot commented Jun 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.43%. Comparing base (fd15454) to head (131bb03).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #373   +/-   ##
=======================================
  Coverage   92.43%   92.43%           
=======================================
  Files          23       23           
  Lines        3649     3649           
=======================================
  Hits         3373     3373           
  Misses        276      276           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@2bndy5
2bndy5 marked this pull request as ready for review June 19, 2026 00:22
@2bndy5
2bndy5 merged commit c149eea into main Jun 19, 2026
45 checks passed
@2bndy5
2bndy5 deleted the cache-versions-json branch June 19, 2026 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

clang-tools-manager docs.rs build fails

1 participant