Skip to content

Release4#36600

Closed
vsvamsi1 wants to merge 4 commits intoreleasefrom
release4
Closed

Release4#36600
vsvamsi1 wants to merge 4 commits intoreleasefrom
release4

Conversation

@vsvamsi1
Copy link
Contributor

@vsvamsi1 vsvamsi1 commented Sep 29, 2024

Description

Tip

Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team).

Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR.

Fixes #Issue Number
or
Fixes Issue URL

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.All"

🔍 Cypress test results

Warning

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/11122879075
Commit: 5f18be3
Cypress dashboard.
Tags: @tag.All
Spec:
It seems like no tests ran 😔. We are not able to recognize it, please check workflow here.


Tue, 01 Oct 2024 09:54:27 UTC

Communication

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

  • Yes
  • No

Summary by CodeRabbit

  • New Features

    • Enhanced asynchronous capabilities for SQL query generation across various database classes (GSheets, MSSQL, MySQL, PostgreSQL, Snowflake).
    • Improved control flow in the OneClickBindingSaga for better handling of asynchronous operations.
  • Bug Fixes

    • Corrected method signatures to ensure proper asynchronous execution in query generation processes.
  • Documentation

    • Updated method signatures to reflect the new asynchronous behavior for clarity.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 29, 2024

Walkthrough

The changes introduced in this pull request involve modifying multiple classes within the query generator system to support asynchronous operations. Specifically, the build and buildSelect methods across various database classes (GSheets, MSSQL, MySQL, PostgreSQL, and Snowflake) have been updated to include the async keyword, enabling them to handle promises and utilize await. Additionally, the BindWidgetToDatasource function in the saga has been converted to an asynchronous generator function, enhancing its capability to manage asynchronous tasks effectively.

Changes

File Path Change Summary
app/client/src/WidgetQueryGenerators/GSheets/index.ts build method modified to async.
app/client/src/WidgetQueryGenerators/MSSQL/index.ts build and buildSelect methods modified to async. Dynamic imports for SQL formatting are now awaited.
app/client/src/WidgetQueryGenerators/MySQL/index.ts build and buildSelect methods modified to async. Dynamic imports for SQL formatting are now awaited.
app/client/src/WidgetQueryGenerators/PostgreSQL/index.ts build and buildSelect methods modified to async. Dynamic imports for SQL formatting are now awaited.
app/client/src/WidgetQueryGenerators/Snowflake/index.ts build and buildSelect methods modified to async. Dynamic imports for SQL formatting are now awaited.
app/client/src/sagas/OneClickBindingSaga.ts BindWidgetToDatasource function changed from generator to async generator, allowing await for asynchronous operations.

Possibly related PRs

Suggested labels

Task, Bug

Suggested reviewers

  • sharat87
  • ApekshaBhosale
  • riteshkew
  • pratapaprasanna

🎉 In the realm of code, where functions reside,
Asynchronous magic now takes a stride.
With await in hand, the queries will flow,
In harmony, they dance, putting on a show!
From GSheets to Snowflake, the changes are bright,
A saga transformed, oh what a delight! 🌟


📜 Recent review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 01b7623 and 5f18be3.

