Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release-1.x] fix(action): unexpected behaviour when watching non-existing Actions #300

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 8, 2023

Backport 0727d42 from #298.

…298)

When passed an action with an unknown ID, the
`ActionClient.WatchProgress()` and `ActionClient.WatchOverallProgress()`
methods experience unexpected behaviour:

- `WatchProgress()` would panic with a nil pointer dereference when
  accessing `a.Status`
- `WatchOverallProgress()` would go into an infinite loop, never
  finishing or closing the channels.

(cherry picked from commit 0727d42)
@github-actions github-actions bot requested a review from a team as a code owner August 8, 2023 12:04
@apricote apricote merged commit c437163 into release-1.x Aug 8, 2023
@apricote apricote deleted the backport-298-to-release-1.x branch August 8, 2023 12:20
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.

1 participant