Skip to content

Fix PAC validation race condition - #10050

Closed
qasic wants to merge 1 commit into
refined-github:mainfrom
qasic:multiple-ghes-validation
Closed

qasic wants to merge 1 commit into
refined-github:mainfrom
qasic:multiple-ghes-validation

Conversation

@qasic

@qasic qasic commented Sep 5, 2026

Copy link
Copy Markdown

Fixes #10014.

Ignore stale validation results when a newer request has started. This prevents an outdated response from showing the wrong status icon.

Fixes refined-github#10014.

Ignore stale validation results when a newer request has started. This
prevents an outdated response from showing the wrong status icon.
@github-actions github-actions Bot added the bug label Sep 5, 2026
@qasic

qasic commented Sep 5, 2026

Copy link
Copy Markdown
Author

I'm unable to share a video/GIF of this issue since this would share corporate GHES URLs, but I can share a sequence of screenshots to illustrate the issue if needed. Please let me know.

@qasic
qasic marked this pull request as ready for review September 5, 2026 18:04
@fregante

fregante commented Sep 6, 2026

Copy link
Copy Markdown
Member

Thank you, I like this small PR.

I thought that I had Svelte deal with the promises already, I forgot that I'm using async effects to do it.

I asked Claude to let Svelte deal with promises instead in #10054, but it's not done/tested yet.

If I don't finish and validate that PR before the next release I'll merge yours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

Race condition in token validation when choosing between multiple GHES

2 participants