Skip to content

Fix CI#488

Merged
AS1100K merged 5 commits intomainfrom
as1100k/fix-ci
Sep 17, 2025
Merged

Fix CI#488
AS1100K merged 5 commits intomainfrom
as1100k/fix-ci

Conversation

@AS1100K
Copy link
Copy Markdown
Member

@AS1100K AS1100K commented Sep 17, 2025

This pull request updates several CI workflow configurations and makes minor improvements to type signatures in the tensor implementation. The main changes are focused on updating the sccache GitHub Action version across all workflows, standardizing Rust toolchain installation commands, and improving lifetime annotations in tensor view methods.

CI workflow updates:

  • Updated the mozilla-actions/sccache-action version from v0.0.8 to v0.0.9 in all relevant CI workflow files (python_test.yml, rust_lint.yml, rust_release.yml, rust_test.yml) for improved caching reliability. [1] [2] [3] [4] [5] [6] [7]
  • Standardized the Rust toolchain installation steps in rust_lint.yml by replacing dtolnay/rust-toolchain@stable and rustup toolchain install stable with a single rustup update command. [1] [2]
  • Minor cleanups in python_test.yml by removing unnecessary blank lines for better readability. [1] [2] [3]

Tensor implementation improvements:

  • Updated the return types of reshape, permute_axes, and view methods in Tensor to include explicit lifetime annotations, improving type safety and clarity. [1] [2] [3]

Dockerfile update:

  • Changed the base image in devel-x86_64.Dockerfile from rust:1.85 to the rolling rust:1 tag to always use the latest Rust 1.x version.

@AS1100K AS1100K marked this pull request as ready for review September 17, 2025 06:50
@AS1100K AS1100K added the ci label Sep 17, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates CI workflow configurations for improved reliability and makes minor type improvements to tensor methods. The changes focus on standardizing toolchain management and updating dependencies across multiple workflow files.

  • Updated sccache GitHub Action from v0.0.8 to v0.0.9 across all CI workflows
  • Standardized Rust toolchain installation commands in lint workflows
  • Added explicit lifetime annotations to tensor view methods for better type safety

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
devel-x86_64.Dockerfile Updated base image to use rolling rust:1 tag instead of specific version
crates/kornia-tensor/src/tensor.rs Added explicit lifetime annotations to tensor view method return types
.github/workflows/rust_test.yml Updated sccache action version to v0.0.9
.github/workflows/rust_release.yml Updated sccache action version to v0.0.9
.github/workflows/rust_lint.yml Standardized toolchain installation and updated sccache action
.github/workflows/python_test.yml Updated sccache action and cleaned up formatting

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread .github/workflows/rust_lint.yml
@AS1100K AS1100K merged commit 1e59aef into main Sep 17, 2025
13 of 16 checks passed
@AS1100K AS1100K deleted the as1100k/fix-ci branch September 17, 2025 12:52
Comment thread crates/kornia-tensor/src/tensor.rs
jeffin07 pushed a commit to jeffin07/kornia-rs that referenced this pull request Sep 19, 2025
* attempt 1

* Update sccache-action to v0.0.9 in CI workflows

* Update Rust base image to version 1.89

* Update base image to rust:1 in Dockerfile to ensure latest stable
version is used

* Fix clippy
andrew-shc pushed a commit to andrew-shc/kornia-rs that referenced this pull request Sep 22, 2025
* attempt 1

* Update sccache-action to v0.0.9 in CI workflows

* Update Rust base image to version 1.89

* Update base image to rust:1 in Dockerfile to ensure latest stable
version is used

* Fix clippy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants