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

feat(chaos dashboard): add deleting status #2708

Merged
merged 3 commits into from
Jan 6, 2022

Conversation

cwen0
Copy link
Member

@cwen0 cwen0 commented Dec 23, 2021

Signed-off-by: cwen0 cwenyin0@gmail.com

What problem does this PR solve?

What's changed and how it works?

If the chaos object is deleted and blocked, we should show it on chaos dashboard. In this pr, I add a new status deleting to describe this status.

Related changes

  • Need to update chaos-mesh/website
  • Need to update Dashboard UI
  • Need to cheery-pick to release branches
    • release-2.1
    • release-2.0

Checklist

Tests

  • Unit test
  • E2E test
  • No code
  • Manual test (add steps below)

image

Side effects

  • Breaking backward compatibility

Release note

Please add a release note.

You can safely ignore this section if you don't think this PR needs a release note.

DCO

If you find the DCO check fails, please run commands like below (Depends on the actual situations. For example, if the failed commit isn't the most recent) to fix it:

git commit --amend --signoff
git push --force

Signed-off-by: cwen0 <cwenyin0@gmail.com>
@ti-chi-bot
Copy link
Member

ti-chi-bot commented Dec 23, 2021

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • STRRL
  • g1eny0ung

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@codecov
Copy link

codecov bot commented Dec 23, 2021

Codecov Report

Merging #2708 (7012573) into master (8cdbeac) will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2708      +/-   ##
==========================================
+ Coverage   41.08%   41.10%   +0.01%     
==========================================
  Files         144      144              
  Lines       11719    11719              
==========================================
+ Hits         4815     4817       +2     
- Misses       6541     6542       +1     
+ Partials      363      360       -3     
Impacted Files Coverage Δ
.../workflow/controllers/workflow_entry_reconciler.go 48.14% <0.00%> (-4.77%) ⬇️
pkg/selector/generic/mode.go 25.64% <0.00%> (-2.57%) ⬇️
pkg/workflow/controllers/task_reconciler.go 6.73% <0.00%> (+0.80%) ⬆️
pkg/workflow/controllers/serial_node_reconciler.go 60.73% <0.00%> (+1.57%) ⬆️
pkg/workflow/controllers/deadline_reconciler.go 69.62% <0.00%> (+5.18%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8cdbeac...7012573. Read the comment docs.

Signed-off-by: cwen0 <cwenyin0@gmail.com>
@g1eny0ung
Copy link
Member

The name Deleted is more accurate?

@cwen0
Copy link
Member Author

cwen0 commented Dec 28, 2021

The name Deleted is more accurate?

I don't think so. Because the real status is deleting and the chaos experiment has not been recovered. Deleted maybe make users confused.

@g1eny0ung
Copy link
Member

g1eny0ung commented Dec 28, 2021

The name Deleted is more accurate?

I don't think so. Because the real status is deleting and the chaos experiment has not been recovered. Deleted maybe make users confused.

But according to my understanding, when users click on the Deleting experiment, API will return experiment not found, it's also weird. 😢

@cwen0
Copy link
Member Author

cwen0 commented Dec 28, 2021

The name Deleted is more accurate?

I don't think so. Because the real status is deleting and the chaos experiment has not been recovered. Deleted maybe make users confused.

But according to my understanding, when users click on the Deleting experiment, API will return experiment not found, it's also weird. 😢

This issue was fixed in #2698

Copy link
Member

@g1eny0ung g1eny0ung left a comment

Choose a reason for hiding this comment

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

Know about it. This LGTM. 👍🏽

Copy link
Member

@STRRL STRRL left a comment

Choose a reason for hiding this comment

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

LGTM

@STRRL
Copy link
Member

STRRL commented Jan 5, 2022

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: 4c0f79e

@STRRL
Copy link
Member

STRRL commented Jan 6, 2022

/merge

@cwen0
Copy link
Member Author

cwen0 commented Jan 6, 2022

/run-e2e-tests

@chaos-mesh chaos-mesh deleted a comment from STRRL Jan 6, 2022
@ti-chi-bot ti-chi-bot merged commit 0528b02 into chaos-mesh:master Jan 6, 2022
@ti-srebot
Copy link
Contributor

cherry pick to release-2.0 failed

@ti-srebot
Copy link
Contributor

cherry pick to release-2.1 in PR #2753

@cwen0 cwen0 deleted the add-deleting-status branch January 6, 2022 11:20
ti-chi-bot pushed a commit that referenced this pull request Jan 6, 2022
* feat: add deleting status

Signed-off-by: cwen0 <cwenyin0@gmail.com>

* fix ci

Signed-off-by: cwen0 <cwenyin0@gmail.com>

Co-authored-by: cwen0 <cwenyin0@gmail.com>
craig-seeman pushed a commit to craig-seeman/chaos-mesh that referenced this pull request Jan 10, 2022
* feat: add deleting status

Signed-off-by: cwen0 <cwenyin0@gmail.com>

* fix ci

Signed-off-by: cwen0 <cwenyin0@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Signed-off-by: Craig Seeman <cseeman@zendesk.com>
ti-chi-bot pushed a commit that referenced this pull request Jan 11, 2022
Signed-off-by: cwen0 <cwenyin0@gmail.com>
STRRL added a commit to STRRL/chaos-mesh that referenced this pull request Jan 25, 2022
STRRL added a commit to STRRL/chaos-mesh that referenced this pull request Jan 25, 2022
ti-chi-bot pushed a commit that referenced this pull request Jan 26, 2022
Signed-off-by: STRRL <str_ruiling@outlook.com>
STRRL added a commit to STRRL/chaos-mesh that referenced this pull request Jan 26, 2022
ti-chi-bot added a commit that referenced this pull request Feb 7, 2022
* time: add fake image for vdso gettimeofday (#2742)

* Add: the fake image for vdso gettimeofday

Signed-off-by: reigending <1066297896@qq.com>

* update: namethings and struct of time skew

Signed-off-by: reigending <1066297896@qq.com>

* Fix: name things

Signed-off-by: reigending <1066297896@qq.com>

* Update: CHANGELOG.md add section

Signed-off-by: reigending <1066297896@qq.com>

* Fix: camelCase naming mistake

Signed-off-by: reigending <1066297896@qq.com>

Co-authored-by: STRRL <str_ruiling@outlook.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Signed-off-by: STRRL <str_ruiling@outlook.com>

* refactor: move common used attach/ptrace function (#2675)

* refactor: move common used attach/ptrace function

Signed-off-by: STRRL <str_ruiling@outlook.com>

* chore: make check

Signed-off-by: STRRL <str_ruiling@outlook.com>

* chore: replace refactored method in SkewClockGetTime

Signed-off-by: STRRL <str_ruiling@outlook.com>

* chore: apply refactored methods to other FakeClockInjector

Signed-off-by: STRRL <str_ruiling@outlook.com>

* chore: append changelog for #2753, cherry-picked from #2708 (#2827)

Signed-off-by: STRRL <str_ruiling@outlook.com>

* chore: fix makefile

Signed-off-by: STRRL <str_ruiling@outlook.com>

Co-authored-by: Reigen <37658394+ReigenDing@users.noreply.github.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants