Skip to content

Conversation

@namespacebrian
Copy link
Contributor

No description provided.

Copy link
Contributor

@kporras07 kporras07 left a comment

Choose a reason for hiding this comment

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

LGTM

if (!$startTime) {
$startTime = time() - 60;
}
if (!empty($options['target_commit'])) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This feels like a "major-ish" change to me

Copy link
Contributor

Choose a reason for hiding this comment

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

lol, we checked for one option and used a different one :/ Which should we keep? 😂

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The mismatch'ed variable names was one of the bugs in that 6000 line PR. The code was actually never traversing the waitForCommit() path. When I discovered this bug before and corrected it, it uncovered lots of problems in the waitForCommit() code.

Thanks for pointing this out.. I just realized I probably haven't tested this path and there are probably still problems in that code.....

@namespacebrian
Copy link
Contributor Author

Update: confirmed that a fix in this PR re-activates waitforCommit() code that contains more bugs, so this PR cannot be merged in its current state.

I am probably going to revert the PR for the --commit parameter, re-implement that functionality in a simpler way, and bundle all those changes together.

@namespacebrian namespacebrian deleted the fix-workflow-wait branch July 23, 2025 13:38
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