Skip to content

Conversation

@tyreseluo
Copy link
Contributor

@tyreseluo tyreseluo commented Jan 9, 2026

PR content

Background / Problem

  • Upstream Makepad changes can break cargo-makepad installs in CI.
  • The CI version should match the exact Makepad revision resolved by Cargo, not just the repo/branch in Cargo.toml.

Solution

  • Parse Cargo.lock to extract the actual Makepad git revision and use it to install cargo-makepad.

Changes

  • Add scripts: resolve-makepad-rev.sh
  • Update CI install steps to use parsed repo+rev: builds.yml
  • Update dependency note: Cargo.toml

Related Issue/PR

Fixes #653

@tyreseluo tyreseluo requested a review from kevinaboos January 9, 2026 02:24
@kevinaboos kevinaboos added the waiting-on-review This issue is waiting to be reviewed label Jan 9, 2026
Copy link
Member

@kevinaboos kevinaboos left a comment

Choose a reason for hiding this comment

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

Thanks! Just a few small comments.

@kevinaboos kevinaboos added waiting-on-author This issue is waiting on the original author for a response and removed waiting-on-review This issue is waiting to be reviewed labels Jan 10, 2026
- move the resolve script into the action and use GITHUB_ACTION_PATH
- reuse setup-cargo-makepad in builds workflow
- remove CI note comments from Cargo.toml
@tyreseluo
Copy link
Contributor Author

Yes, It's too scattered, which really makes subsequent maintenance difficult.

I’ve extracted the previously scattered “Resolve Makepad revision + Install cargo-makepad” steps into a single composite action, moved the script and standardized the path, and updated builds.yml to reuse that action across jobs.

I also cleaned up the CI-related notes in Cargo.toml so maintenance is more centralized and less fragile.

@tyreseluo tyreseluo added waiting-on-review This issue is waiting to be reviewed and removed waiting-on-author This issue is waiting on the original author for a response labels Jan 11, 2026
Copy link
Member

@kevinaboos kevinaboos left a comment

Choose a reason for hiding this comment

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

awesome, that looks really good. Thanks!

@kevinaboos kevinaboos removed the waiting-on-review This issue is waiting to be reviewed label Jan 12, 2026
@kevinaboos kevinaboos merged commit 6eaabaa into project-robius:main Jan 12, 2026
11 checks passed
@tyreseluo tyreseluo deleted the fix/ci-makepad-rev branch January 13, 2026 01:31
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.

CI: ensure actions use the same version of Makepad as the top-level Cargo.toml

2 participants