-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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: Fixed race condition in import application flow #22764
Conversation
/ok-to-test sha=8a584bf |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4812191048. |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4812191048.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nit. Rest LGTM
Mono<Workspace> workspaceMono = workspaceService.findById( | ||
workspaceId, isGitSync ? Optional.empty() : Optional.of(workspacePermission.getApplicationCreatePermission()) | ||
).cache(); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need to cache this? I don't see this being used anywhere else in the flow.
/build-deploy-preview skip-tests=true |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/4818615532. |
Deploy-Preview-URL: https://ce-22764.dp.appsmith.com |
/ok-to-test sha=090d7ec |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4839981077. |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4839981077.
|
…ce-condition-in-import
/ok-to-test sha=e75196d |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4845578320. |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4845578320. To know the list of identified flaky tests - Refer here |
2 similar comments
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4845578320. To know the list of identified flaky tests - Refer here |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4845578320. To know the list of identified flaky tests - Refer here |
…ce-condition-in-import
/ok-to-test sha=1d9d51b |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4853224596. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed for the ImportExport v1 as well right?
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4853224596.
To know the list of identified flaky tests - Refer here |
@AnaghHegde no, the v1 is a bit different. It has custom js lib import later in the flow, not in the first. |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4853224596. |
Warning Rate limit exceeded@github-actions[bot] has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 29 minutes and 50 seconds before requesting another review. How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
Description
This PR fixes the import application failure issue due to the race condition.
Fixes #21126
Media
Type of change
How Has This Been Tested?
Test Plan
Issues raised during DP testing
Checklist:
Dev activity
QA activity: