Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: fix TestExecutorAutostartSkipsWhenNoProvisionersAvailable flake, part 2#19649

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
cstyan merged 1 commit intomainfromcallum/autostart-skip-flake-pt2
Sep 1, 2025

Conversation

cstyan
Copy link
Contributor

This test still flakes occasionally, seecoder/internal#954 (comment)

The cause appears to be related to the assignment oftime.Now() as theLastSeenAt time when creating a provisioner which can flake with the calculated scheduled next autostart and the code to set thenrequire.Eventually the updated provisioner LastSeenAt.

Instead we should simply calculate all time values for the stale portion of the test based on the provisioners LastSeenAt value to avoid such issues.

@github-actionsGitHub Actions
Copy link

github-actionsbot commentedAug 29, 2025
edited
Loading

All contributors have signed the CLA ✍️ ✅
Posted by theCLA Assistant Lite bot.

TestExecutorAutostartSkipsWhenNoProvisionersAvailable flake, it appearsto be related to the assignment of `time.Now()` as the `LastSeenAt` timewhen creating a provisioner which can flake with the calculatedscheduled next autostart and the code to set then require.Eventually theupdated provisioner LastSeenAtinstead we should simply calculate all time values for the stale portionof the test based on the provisioners LastSeenAt value to avoid such issuesSigned-off-by: Callum Styan <callumstyan@gmail.com>
@cstyancstyanforce-pushed thecallum/autostart-skip-flake-pt2 branch from074317e todcb2f1aCompareAugust 29, 2025 19:37
@cstyancstyan merged commit6574299 intomainSep 1, 2025
26 checks passed
@cstyancstyan deleted the callum/autostart-skip-flake-pt2 branchSeptember 1, 2025 15:52
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsSep 1, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@johnstcnjohnstcnjohnstcn approved these changes

Assignees

@cstyancstyan

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@cstyan@johnstcn

[8]ページ先頭

©2009-2025 Movatter.jp