-
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: Remove devDependencies from RTS build #22239
Conversation
/ok-to-test sha=759f896 |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4659412237. |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4659412237. Identified Flaky tests |
1 similar comment
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4659412237. Identified Flaky tests |
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.
Thanks @ChandanBalajiBP, looks good, just a few minor changes and we should be ready to push this. Also, two more questions please:
- Can you confirm that the
formidable
package is not present in thenode_modules
when built this way. I'm sure you checked, just double-confirming. - We've made some changes to the shared AST
package.json
. Does the client build have any impact too? Is that build working fine?
app/rts/build.sh
Outdated
# Keep copy of all dependencies in node_modules_bkp | ||
mv node_modules node_modules_bkp | ||
# Install only production dependencies | ||
yarn install --production --frozen-lockfile | ||
tsc_exit_code=$? |
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 gets the exit code of the last command, which was tsc-alias
, but the last command has changed. In fact, this is actually not needed, let's remove this line, as well as the last exit $tsc_exit_code
line. Neither of them are needed.
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.
Updated
/ok-to-test sha=f2587bd |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4664144634. |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4664144634. Identified Flaky tests |
/ok-to-test sha=762c52e |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4665603870. |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4665603870.
|
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4665603870. |
1 similar comment
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4665603870. |
Adding test plan approved as the Ci has passed and from the build folder there are no dev dependencies. |
Description
Fixes #22182
Type of change
How Has This Been Tested?
Checklist:
Dev activity
QA activity: