Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.6.13 #263

Merged
merged 72 commits into from
Dec 30, 2024
Merged

v0.6.13 #263

merged 72 commits into from
Dec 30, 2024

Conversation

iesahin
Copy link
Owner

@iesahin iesahin commented Nov 30, 2024

Important

Added new build targets to GitHub Actions workflow for Linux and macOS in rust.yml.

  • GitHub Actions:
    • Added aarch64-unknown-linux-gnu to Linux targets in rust.yml.
    • Added aarch64-apple-darwin and x86_64-unknown-freebsd to macOS targets in rust.yml.
  • Changelog:
    • Updated CHANGELOG.md to note the addition of more targets to GitHub builds.

This description was created by Ellipsis for f7570ca. It will automatically update as commits are pushed.

Description by Callstackai

This PR introduces new build targets for GitHub Actions, updates the changelog, and modifies various files to reflect version changes.

Diagrams of code changes
sequenceDiagram
    participant GH as GitHub Actions
    participant Build as Build Process
    participant Release as Release Process
    participant Platforms as Multiple Platforms

    GH->>Build: Trigger on v*.*.* tags
    Build->>Release: Start release workflow
    
    Release->>Platforms: Build for multiple targets
    Note over Platforms: FreeBSD x86_64<br/>Linux x86_64/aarch64<br/>Windows x86_64/aarch64<br/>macOS x86_64/aarch64
    
    loop For each platform
        Platforms->>Build: Build with platform-specific features
        Note over Build: bundled-openssl<br/>bundled-sqlite
        Build->>Release: Generate artifacts
    end
    
    Release->>GH: Publish release artifacts
    Note over Release: Use houseabsolute/actions-rust-cross
    Note over Release: Use houseabsolute/actions-rust-release
Loading
Files Changed
FileSummary
.github/workflows/release.ymlAdded a new GitHub Actions workflow for releases with multiple OS targets.
.github/workflows/rust.ymlCommented out old deployment jobs for Linux, Windows, and macOS.
CHANGELOG.mdUpdated changelog to reflect new features and fixes.
config/Cargo.tomlUpdated version to 0.6.13-alpha.5.
core/Cargo.tomlUpdated version to 0.6.13-alpha.5.
file/Cargo.tomlUpdated version to 0.6.13-alpha.5.
lib/Cargo.tomlUpdated version to 0.6.13-alpha.5.
storage/Cargo.tomlUpdated version to 0.6.13-alpha.5.
walker/Cargo.tomlUpdated version to 0.6.13-alpha.5.

This PR includes files in programming languages that we currently do not support. We have not reviewed files with the extensions .yml, .md, .toml, .zsh. See list of supported languages.

Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to f7570ca in 8 seconds

More details
  • Looked at 38 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. CHANGELOG.md:3
  • Draft comment:
    Ensure the 'Unreleased' section is intentional and aligns with the release process. If this is a finalized release, update the version and date.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The PR adds new targets to the GitHub Actions workflow for Rust builds. This change is reflected in the changelog, which is good for documentation purposes. However, the changelog entry is under 'Unreleased', which might be intentional if the release is not yet finalized.

Workflow ID: wflow_Xi7l8i1xdV8eWyZH


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link

netlify bot commented Nov 30, 2024

Deploy Preview for xvc canceled.

Name Link
🔨 Latest commit d34ddfa
🔍 Latest deploy log https://app.netlify.com/sites/xvc/deploys/6772613871580200087e976c

Copy link

codecov bot commented Nov 30, 2024

Codecov Report

Attention: Patch coverage is 64.97462% with 69 lines in your changes missing coverage. Please review.

Project coverage is 71.80%. Comparing base (f7f173d) to head (d34ddfa).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
ecs/src/ecs/hstore.rs 0.00% 40 Missing ⚠️
ecs/src/ecs/r11store.rs 0.00% 10 Missing ⚠️
file/src/list/mod.rs 90.56% 5 Missing ⚠️
file/src/bring/mod.rs 33.33% 4 Missing ⚠️
pipeline/src/pipeline/deps/glob_items.rs 69.23% 4 Missing ⚠️
pipeline/src/pipeline/api/dag.rs 60.00% 2 Missing ⚠️
ecs/src/ecs/xvcstore.rs 0.00% 1 Missing ⚠️
storage/src/storage/gcs.rs 0.00% 1 Missing ⚠️
storage/src/storage/r2.rs 0.00% 1 Missing ⚠️
storage/src/storage/rsync.rs 90.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #263      +/-   ##
==========================================
- Coverage   72.41%   71.80%   -0.61%     
==========================================
  Files         124      123       -1     
  Lines       14437    14172     -265     
==========================================
- Hits        10454    10176     -278     
- Misses       3983     3996      +13     

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

Copy link

@callstackai callstackai bot left a comment

Choose a reason for hiding this comment

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

Key Issues

The use of unwrap() on XvcCachePath::new(xp, cd) could lead to a panic if the constructor returns None, and this should be handled more gracefully within the filter_map.

Comment on lines +143 to 147
.filter_map(|(xe, xp)| {
all_content_digests
.get(xe)
.map(|cd| (*xe, XvcCachePath::new(xp, cd).unwrap()))
})
Copy link

Choose a reason for hiding this comment

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

🐛 Possible Bug
The unwrap() call on XvcCachePath::new(xp, cd) could panic if the constructor returns None. Since this is in a filter_map, we should handle the None case gracefully.

Suggested change
.filter_map(|(xe, xp)| {
all_content_digests
.get(xe)
.map(|cd| (*xe, XvcCachePath::new(xp, cd).unwrap()))
})
.filter_map(|(xe, xp)| {
all_content_digests
.get(xe)
.and_then(|cd| XvcCachePath::new(xp, cd))
.map(|cp| (*xe, cp))
})

@iesahin iesahin merged commit 58ad5e7 into main Dec 30, 2024
8 of 9 checks passed
@iesahin iesahin deleted the v0.6.13 branch December 30, 2024 09:37
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