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

flakes: failing follows test case #6171

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

edrex
Copy link

@edrex edrex commented Feb 26, 2022

this is a bug report in the form of a failing test case

A has input B, B has input foobar, and

  • B: inputs.D.follows = "foobar/D"
  • A: inputs.B.inputs.foobar.follows = "foobar"

Result:

error: input 'B/D' follows a non-existent input 'B/foobar/D'

Expected: ['foobar', 'D']

Tested with v2.6.1 with #6036 cherry-picked, since master is giving me a SIGBUS right now.

@edrex
Copy link
Author

edrex commented Feb 26, 2022

cc @balsoft

@edrex
Copy link
Author

edrex commented Feb 26, 2022

Context: found when attempting to use https://github.com/srid/emanote/blob/master/flake.nix as an input. @srid

@edrex
Copy link
Author

edrex commented Feb 27, 2022

I made a small change to the existing test case to trigger the failure, but it seems like factoring out the flake follows tests to be more explicit should make it easier to reason about expected behavior.

Very similar to #6013 but not quite the same.

Maybe a common cause with #5790

@stale stale bot added the stale label Sep 21, 2022
@stale stale bot removed the stale label Jun 23, 2023
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.

2 participants