📒 Files selected for processing (1)
  • app/client/src/sagas/OneClickBindingSaga.ts (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • app/client/src/sagas/OneClickBindingSaga.ts

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>, please review it.
    • 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 gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @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 using 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.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

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.

@vsvamsi1 vsvamsi1 added the ok-to-test Required label for CI label Sep 29, 2024
@github-actions github-actions bot removed the ok-to-test Required label for CI label Sep 29, 2024
@vsvamsi1 vsvamsi1 added the ok-to-test Required label for CI label Sep 29, 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: 6

🧹 Outside diff range and nitpick comments (4)
app/client/src/sagas/OneClickBindingSaga.ts (2)

Line range hint 101-359: Consider a comprehensive refactoring for consistency

Now, class, let's look at the bigger picture. While we've made a great improvement in one part of our BindWidgetToDatasource function, we have an opportunity to make it even better!

Currently, we're mixing await and yield for handling asynchronous operations. This is like using both metric and imperial measurements in the same math problem - it works, but it can be confusing.

Here's your homework assignment:

  1. Review the entire function and identify all asynchronous operations.
  2. Consider refactoring these operations to consistently use async/await syntax.
  3. Pay special attention to error handling and ensure it remains robust throughout the refactoring process.

Remember, consistency is key in coding, just like in handwriting. It makes our code easier to read and understand, not just for ourselves but for our fellow developers too.

If you need any help with this refactoring, don't hesitate to ask. We're all here to learn and improve together!


Line range hint 328-341: Let's enhance our error handling

Alright, students, let's turn our attention to error handling. Just like in a science experiment, we need to be prepared for unexpected results!

Our current error handling is good, but we can make it even better. Here are some suggestions for improvement:

  1. Provide more specific error messages: Instead of a generic "Failed to Bind to widget" message, try to give more context about what went wrong. This will help developers quickly identify and fix issues.

  2. Log errors for debugging: Consider adding logging statements within the catch block. This can be incredibly helpful when trying to diagnose problems in production.

  3. Categorize errors: If possible, try to categorize different types of errors that might occur. This could help in providing more tailored error messages and potentially automating some error recovery processes.

Remember, good error handling is like having a good safety net in a circus act. It might not prevent falls, but it certainly makes them less catastrophic!

Here's a small example of how you might improve the catch block:

catch (e: unknown) {
  console.error("Error in BindWidgetToDatasource:", e);
  const errorMessage = e instanceof Error ? e.message : "An unknown error occurred";
  yield put({
    type: ReduxActionTypes.BIND_WIDGET_TO_DATASOURCE_ERROR,
    payload: {
      show: true,
      error: {
        message: `Failed to bind widget to datasource: ${errorMessage}`,
      },
    },
  });
}

Keep up the good work, and remember: in coding, as in life, it's not about avoiding errors, it's about handling them gracefully!

app/client/src/WidgetQueryGenerators/Snowflake/index.ts (2)

80-81: Consider the impact of dynamic imports on performance

Dear student, while dynamically importing sql-formatter within the buildSelect method can help reduce the initial load time, it may introduce performance overhead if this method is called frequently. Each call will initiate an import, which might affect efficiency. If sql-formatter is required in most executions, consider importing it at the top level to improve performance.

You can import sql-formatter statically at the top of the file:

+import { formatDialect, snowflake } from "sql-formatter";

Then, remove the dynamic import within the method:

-    const { formatDialect, snowflake } = await import("sql-formatter");

If no other await operations exist in buildSelect, you can also remove the async keyword:

-private static async buildSelect(
+private static buildSelect(

This adjustment can enhance performance by avoiding repeated imports.


Line range hint 211-230: Replace 'this' with the class name in static methods for clarity

Dear student, using this in static methods can be confusing because this typically refers to instances of a class, not the class itself. In static contexts, it's clearer to reference the class name directly. This improves readability and aligns with best practices.

In lines 211, 221, and 230, replace this with the class name Snowflake:

Apply the following diff to make the changes:

 // Line 211
-allBuildConfigs.push(await this.buildSelect(widgetConfig, formConfig));
+allBuildConfigs.push(await Snowflake.buildSelect(widgetConfig, formConfig));

 // Line 221
-allBuildConfigs.push(this.buildUpdate(widgetConfig, formConfig));
+allBuildConfigs.push(Snowflake.buildUpdate(widgetConfig, formConfig));

 // Line 230
-allBuildConfigs.push(this.buildInsert(widgetConfig, formConfig));
+allBuildConfigs.push(Snowflake.buildInsert(widgetConfig, formConfig));

This change enhances clarity by explicitly indicating that these methods are static and belong to the Snowflake class.

🧰 Tools
🪛 Biome

[error] 211-211: Using this in a static context can be confusing.

this refers to the class.
Unsafe fix: Use the class name instead.

(lint/complexity/noThisInStatic)

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 5995e42 and 01b7623.

📒 Files selected for processing (6)
  • app/client/src/WidgetQueryGenerators/GSheets/index.ts (1 hunks)
  • app/client/src/WidgetQueryGenerators/MSSQL/index.ts (3 hunks)
  • app/client/src/WidgetQueryGenerators/MySQL/index.ts (3 hunks)
  • app/client/src/WidgetQueryGenerators/PostgreSQL/index.ts (3 hunks)
  • app/client/src/WidgetQueryGenerators/Snowflake/index.ts (3 hunks)
  • app/client/src/sagas/OneClickBindingSaga.ts (2 hunks)
🧰 Additional context used
🪛 Biome
app/client/src/WidgetQueryGenerators/MSSQL/index.ts

[error] 208-208: Using this in a static context can be confusing.

this refers to the class.
Unsafe fix: Use the class name instead.

(lint/complexity/noThisInStatic)

app/client/src/WidgetQueryGenerators/MySQL/index.ts

[error] 207-207: Using this in a static context can be confusing.

this refers to the class.
Unsafe fix: Use the class name instead.

(lint/complexity/noThisInStatic)

app/client/src/WidgetQueryGenerators/PostgreSQL/index.ts

[error] 217-217: Using this in a static context can be confusing.

this refers to the class.
Unsafe fix: Use the class name instead.

(lint/complexity/noThisInStatic)

app/client/src/WidgetQueryGenerators/Snowflake/index.ts

[error] 211-211: Using this in a static context can be confusing.

this refers to the class.
Unsafe fix: Use the class name instead.

(lint/complexity/noThisInStatic)

🔇 Additional comments (10)
app/client/src/sagas/OneClickBindingSaga.ts (2)

101-101: Well done on improving asynchronous handling!

Class, let's take a moment to appreciate the changes made to the BindWidgetToDatasource function. The transformation from a regular generator function to an async generator function is a step in the right direction. This modification allows us to use the await keyword when building the actionConfigurationList, which is a more elegant way to handle asynchronous operations.

Remember, when dealing with asynchronous code, it's crucial to use the appropriate tools. In this case, the async keyword and await operator help us write more readable and maintainable code. It's like using a proper ruler for drawing straight lines instead of trying to do it freehand!

Keep up the good work, and don't forget to update any related documentation to reflect these changes.

Also applies to: 139-142


Line range hint 301-308: Gold star for using analytics!

Excellent work on incorporating analytics into your code! Just like how we use pop quizzes to gauge understanding, analytics help us understand how our code is performing in the real world.

Your use of AnalyticsUtil.logEvent for tracking successful query generation and binding is commendable. It's like keeping a detailed gradebook - it helps us understand what's working well and what might need improvement.

To take your analytics to the next level, consider the following:

  1. Consistency: Ensure you're logging analytics for all major events, not just successes. This includes errors and edge cases.

  2. More detailed metrics: Where appropriate, include more detailed information in your analytics. For example, you could track the time taken for binding operations.

  3. User-centric metrics: Consider adding metrics that reflect the user experience, such as how long it takes for the UI to become responsive after a binding operation.

Remember, good analytics are like a well-written report card. They don't just tell us the final grade, but give us insights into strengths and areas for improvement.

Keep up the fantastic work! Your attention to analytics will help make this feature even better over time.

Also applies to: 353-359

app/client/src/WidgetQueryGenerators/MySQL/index.ts (3)

13-15: Excellent Work Making buildSelect Asynchronous

By declaring the buildSelect method as async, you've appropriately prepared it to handle asynchronous operations within its body. This is essential when using await inside the method.


78-80: Effective Use of Dynamic Import with await

Including const { formatDialect, mysql } = await import("sql-formatter"); within the method delays the import until it's needed. This is a good practice as it can improve initial load performance by reducing upfront dependencies.


199-203: Appropriately Updating build Method to Be Asynchronous

Making the build method asynchronous ensures that it can properly handle any asynchronous operations within, especially since it now awaits buildSelect. This change maintains consistency and correctness in your asynchronous workflow.

app/client/src/WidgetQueryGenerators/MSSQL/index.ts (1)

13-13: Great job converting 'buildSelect' to an asynchronous function!

Making the buildSelect method asynchronous is appropriate since it now includes asynchronous operations like dynamic imports. This ensures that any await expressions within the method are properly handled, and it aligns with best practices for asynchronous code execution.

app/client/src/WidgetQueryGenerators/Snowflake/index.ts (2)

13-13: Excellent use of 'async' in the 'buildSelect' method

Dear student, marking the buildSelect method as async is appropriate since it now includes an await operation for importing the sql-formatter module. This ensures that asynchronous operations within the method are handled correctly.


203-203: Ensure that calling methods handle the asynchronous 'build' method appropriately

Dear student, since the build method is now marked as async, it's important to ensure that all calls to build in the codebase are updated to handle the promise it returns. This typically means adding await where build is called or handling the returned promise appropriately.

Please confirm that all invocations of build are updated. If needed, run the following script to locate all calls to build:

app/client/src/WidgetQueryGenerators/PostgreSQL/index.ts (2)

13-15: Good job updating 'buildSelect' to be asynchronous

Making buildSelect an async function allows you to handle asynchronous operations effectively, such as dynamic imports. This enhances the function's capability and is a wise decision.


209-211: Well done on making the 'build' method asynchronous

Converting build into an async function ensures that any asynchronous operations within it are properly handled. This is a solid enhancement to your code.

}

static build(
static async build(
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Codebase verification

Recommendation on async Keyword in GSheets.build Method

It appears that the build method in GSheets does not perform any asynchronous operations. Therefore, the async keyword may be unnecessary. I recommend removing the async keyword to simplify the code unless there are plans to introduce asynchronous functionality in the near future.

  • File: app/client/src/WidgetQueryGenerators/GSheets/index.ts
  • Method: static build
🔗 Analysis chain

Class, let's examine this change closely.

The addition of the async keyword to the build method is an interesting modification. While it doesn't appear to introduce any immediate issues, I have a few points for us to consider:

  1. This change suggests that we're preparing for asynchronous operations within this method. However, I don't see any await keywords or Promise-returning function calls in the method body.

  2. If there are plans to introduce asynchronous operations in the future, it would be beneficial to add a comment explaining this intention. This will help your fellow students... I mean, developers, understand the reasoning behind this change.

  3. If there are no immediate plans for asynchronous operations, we should consider whether this change is necessary at this time.

To ensure we fully understand the impact of this change, let's do a little homework. Run the following command to check for any other occurrences of this method in the codebase:

This will help us identify any areas where we might need to update method calls or handle the returned Promise.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for occurrences of the GSheets.build method in the codebase

# Test: Search for GSheets.build method calls
rg --type typescript "GSheets\.build\(" -A 5

Length of output: 81


Script:

#!/bin/bash
# Description: Check for occurrences of the GSheets.build method in the codebase

# Test: Search for GSheets.build method calls in TypeScript files
rg --type ts "GSheets\.build\(" -A 5

Length of output: 3143


Script:

#!/bin/bash
# Description: Check for asynchronous operations within the GSheets.build method

# Search for 'await' or Promise-related patterns inside the build method
ast-grep --lang typescript --pattern $'
class GSheets {
  $$$
  static async build($_, $_) {
    $$$
  }
  $$$
}' index.ts | rg "await|Promise\.|\.then\("

Length of output: 211


Script:

#!/bin/bash
# Description: Locate all instances of GSheets.build method to identify the correct file path

# Search for the definition of GSheets.build across the codebase
rg "class\s+GSheets" --type ts --context 5

Length of output: 904


Script:

#!/bin/bash
# Description: Check for asynchronous operations within the GSheets.build method

# Search for 'await' or Promise-related patterns inside the build method in the correct file path
ast-grep --lang typescript --pattern $'
class GSheets {
  $$$
  static async build($_, $_) {
    $$$
  }
  $$$
}' app/client/src/WidgetQueryGenerators/GSheets/index.ts | rg "await|Promise\.|\.then\("

Length of output: 200


if (widgetConfig.select) {
allBuildConfigs.push(this.buildSelect(widgetConfig, formConfig));
allBuildConfigs.push(await this.buildSelect(widgetConfig, formConfig));
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Clarify Static Context by Replacing this with Class Name

Using this within a static method can be misleading because it refers to the class itself, not an instance. To enhance readability and avoid confusion, it's better to use the class name directly.

Consider updating the code as follows:

-allBuildConfigs.push(await this.buildSelect(widgetConfig, formConfig));
+allBuildConfigs.push(await MySQL.buildSelect(widgetConfig, formConfig));
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
allBuildConfigs.push(await this.buildSelect(widgetConfig, formConfig));
allBuildConfigs.push(await MySQL.buildSelect(widgetConfig, formConfig));
🧰 Tools
🪛 Biome

[error] 207-207: Using this in a static context can be confusing.

this refers to the class.
Unsafe fix: Use the class name instead.

(lint/complexity/noThisInStatic)


if (widgetConfig.select) {
allBuildConfigs.push(this.buildSelect(widgetConfig, formConfig));
allBuildConfigs.push(await this.buildSelect(widgetConfig, formConfig));
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Replace 'this' with the class name for clarity in static methods.

In static contexts, using this can be confusing because it refers to the class itself, not an instance. To enhance readability and maintainability, it's better to use the class name when calling other static methods within the class.

Apply the following diff to make the change:

-allBuildConfigs.push(await this.buildSelect(widgetConfig, formConfig));
+allBuildConfigs.push(await MSSQL.buildSelect(widgetConfig, formConfig));

By explicitly using MSSQL, you make it clear that you're referencing the class, which helps other developers understand the code more easily.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
allBuildConfigs.push(await this.buildSelect(widgetConfig, formConfig));
allBuildConfigs.push(await MSSQL.buildSelect(widgetConfig, formConfig));
🧰 Tools
🪛 Biome

[error] 208-208: Using this in a static context can be confusing.

this refers to the class.
Unsafe fix: Use the class name instead.

(lint/complexity/noThisInStatic)

Comment on lines +79 to +80
const { formatDialect, sql } = await import("sql-formatter");

Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Consider the impact of dynamic imports on performance.

Dynamically importing sql-formatter within the buildSelect method can introduce performance overhead, especially if this method is called frequently. If sql-formatter is essential for most operations, it's better to statically import it at the top of the file. This approach reduces the runtime cost of importing modules during function execution.

Apply the following changes:

At the top of the file, add:

+import { formatDialect, sql } from "sql-formatter";

Then, remove the dynamic import inside the buildSelect method:

-const { formatDialect, sql } = await import("sql-formatter");

This adjustment will improve the efficiency of your code by loading the module once during the initial load rather than on every function call.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
const { formatDialect, sql } = await import("sql-formatter");
import { formatDialect, sql } from "sql-formatter";
// The line below should be removed
// const { formatDialect, sql } = await import("sql-formatter");

Comment on lines +89 to 91
const { formatDialect, postgresql } = await import("sql-formatter");

const res = formatDialect(template, {
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Consider statically importing 'sql-formatter' for improved performance

While dynamic imports are useful, importing sql-formatter statically at the top of your file can reduce the overhead associated with dynamic imports, especially if buildSelect is called frequently.

You can move the import to the top of your file:

import { formatDialect, postgresql } from "sql-formatter";

And then remove the dynamic import inside buildSelect:

- const { formatDialect, postgresql } = await import("sql-formatter");


if (widgetConfig.select) {
allBuildConfigs.push(this.buildSelect(widgetConfig, formConfig));
allBuildConfigs.push(await this.buildSelect(widgetConfig, formConfig));
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Replace 'this' with the class name in static context

In static methods, using this can be confusing because it refers to the class itself. To improve clarity, it's better to use the class name directly when calling other static methods.

Apply this diff to correct the issue:

- allBuildConfigs.push(await this.buildSelect(widgetConfig, formConfig));
+ allBuildConfigs.push(await PostgreSQL.buildSelect(widgetConfig, formConfig));

Committable suggestion was skipped due to low confidence.

🧰 Tools
🪛 Biome

[error] 217-217: Using this in a static context can be confusing.

this refers to the class.
Unsafe fix: Use the class name instead.

(lint/complexity/noThisInStatic)

@vsvamsi1
Copy link
Contributor Author

/build-deploy-preview skip-tests=true

@github-actions
Copy link

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/11104244122.
Workflow: On demand build Docker image and deploy preview.
skip-tests: true.
env: ``.
PR: 36600.
recreate: .

@github-actions
Copy link

Deploy-Preview-URL: https://ce-36600.dp.appsmith.com

@vsvamsi1 vsvamsi1 added ok-to-test Required label for CI and removed ok-to-test Required label for CI labels Oct 1, 2024
@github-actions
Copy link

github-actions bot commented Oct 8, 2024

This PR has not seen activitiy for a while. It will be closed in 7 days unless further activity is detected.

@github-actions github-actions bot added the Stale label Oct 8, 2024
@vsvamsi1 vsvamsi1 closed this Oct 15, 2024
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 Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant