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

chore: reverted client profiled build #35306

Merged
merged 1 commit into from
Jul 31, 2024
Merged

chore: reverted client profiled build #35306

merged 1 commit into from
Jul 31, 2024

Conversation

vsvamsi1
Copy link
Contributor

@vsvamsi1 vsvamsi1 commented Jul 31, 2024

Description

Reverted client profiled build script, we will instead generate a docker custom image.

Fixes #35184

Warning

If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.

Automation

/ok-to-test tags="@tag.Sanity"

🔍 Cypress test results

Tip

🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/10177617441
Commit: 3ff5d30
Cypress dashboard.
Tags: @tag.Sanity
Spec:


Wed, 31 Jul 2024 09:52:14 UTC

Communication

Should the DevRel and Marketing teams inform users about this change?

  • Yes
  • No

Summary by CodeRabbit

  • Bug Fixes
    • Removed the dependency on the APPSMITH_CLOUD_HOSTING environment variable during the build process, streamlining the workflow and build script.

@vsvamsi1 vsvamsi1 added the ok-to-test Required label for CI label Jul 31, 2024
@vsvamsi1 vsvamsi1 requested a review from rajatagrawal July 31, 2024 07:18
@vsvamsi1 vsvamsi1 self-assigned this Jul 31, 2024
@vsvamsi1 vsvamsi1 requested a review from sharat87 as a code owner July 31, 2024 07:18
Copy link
Contributor

coderabbitai bot commented Jul 31, 2024

Walkthrough

The recent changes streamline the build process by removing the APPSMITH_CLOUD_HOSTING environment variable from the GitHub Actions workflow and simplifying the build script. This results in a more direct execution of the build command without conditional profiling, enhancing efficiency and clarity in the build pipeline.

Changes

Files Change Summary
.github/workflows/client-build.yml Removed environment variable assignment for APPSMITH_CLOUD_HOSTING, impacting build environment.
app/client/build.sh Eliminated conditional logic based on APPSMITH_CLOUD_HOSTING, simplifying to a direct build command.

Assessment against linked issues

Objective Addressed Explanation
Capture widget's performance (#35184) The changes do not implement performance capture for widgets.

🌟 In the land of code where changes flow,
A simpler build, with a brighter glow.
No more checks for the cloud to see,
Just a straight path to efficiency!
🛠️ Let’s celebrate this cleaner spree! 🌟


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?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added skip-changelog Adding this label to a PR prevents it from being listed in the changelog Performance Issues related to performance Performance infra all issue related to the performance infra Performance Pod All things related to Appsmith performance Task A simple Todo labels Jul 31, 2024
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between b7629b3 and aec5fab.

Files selected for processing (2)
  • .github/workflows/client-build.yml (1 hunks)
  • app/client/build.sh (1 hunks)
Files skipped from review due to trivial changes (2)
  • .github/workflows/client-build.yml
  • app/client/build.sh

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between b7629b3 and aec5fab.

Files selected for processing (2)
  • .github/workflows/client-build.yml (1 hunks)
  • app/client/build.sh (1 hunks)
Files skipped from review due to trivial changes (1)
  • app/client/build.sh
Additional comments not posted (1)
.github/workflows/client-build.yml (1)

Line range hint 1-94:
Verify the impact of removing the APPSMITH_CLOUD_HOSTING environment variable.

The removal of the APPSMITH_CLOUD_HOSTING environment variable might affect processes or scripts that rely on it during the build phase. Ensure that all dependent scripts and processes are updated accordingly to prevent any disruptions.

Verification successful

No issues found with the removal of the APPSMITH_CLOUD_HOSTING environment variable.

The search indicates that the APPSMITH_CLOUD_HOSTING environment variable is not used in any other scripts or workflows within the repository. Therefore, its removal does not impact other parts of the codebase.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify if the `APPSMITH_CLOUD_HOSTING` environment variable is used in any other scripts or workflows.

# Test: Search for the usage of `APPSMITH_CLOUD_HOSTING` in the repository. Expect: No occurrences of this variable.
rg --type shell --type yaml --type json 'APPSMITH_CLOUD_HOSTING'

Length of output: 94


Script:

#!/bin/bash
# Description: Verify if the `APPSMITH_CLOUD_HOSTING` environment variable is used in any other scripts or workflows.

# Test: Search for the usage of `APPSMITH_CLOUD_HOSTING` in the repository. Expect: No occurrences of this variable.
rg --type sh --type yaml --type json 'APPSMITH_CLOUD_HOSTING'

Length of output: 61

@vsvamsi1 vsvamsi1 added ok-to-test Required label for CI and removed ok-to-test Required label for CI labels Jul 31, 2024
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between aec5fab and 3ff5d30.

Files selected for processing (2)
  • .github/workflows/client-build.yml (1 hunks)
  • app/client/build.sh (1 hunks)
Files skipped from review as they are similar to previous changes (2)
  • .github/workflows/client-build.yml
  • app/client/build.sh

@vsvamsi1 vsvamsi1 merged commit d780ecb into release Jul 31, 2024
44 checks passed
@vsvamsi1 vsvamsi1 deleted the test18 branch July 31, 2024 09:53
@coderabbitai coderabbitai bot mentioned this pull request Nov 20, 2024
2 tasks
@coderabbitai coderabbitai bot mentioned this pull request Dec 11, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test Required label for CI Performance infra all issue related to the performance infra Performance Pod All things related to Appsmith performance Performance Issues related to performance skip-changelog Adding this label to a PR prevents it from being listed in the changelog Task A simple Todo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Capture widget's performance
2 participants