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

Automatic crate dependency updates #18

Open
sethp opened this issue Mar 6, 2023 · 0 comments
Open

Automatic crate dependency updates #18

sethp opened this issue Mar 6, 2023 · 0 comments

Comments

@sethp
Copy link
Contributor

sethp commented Mar 6, 2023

Deterministic builds AND easy dependency maintenance? Why not both?

My ideal flow would be:

  1. robot identifies updates (on, say, a weekly schedule?) and opens a PR per (unit) of change
    • implementation: maybe renovate, maybe dependabot, maybe a custom scheduled action workflow that runs cargo update?
    • detail: we can't change esp32c3-hal independently from esp32-hal-common, so those two dependencies ought to be one "unit"
  2. each PR gets automatically validated by our CI system (for now, cargo check)
    • detail: we will eventually want to add more thorough checks, but that's out of scope for this issue
    • wrinkle: when there are multiple concurrent units changing, we'll have to re-run
  3. when CI succeeds, the PR is automatically merged
  4. when CI fails, we hold ourselves to some timeframe to investigate and resolve it (i.e. before the next weekly update?)
    • NB: resolution might be fixing the PR so it's merge-able, "skip this version" + a PR upstream, "skip automatic updates for dependency" + an issue upstream and/or fork

What do you think?

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

No branches or pull requests

1 participant