Skip to content

Backtrack nightly versions when CI fails on nightly but not stable #5331

Closed as not planned

Description

@alice-i-cecile

What problem does this solve or what need does it fill?

NIghtly regularly fails for reasons outside of control. Usually, this is because the latest version broke one of our dependencies.

Typically this is fixed pretty quickly (within a day or two) either in Rust or upstream. But until then, we can't merge PRs.

What solution would you like?

When the crate build on stable (but not nightly):

  1. Use the next most recent nightly version.
  2. If this fails again, repeat this several times.
  3. Log a relatively visible warning of this.

Additional context

For an example of the most recent breakage, see #5330, caused by the problem fixed in NotIntMan/inplace_it#11

See this Zulip thread for a discussion with the Rustlang team about possible solutions on both ends.

Activity

  1. added
    C-FeatureA new feature, making something new possible
    A-Build-SystemRelated to build systems or continuous integration
    on Jul 15, 2022
  2. mockersf commented on Jul 15, 2022

    @mockersf
    Member

    That could be quite hard to do with GitHub actions... and backtracking could be very costly (in time)

    I would prefer:

    • run nightly on a cron
    • report status to an external "database" (could be a git repo... preferably another repo to avoid too many commits to this one)
    • in CI, use the last reported nightly

    That wouldn't add a lot of complexity to existing CI, but we would need a place to report the status

  3. mockersf commented on Apr 17, 2026

    @mockersf
    Member

    doesn't happen often enough to be a pain, and it's nice to know of breakage to raise issues on rust-lang

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Build-SystemRelated to build systems or continuous integrationC-FeatureA new feature, making something new possible

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions