Skip to content

Conversation

@mxgrey
Copy link
Collaborator

@mxgrey mxgrey commented Dec 18, 2024

This is an implementation of the suggestion that I made here that aims to keep the Minimal CI stable even as new versions of dependencies (including transitive dependencies) are released.

The lockfiles are admittedly somewhat annoyingly bulky, especially since each example crate needs one. We should be able to reduce that to a single lockfile if we double this up with the suggestion here to put a workspace at the root of the repo.

I understand that this PR may be controversial, so I'm opening it to test whether it even works and then facilitate discussion about whether or not this is how we'd like to resolve #449, or whether we should consider another approach.

@mxgrey
Copy link
Collaborator Author

mxgrey commented Dec 18, 2024

It seems like colcon-cargo might be ignoring the lockfiles that are present inside of each crate directory, although it's hard to tell for sure since the workflow terminal output gives pretty limited information.

In any case the lockfile approach doesn't seem to be working so I'll try a different approach.

@mxgrey mxgrey closed this Dec 18, 2024
@mxgrey mxgrey deleted the save_lockfile branch February 13, 2025 08:18
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.

Rust Minimal Workflow Failing

1 participant