Skip to content

Conversation

carlopi
Copy link
Contributor

@carlopi carlopi commented Mar 25, 2025

Previously we would blindly checkout main, but that might change between when a PR is sent and when it's evaluated (due to other PR being merged in the timeline of a PR).

Now move to use github.event.pull_request.base.sha for pull_requests.

Problem discovered with @c-herrewijn looking at hard to justify behaviour on a PR of his.

@carlopi carlopi changed the title Regression.yml: Actually checkout right commit Regression.yml: Actually checkout proper base.sha commit Mar 25, 2025
@Mytherin Mytherin merged commit 03432a4 into duckdb:main Mar 25, 2025
6 checks passed
@Mytherin
Copy link
Collaborator

Thanks!

@Mytherin
Copy link
Collaborator

Revert up in #16860 - this seems to cause CI to fail at times - not sure why exactly (e.g. - https://github.com/duckdb/duckdb/actions/runs/14094223907/job/39478033537?pr=16838)

@carlopi
Copy link
Contributor Author

carlopi commented Mar 27, 2025

Thanks, revert is great. Not sure either.

krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 15, 2025
Add storage_version 66 for version 1.3.0 (duckdb/duckdb#16800)
Benchmark runner summary (duckdb/duckdb#16759)
NightlyTests.yml: Inline env variables into build command (duckdb/duckdb#16817)
fix: drop useless python import (duckdb/duckdb#16808)
Regression.yml: Actually checkout proper base.sha commit (duckdb/duckdb#16824)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 15, 2025
Add storage_version 66 for version 1.3.0 (duckdb/duckdb#16800)
Benchmark runner summary (duckdb/duckdb#16759)
NightlyTests.yml: Inline env variables into build command (duckdb/duckdb#16817)
fix: drop useless python import (duckdb/duckdb#16808)
Regression.yml: Actually checkout proper base.sha commit (duckdb/duckdb#16824)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 16, 2025
Add storage_version 66 for version 1.3.0 (duckdb/duckdb#16800)
Benchmark runner summary (duckdb/duckdb#16759)
NightlyTests.yml: Inline env variables into build command (duckdb/duckdb#16817)
fix: drop useless python import (duckdb/duckdb#16808)
Regression.yml: Actually checkout proper base.sha commit (duckdb/duckdb#16824)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 16, 2025
Add storage_version 66 for version 1.3.0 (duckdb/duckdb#16800)
Benchmark runner summary (duckdb/duckdb#16759)
NightlyTests.yml: Inline env variables into build command (duckdb/duckdb#16817)
fix: drop useless python import (duckdb/duckdb#16808)
Regression.yml: Actually checkout proper base.sha commit (duckdb/duckdb#16824)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 16, 2025
Add storage_version 66 for version 1.3.0 (duckdb/duckdb#16800)
Benchmark runner summary (duckdb/duckdb#16759)
NightlyTests.yml: Inline env variables into build command (duckdb/duckdb#16817)
fix: drop useless python import (duckdb/duckdb#16808)
Regression.yml: Actually checkout proper base.sha commit (duckdb/duckdb#16824)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 17, 2025
Add storage_version 66 for version 1.3.0 (duckdb/duckdb#16800)
Benchmark runner summary (duckdb/duckdb#16759)
NightlyTests.yml: Inline env variables into build command (duckdb/duckdb#16817)
fix: drop useless python import (duckdb/duckdb#16808)
Regression.yml: Actually checkout proper base.sha commit (duckdb/duckdb#16824)
@carlopi carlopi deleted the fix_regression branch August 17, 2025 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants