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

Understand sneaky test failure #110

Open
surchs opened this issue Feb 2, 2024 · 0 comments
Open

Understand sneaky test failure #110

surchs opened this issue Feb 2, 2024 · 0 comments
Labels
flag:discuss Flag issue that needs to be discussed before it can be implemented. phase:research involves researching information on a topic rather than implementing specific feature. someday Not a priority right now, but we want to keep this around to think or discuss more. tests Enhancing or fixing tests where functioning is not affected.

Comments

@surchs
Copy link
Contributor

surchs commented Feb 2, 2024

In both JS repos we now have seen the same problem:

From https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request, specifically from

Note that GITHUB_SHA for this event is the last merge commit of the pull request merge branch. If you want to get the commit ID for the last commit to the head branch of the pull request, use github.event.pull_request.head.sha instead.

we know that the CI is not running on the HEAD commit of the PR branch, but on a (hidden) merge of the PR with main. So in other words: the CI run before and immediately after merging should behave exactly the same. But here we are and they do not 😕

So something that we thought we understood reasonably well is doing something unexpected -> we need to find out why that happens and if we have incorrect assumptions / understanding.

@surchs surchs added this to Neurobagel Feb 2, 2024
@surchs surchs added flag:discuss Flag issue that needs to be discussed before it can be implemented. phase:research involves researching information on a topic rather than implementing specific feature. type:bug tests Enhancing or fixing tests where functioning is not affected. flag:schedule Flag issue that should go on the roadmap or backlog. someday Not a priority right now, but we want to keep this around to think or discuss more. and removed flag:schedule Flag issue that should go on the roadmap or backlog. labels Feb 2, 2024
@surchs surchs removed the type:bug label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flag:discuss Flag issue that needs to be discussed before it can be implemented. phase:research involves researching information on a topic rather than implementing specific feature. someday Not a priority right now, but we want to keep this around to think or discuss more. tests Enhancing or fixing tests where functioning is not affected.
Projects
Status: No status
Development

No branches or pull requests

1 participant