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

fix(core): fix infinite retry when workspace not found #8679

Open
wants to merge 1 commit into
base: canary
Choose a base branch
from

Conversation

EYHN
Copy link
Member

@EYHN EYHN commented Nov 4, 2024

No description provided.

Copy link

graphite-app bot commented Nov 4, 2024

Your org has enabled the Graphite merge queue for merging into canary

Add the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

@EYHN EYHN marked this pull request as ready for review November 4, 2024 04:19
Copy link
Member Author

EYHN commented Nov 4, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @EYHN and the rest of your teammates on Graphite Graphite

Copy link

nx-cloud bot commented Nov 4, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit e8676c1. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

Copy link

codecov bot commented Nov 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.06%. Comparing base (902635e) to head (e8676c1).

Additional details and impacted files
@@             Coverage Diff             @@
##           canary    #8679       +/-   ##
===========================================
+ Coverage   44.96%   70.06%   +25.10%     
===========================================
  Files         318      546      +228     
  Lines        7422    33809    +26387     
  Branches     1524     3055     +1531     
===========================================
+ Hits         3337    23687    +20350     
- Misses       3784     9761     +5977     
- Partials      301      361       +60     
Flag Coverage Δ
server-test 77.12% <ø> (?)
unittest 44.96% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -84,13 +84,16 @@ export const Component = (): ReactElement => {
}
}, [listLoading, meta, workspacesService]);

// if workspace is not found, we should revalidate in interval
// if workspace is not found, we should retry
const retryTimesRef = useRef(3);
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we need to reset the timer when workspace id changed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants