Skip to content

ci: Use named variables in test-each-commit - #28477

Closed
maflcko wants to merge 2 commits into
bitcoin:masterfrom
maflcko:2309-ci-fix-
Closed

maflcko wants to merge 2 commits into
bitcoin:masterfrom
maflcko:2309-ci-fix-

Conversation

@maflcko

@maflcko maflcko commented Sep 14, 2023

Copy link
Copy Markdown
Member

This should fix the issues observed in #28279 (comment)

@DrahtBot

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.
A summary of reviews will appear here.

@DrahtBot DrahtBot changed the title ci: Use named variables in test-each-commit ci: Use named variables in test-each-commit Sep 14, 2023
@DrahtBot DrahtBot added the Tests label Sep 14, 2023
@maflcko
maflcko force-pushed the 2309-ci-fix- branch 3 times, most recently from 69ed8f2 to ba85693 Compare September 14, 2023 11:04
@maflcko

maflcko commented Sep 14, 2023

Copy link
Copy Markdown
Member Author

No idea why it passed on the initial pull, but now everything I try fails.

I don't want to spend time on the broken closed-ecosystem GHA nonsense right now, so I'll close this as up for grabs.

Unless someone else fixes this in the meantime, I'll move to a self-hosted runner next month: #28279 (comment)

@maflcko maflcko closed this Sep 14, 2023
@maflcko
maflcko deleted the 2309-ci-fix- branch September 14, 2023 11:17
@hebasto

hebasto commented Sep 15, 2023

Copy link
Copy Markdown
Member

No idea why it passed on the initial pull, but now everything I try fails.

I don't want to spend time on the broken closed-ecosystem GHA nonsense right now, so I'll close this as up for grabs.

Unless someone else fixes this in the meantime, I'll move to a self-hosted runner next month: #28279 (comment)

Please see #28497. Sorry for delay.

fanquake added a commit that referenced this pull request Sep 19, 2023
27b636a ci: Reintroduce fixed "test-each-commit" job (Hennadii Stepanov)

Pull request description:

  This is a fixed version of #28279:
  > Currently, if a pull request has more than one commit, previous commits may fail to compile, or may fail the tests. This is problematic, because it breaks git-bisect, or worse.
  >
  > Fix this by adding a CI task for this.

  The new job checks at most 6 commits of a pull request, excluding the top one.

  The maximum number of tested commits is 6, which derives from the time [constrains](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes).

  For historical context, please see:
  - #28279
  - #28477
  - #28478

  **A note for reviewers:** To test scripts locally, ensure that you works with a _shallow_ copy of the repo.

ACKs for top commit:
  MarcoFalke:
    lgtm ACK 27b636a

Tree-SHA512: 0c69ced13509fa0ed2dd6ef13f4c710d678e31b294b6318b59ab1ba899086a71b5c893aaf70e143036349329167bf8e16bdca319b2c761e2aef6222d0db1470c
Frank-GER pushed a commit to syscoin/syscoin that referenced this pull request Sep 25, 2023
27b636a ci: Reintroduce fixed "test-each-commit" job (Hennadii Stepanov)

Pull request description:

  This is a fixed version of bitcoin#28279:
  > Currently, if a pull request has more than one commit, previous commits may fail to compile, or may fail the tests. This is problematic, because it breaks git-bisect, or worse.
  >
  > Fix this by adding a CI task for this.

  The new job checks at most 6 commits of a pull request, excluding the top one.

  The maximum number of tested commits is 6, which derives from the time [constrains](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes).

  For historical context, please see:
  - bitcoin#28279
  - bitcoin#28477
  - bitcoin#28478

  **A note for reviewers:** To test scripts locally, ensure that you works with a _shallow_ copy of the repo.

ACKs for top commit:
  MarcoFalke:
    lgtm ACK 27b636a

Tree-SHA512: 0c69ced13509fa0ed2dd6ef13f4c710d678e31b294b6318b59ab1ba899086a71b5c893aaf70e143036349329167bf8e16bdca319b2c761e2aef6222d0db1470c
@bitcoin bitcoin locked and limited conversation to collaborators Sep 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants