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: set a failed canceled job status correctly#3061

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

Closed
Kira-Pilot wants to merge25 commits intomainfromfailed-canceled-job/kira-pilot

Conversation

Kira-Pilot
Copy link
Member

@Kira-PilotKira-Pilot commentedJul 20, 2022
edited
Loading

resolves#1374

When a previous job was canceled and that cancellation was unsuccessful, we incorrectly set the job status ascanceled. This fix remedies that issue by setting the status asFailed.

@Kira-PilotKira-Pilot changed the titleset a failed canceled job status correctlyfix: set a failed canceled job status correctlyJul 20, 2022
@Kira-PilotKira-Pilot marked this pull request as draftJuly 20, 2022 12:57
mafredriand others added14 commitsJuly 20, 2022 18:03
We are starting to run into test flakes due to lack of randomness in CI,this change simply bumps randomness by additional suffix numbers.See:#3038 (comment)
* chore: Speed up port-forward tests* chore: Add t.Helper and ensure listener closure on error
Bumps [github.com/spf13/afero](https://github.com/spf13/afero) from 1.9.0 to 1.9.2.- [Release notes](https://github.com/spf13/afero/releases)- [Commits](spf13/afero@v1.9.0...v1.9.2)---updated-dependencies:- dependency-name: github.com/spf13/afero  dependency-type: direct:production  update-type: version-update:semver-patch...Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.- [Release notes](https://github.com/terser/terser/releases)- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)- [Commits](https://github.com/terser/terser/commits)---updated-dependencies:- dependency-name: terser  dependency-type: indirect...Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: Fix statuses breaking line in the UI* fix: AppLink stories
Considering database load and CI performance during testing, we shouldavoid failing too early.
Avoid relying on codecov to manage action step failure, hopefully worksaround:codecov/codecov-action#788
The Go test timeout uses 20m, if we want to get a stack trace, we mustallow the actions worker to run longer than that.
Kira-Pilotand others added3 commitsJuly 21, 2022 09:46
Co-authored-by: Cian Johnston <cian@coder.com>
* fix: Potential deadlock in peer.Channel dc.OnOpen* fix: Potential send on closed channel* fix: Improve robustness of waitOpened during close* chore: Simplify statements* fix: Improve teardown and timeout of peer tests* fix: Improve robustness of TestConn/Buffering test* Update peer/channel.goCo-authored-by: Steven Masley <Emyrk@users.noreply.github.com>
@Kira-PilotKira-Pilot marked this pull request as ready for reviewJuly 21, 2022 19:22
@johnstcnjohnstcn requested a review froma teamJuly 21, 2022 19:24
Two coderd unit tests (TestPatchCancelTemplateVersion/Success and TestPatchCancelWorkspaceBuild) implied erroneously that the job was canceled successfully.This is not the case, as these unit tests do not include a Provision_Complete response in the input to theecho provisioner. Now explicitly checking the job error and bumping the force cancel interval to be longer.Fixes#3083.
@Kira-PilotKira-Pilot requested a review froma team as acode ownerJuly 21, 2022 19:42
Co-authored-by: Cian Johnston <cian@coder.com>
@Kira-Pilot
Copy link
MemberAuthor

Wow, what a rebase effort. Closing in favor of a cleaner#3101.

@github-actionsgithub-actionsbot deleted the failed-canceled-job/kira-pilot branchFebruary 4, 2023 20:04
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@mafredrimafredrimafredri left review comments

@johnstcnjohnstcnjohnstcn left review comments

@kylecarbskylecarbskylecarbs left review comments

Assignees

@Kira-PilotKira-Pilot

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Error while canceling job should result in failed; instead results in canceled
7 participants
@Kira-Pilot@mafredri@johnstcn@kylecarbs@ammario@BrunoQuaresma@sreya

[8]ページ先頭

©2009-2025 Movatter.jp