Skip to content

Fix Safari & Safari Technology Preview GitHub Actions runs - #54689

Merged
gsnedders merged 1 commit into
web-platform-tests:masterfrom
gsnedders:safari-epoch-fix
Sep 5, 2025
Merged

Fix Safari & Safari Technology Preview GitHub Actions runs#54689
gsnedders merged 1 commit into
web-platform-tests:masterfrom
gsnedders:safari-epoch-fix

Conversation

@gsnedders

@gsnedders gsnedders commented Sep 4, 2025

Copy link
Copy Markdown
Member

We make the epochs' git-push-output have 40 character commit ids, because actions/checkout allows for ref to be a commit id, but only if it is exactly a 40 character hex string (c.f. https://github.com/actions/checkout/blob/ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493/src/input-helper.ts#L74).

Then, with that fixed, the Safari & Safari Technology Preview runs should start succeeding, once again able to check code out.

@gsnedders

gsnedders commented Sep 4, 2025

Copy link
Copy Markdown
Member Author

Trying to trigger a manual run made me find out that it is even more broken. 😞

@foolip foolip left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding a comment, it wasn't obvious without it 🙃

We make the epochs' git-push-output have 40 character commit ids,
because actions/checkout allows for ref to be a commit id, but only if
it is exactly a 40 character hex string.

Then, with that fixed, the Safari & Safari Technology Preview runs
should start succeeding, once again able to check code out.

Additionally, fix the `fetch-ref` definition so that it works in the
not-workflow_run case where the output is empty.
@gsnedders
gsnedders marked this pull request as ready for review September 4, 2025 20:44
@wpt-pr-bot
wpt-pr-bot requested a review from past September 4, 2025 20:45
@gsnedders

Copy link
Copy Markdown
Member Author

https://github.com/web-platform-tests/wpt/actions/runs/17476226595/job/49636646004 managed to run beyond the checkout stage, which shows the triggering should now work.

@jgraham

jgraham commented Sep 5, 2025

Copy link
Copy Markdown
Contributor

So can this land? The CI failures look unrelated.

@gsnedders

Copy link
Copy Markdown
Member Author

I started writing some short triage of what the CI failures were to land this and then got side-tracked, whoops!

@gsnedders
gsnedders merged commit 37d7e90 into web-platform-tests:master Sep 5, 2025
51 of 65 checks passed
@gsnedders
gsnedders deleted the safari-epoch-fix branch September 5, 2025 21:06
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.

5 participants