Skip to content

scripts/checkCommits1by1.fsx: fix failure - #384

Merged
knocte merged 1 commit into
tarsgate:masterfrom
webwarrior-ws:check1by1-fix-empty-workflowRuns
Sep 30, 2026
Merged

knocte merged 1 commit into
tarsgate:masterfrom
webwarrior-ws:check1by1-fix-empty-workflowRuns

Conversation

@webwarrior-ws

Copy link
Copy Markdown
Collaborator

When the response to request for push runs returns result with empty workflowRuns property. This happens sometimes and would cause CI failure. Instead, wait and retry the request like it is done when run status is incomplete.

@tarsgate tarsgate deleted a comment from nodefect Sep 30, 2026
@knocte

knocte commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

/pi please review this PR

@nodefect nodefect left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good. The change handles the transient empty workflow_runs response by treating it as incomplete information and reusing the existing retry path, while preserving the failure detection logic once a run is present.

I also type-checked the script with dotnet fsi --typecheck-only scripts/checkCommits1by1.fsx successfully.

@nodefect

Copy link
Copy Markdown
Contributor

Looks good. Approved the PR.

I also type-checked the script with:

dotnet fsi --typecheck-only scripts/checkCommits1by1.fsx

and it completed successfully.


View action run | Model: ppq/auto | Time: 52s | Tokens: 61.9K | Cost: $0.02 | Pi SDK v0.87.1 | Action v2.29.1-unknown (unknown @ unknown)

@knocte

knocte commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

@webwarrior-ws CI broken!!!

When the response to request for push runs returns result with
empty workflowRuns property. This happens sometimes and would
cause CI failure. Instead, wait and retry the request like it
is done when run status is incomplete.
@webwarrior-ws
webwarrior-ws force-pushed the check1by1-fix-empty-workflowRuns branch from 404f121 to e185845 Compare September 30, 2026 09:29
@webwarrior-ws

Copy link
Copy Markdown
Collaborator Author

Fixed formatting.

@webwarrior-ws

Copy link
Copy Markdown
Collaborator Author

CI is green

@knocte
knocte merged commit f97569a into tarsgate:master Sep 30, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants