Commit Graph

2447 Commits

Author SHA1 Message Date
Nikhil Nandagopal
aea8fba544 Updated Label Config 2024-08-06 01:42:52 +05:30
Nikhil Nandagopal
26871c0c02 Updated Label Config 2024-08-06 01:39:09 +05:30
Nikhil Nandagopal
1e65cb502c Updated Label Config 2024-08-06 01:38:09 +05:30
Nikhil Nandagopal
7a66f201f4 Updated Label Config 2024-08-06 01:36:54 +05:30
Nikhil Nandagopal
5f60e9cfed Updated Label Config 2024-08-06 01:35:13 +05:30
Nikhil Nandagopal
5a487bc843 Updated Label Config 2024-08-06 01:33:54 +05:30
Nikhil Nandagopal
4cf9e5040f Updated Label Config 2024-08-06 01:32:26 +05:30
Nikhil Nandagopal
6ddd203d94 Updated Label Config 2024-08-06 01:28:55 +05:30
Nikhil Nandagopal
3ff6cfdce2 Updated Label Config 2024-08-06 01:28:37 +05:30
Nikhil Nandagopal
f1bdb7976c Updated Label Config 2024-08-06 01:27:29 +05:30
Nikhil Nandagopal
5e7ee569b5 Updated Label Config 2024-08-06 01:27:02 +05:30
Nikhil Nandagopal
e95b3f6bd9 Updated Label Config 2024-08-06 01:26:28 +05:30
Nikhil Nandagopal
484ebd36c4 Updated Label Config 2024-08-06 01:22:21 +05:30
Nikhil Nandagopal
438225e1d6 Updated Label Config 2024-08-06 01:22:03 +05:30
Nikhil Nandagopal
d90c639147 Updated Label Config 2024-08-06 01:21:49 +05:30
Nikhil Nandagopal
d4f3e14148 Updated Label Config 2024-08-06 01:21:23 +05:30
Nikhil Nandagopal
2117db8a87 Updated Label Config 2024-08-06 01:13:28 +05:30
Nikhil Nandagopal
9d9f9dcd5d Updated Label Config 2024-08-06 01:13:13 +05:30
Nikhil Nandagopal
ca9058ffef Updated Label Config 2024-08-06 01:12:40 +05:30
Nikhil Nandagopal
279c39155c Updated Label Config 2024-08-06 01:12:07 +05:30
Nikhil Nandagopal
7f4c680f60 Updated Label Config 2024-08-06 01:11:08 +05:30
Nikhil Nandagopal
d1c5269519 Updated Label Config 2024-08-06 01:10:37 +05:30
Nikhil Nandagopal
c8c6a6e0db Updated Label Config 2024-08-06 01:09:50 +05:30
Nikhil Nandagopal
a90e8dbecf Updated Label Config 2024-08-06 01:00:18 +05:30
Nikhil Nandagopal
920535a6ac Updated Label Config 2024-08-06 00:59:58 +05:30
Nikhil Nandagopal
5df0db65d6 Updated Label Config 2024-08-06 00:58:21 +05:30
Nikhil Nandagopal
f2bbc462be Updated Label Config 2024-08-06 00:55:36 +05:30
Nikhil Nandagopal
1b7fe3c340 Updated Label Config 2024-08-06 00:55:18 +05:30
Nikhil Nandagopal
63f1427b03 Updated Label Config 2024-08-06 00:49:40 +05:30
Nikhil Nandagopal
44f0642aae Updated Label Config 2024-08-06 00:47:51 +05:30
Nikhil Nandagopal
a2ab4b1e68 Updated Label Config 2024-08-06 00:47:28 +05:30
Nikhil Nandagopal
b4043f8b83 Updated Label Config 2024-08-06 00:46:33 +05:30
Nikhil Nandagopal
ce3c56c4c0 Updated Label Config 2024-08-06 00:45:07 +05:30
Nikhil Nandagopal
f9d15e9309 Updated Label Config 2024-08-06 00:42:40 +05:30
Nikhil Nandagopal
b9cf9aa53a Updated Label Config 2024-08-06 00:31:55 +05:30
Nikhil Nandagopal
411c8bf377 Updated Label Config 2024-08-06 00:29:24 +05:30
Nikhil Nandagopal
69c8a180c0 Updated Label Config 2024-08-06 00:28:32 +05:30
Nikhil Nandagopal
bcd28bf1b0 Updated Label Config 2024-08-06 00:26:04 +05:30
Nikhil Nandagopal
e76f24a321 Updated Label Config 2024-08-06 00:23:54 +05:30
Nikhil Nandagopal
ddb0956e16 Updated Label Config 2024-08-06 00:23:21 +05:30
Nikhil Nandagopal
1c011d3440 Updated Label Config 2024-08-06 00:22:11 +05:30
Nikhil Nandagopal
d478cdcd46 Updated Label Config 2024-08-06 00:19:45 +05:30
Nikhil Nandagopal
6e4a7fe92b Updated Label Config 2024-08-06 00:17:46 +05:30
Nikhil Nandagopal
a78ca89044 Updated Label Config 2024-08-06 00:10:51 +05:30
Nikhil Nandagopal
a219a643a6 Updated Label Config 2024-08-06 00:07:01 +05:30
Nikhil Nandagopal
bf47ec4ecc Updated Label Config 2024-08-06 00:00:39 +05:30
Nikhil Nandagopal
befa0d7534 Updated Label Config 2024-08-05 23:58:17 +05:30
Nikhil Nandagopal
dd8b11f3d4 Updated Label Config 2024-08-05 23:58:04 +05:30
Nikhil Nandagopal
e7cb151f00 Updated Label Config 2024-08-05 23:57:47 +05:30
Nikhil Nandagopal
b672e16211 Updated Label Config 2024-08-05 23:55:21 +05:30
Nikhil Nandagopal
9e1939454f Updated Label Config 2024-08-05 23:54:49 +05:30
Nikhil Nandagopal
ecc6639f95 Updated Label Config 2024-08-05 23:54:32 +05:30
Nikhil Nandagopal
53d070e3c7 Updated Label Config 2024-08-05 23:51:12 +05:30
Nikhil Nandagopal
5184d61bd8 Updated Label Config 2024-08-05 23:51:01 +05:30
Nikhil Nandagopal
c46ccb077c Updated Label Config 2024-08-05 23:50:50 +05:30
Nikhil Nandagopal
4856e9f2fa Updated Label Config 2024-08-05 23:50:37 +05:30
Nikhil Nandagopal
076578f5c5 Updated Label Config 2024-08-05 23:50:17 +05:30
Nikhil Nandagopal
d445fff389 Updated Label Config 2024-08-05 23:49:20 +05:30
Nikhil Nandagopal
3e3d644221 Updated Label Config 2024-08-05 23:48:47 +05:30
Nikhil Nandagopal
a93a1d4c44 Updated Label Config 2024-08-05 23:44:03 +05:30
Nikhil Nandagopal
2ffc87dd52 Updated Label Config 2024-08-05 23:41:51 +05:30
Nikhil Nandagopal
c8494ee1bb Updated Label Config 2024-08-05 23:34:15 +05:30
Nikhil Nandagopal
2d88c10c0d Updated Label Config 2024-08-05 23:33:00 +05:30
Nikhil Nandagopal
c10e63aa28 Updated Label Config 2024-08-05 23:19:54 +05:30
Nikhil Nandagopal
2812b50be0 Updated Label Config 2024-08-05 23:19:42 +05:30
Nikhil Nandagopal
2bf5fe72b8 Updated Label Config 2024-08-05 23:19:27 +05:30
Nikhil Nandagopal
bfac4d2718 Updated Label Config 2024-08-05 23:14:18 +05:30
Nikhil Nandagopal
4088587666 Updated Label Config 2024-08-05 23:01:20 +05:30
Nikhil Nandagopal
d77646da93 Updated Label Config 2024-08-05 22:58:06 +05:30
Nikhil Nandagopal
6d5a9d56a7 Updated Label Config 2024-08-05 22:57:47 +05:30
Sagar Khalasi
828c6aeefe
chore: Adding new command for running test case (#35419)
## Description

It is for running a spec file with given run_count with PR comment.

Fixes #`34956`  

## Automation

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/10250647978>
> Commit: 69556d529719ff00d6d0b6961edb83a2a6112541
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10250647978&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Mon, 05 Aug 2024 14:49:54 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


- **New Features**
- Introduced a CI/CD workflow to manage client and server builds with
Cypress testing.
- Added a job to enforce TypeScript file checks, providing feedback for
corrections on pull requests.
- Expanded testing capabilities with a new job for managing testing
limits.

- **Improvements**
	- Enhanced logging for better visibility into test execution attempts.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-08-05 21:04:45 +05:30
Nikhil Nandagopal
96b68f4a15 Updated Label Config 2024-08-05 19:01:46 +05:30
Nikhil Nandagopal
0318ccde75 Updated Label Config 2024-08-05 19:00:13 +05:30
Nikhil Nandagopal
c1c0b1b1e0 Updated Label Config 2024-08-05 18:48:32 +05:30
Vemparala Surya Vamsi
d780ecba45
chore: reverted client profiled build (#35306)
## Description
Reverted client profiled build script, we will instead generate a docker
custom image.


Fixes https://github.com/appsmithorg/appsmith/issues/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
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/10177617441>
> Commit: 3ff5d304aacb08cabb529b6553b2319d688000ff
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10177617441&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Wed, 31 Jul 2024 09:52:14 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## 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.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-31 15:23:08 +05:30
Nikhil Nandagopal
d5c368b4cc
Minor fix to pod labels 2024-07-31 15:21:28 +05:30
Nikhil Nandagopal
56324812af
Updated app viewers to widgets & blocks 2024-07-31 13:52:27 +05:30
Vemparala Surya Vamsi
08fda97074
chore: injecting env value into client build script (#35288)
## Description
The `APPSMITH_CLOUD_HOSTING` env value is not accessible within the
client build script, we are fixing it by injecting it in the client
build workflow.

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
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/10161480342>
> Commit: 443c4ab7a6a08332efec5b7fd91927eeaf4e9707
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10161480342&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Tue, 30 Jul 2024 11:57:03 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Summary by CodeRabbit

- **Chores**
- Enhanced visibility of environment variables during the build process
with a debug echo statement.
- Introduced the `APPSMITH_CLOUD_HOSTING` environment variable in the
GitHub Actions workflow, improving configurability for various
deployment scenarios.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-30 17:34:55 +05:30
Sagar Khalasi
a30adfa5b3
test: Adding feature to run a spec file with count (#35282)
## Description
It is for running a spec file with given run_count

Fixes #`34956`  

## Automation

/ok-to-test tags=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced a new GitHub Actions CI workflow for running limited tests,
enhancing the flexibility and management of the testing process.
- Added a new dependency for improved Cypress testing capabilities,
allowing for more efficient test execution.

- **Improvements**
- Enhanced artifact management for test runs and results within the CI
workflow for a more robust development lifecycle.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-30 13:44:10 +05:30
Rajat Agrawal
d1a586e0bb
ci: Add pre push hook to not allow ee changes in ce (#35276)
## Description
This PR fixes failure in the CI build workflow. The workflow was failing
in `Put release build in cache` job. The workflow was failing because
while installing git lfs, there was a conflict with the newly added pre
push hook. git lfs also contains its pre push hooks which was
conflicting with our hooks. In this PR, I have configured the workflow
for git lfs pre push hooks to override appsmith pre push commit since
appsmith git hooks are not required during workflows.


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=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a pre-push hook to ensure integrity by preventing
inadvertent pushes of certain files to the repository.
  
- **Improvements**
- Updated GitHub Actions workflow to enhance management of large files,
ensuring the latest configurations are applied before builds.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-30 12:11:27 +05:30
Valera Melnikov
320f9e3c02
chore:ads package (#35193)
## Description
- Move [ADS](https://github.com/appsmithorg/design-system) to local
packages
- Fix ADS stories according of Storybook 8
- Fix type errors
- Update Storybook to latest version to be able to run `test-storybook`
- Remove unused files(components, tests, stories) from
ADS-old(design-system-old)

Following steps:
- Merge `ads-old` and `widgets-old`, only 1 package should remain
- Rename packages https://github.com/appsmithorg/appsmith/issues/27658
- Use `importSvg` `importRemixIcon` from ADS remove this functionality
from `ads-old`


Fixes #34252  

## Automation

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/10114839347>
> Commit: 64cdfec4d2acd45ca955cc0d19c3cb582e1ac0ad
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10114839347&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Fri, 26 Jul 2024 17:49:25 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->



<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-29 16:23:26 +03:00
Nikhil Nandagopal
20aac6bdb6 Updated Label Config 2024-07-26 14:16:33 +05:30
Laveena Enid
84cd0de775
CI: Fixed the payload for TBD action (#35121)
## Description


Attached the attempt and changed the workflow name in order to trigger
slack workflow

> [!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=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Improved automation for analyzing Cypress test runs with refined
conditional logic.
- Enhanced data sent in analysis requests, including a new attempt
number field for better traceability.
  
- **Bug Fixes**
- Ensured the automated analysis workflow only triggers under specific
conditions, preventing unnecessary executions.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Signed-off-by: Laveena Enid <laveena@appsmith.com>
2024-07-24 10:27:40 +05:30
Goutham Pratapa
21962be8f7
chore: multi-arch dp image (#35098) 2024-07-22 23:10:47 +05:30
Goutham Pratapa
d90654645d
chore: revert rts build to github runners (#35017) 2024-07-18 13:53:10 +05:30
Nikhil Nandagopal
597d45626d Updated Label Config 2024-07-17 22:47:13 +05:30
Nikhil Nandagopal
9cf62ca6f1 Updated Label Config 2024-07-16 21:28:47 +05:30
Nikhil Nandagopal
c04c5d3b31 Updated Label Config 2024-07-16 21:28:04 +05:30
Nikhil Nandagopal
a2ea4fd2f2 Updated Label Config 2024-07-16 21:27:49 +05:30
Nikhil Nandagopal
c951b17b20 Updated Label Config 2024-07-16 21:24:21 +05:30
Nikhil Nandagopal
bacf508589 Updated Label Config 2024-07-16 21:22:51 +05:30
Nikhil Nandagopal
fd0b2f55c6 Updated Label Config 2024-07-16 21:20:54 +05:30
Nikhil Nandagopal
e8d33d31b2 Updated Label Config 2024-07-16 21:18:57 +05:30
Nikhil Nandagopal
c6d618ad57 Updated Label Config 2024-07-15 17:06:20 +05:30
Goutham Pratapa
a5cb2fb642
feat: build multi arch images for dps (#34927)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
	- Updated Docker Hub credentials for improved security.
	- Enhanced Docker Buildx setup for cross-platform compatibility.
- Upgraded Docker build-push action to version 6 to leverage latest
features.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-15 12:56:18 +05:30
Shrikant Sharat Kandula
b2c850b2da
ci: Run prepare script for adaptable image, if available (#34906)
This is so DPs on `pg` branch continue to work.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Added a workflow step to check and execute server artifact preparation
script during the on-demand build process.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-13 12:42:53 +05:30
Nikhil Nandagopal
7e3092f37e Updated Label Config 2024-07-12 11:32:43 +05:30
Nikhil Nandagopal
66146776ad Updated Label Config 2024-07-12 11:32:30 +05:30
Nikhil Nandagopal
1e9ae5fd01 Updated Label Config 2024-07-12 11:31:56 +05:30
Nikhil Nandagopal
5a6131a709 Updated Label Config 2024-07-09 11:11:14 +05:30
Shrikant Sharat Kandula
3264ac3725
ci: Support for limited tests run from PR description (#34736)
Specify the specs we want to run, in a plain code fence, where the first
line has to exactly be `/test`. The remaining lines have to be one spec
file per line.

Like this:

```
/test
cypress/e2e/Regression/ClientSide/Fork/ForkApplication_spec.ts
cypress/e2e/Regression/ClientSide/JSLibrary/Library_spec.ts
```

1. It's not possible to run with tags and specs and the same time. This
will need a slightly larger effort. But we'll get there.
2. The status message shows spec files like they are space-separated,
and isn't very easy to read. Don't take it too seriously yet, we'll
improve.
3. Globs _should_ also work fine. The `spec` content, _almost_ directly
lands into the `--spec` argument of Cypress. See docs at
https://docs.cypress.io/guides/guides/command-line#cypress-run-spec-lt-spec-gt.
4. Multiple runners is disabled for this, have to solve it separately.
The `ci-test-limited.yml` also doesn't do multiple runners either.

<!-- This is an auto-generated comment: Cypress test results  -->
> [!WARNING]
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9803353429>
> Commit: e99ae387c9a239ae51155af45977c285474cfbaf
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9803353429&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: 
> Spec: cypress/e2e/Regression/ClientSide/Fork/ForkApplication_spec.ts
> cypress/e2e/Regression/ClientSide/JSLibrary/Library_spec.ts
> 
> It seems like **no tests ran** 😔. We are not able to recognize it,
please check <a
href="https://github.com/appsmithorg/appsmith/actions/runs/9803353429"
target="_blank">workflow here</a>.
> <hr>Fri, 05 Jul 2024 05:20:23 UTC
<!-- end of auto-generated comment: Cypress test results  -->


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Enhanced GitHub Actions workflows to improve test specification
handling and reporting.
- Refactored tag parsing logic in scripts for more accurate and
informative outputs.


<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-08 21:28:07 +05:30
Shrikant Sharat Kandula
fc54a33e4b
ci: Clean up disk usage before saving container to disk (#34770)
Saving the Docker image to disk is failing on EE `pg` because of lack of
disk space. So we clean up all the unused Docker images just before
doing this.
2024-07-08 17:03:02 +05:30
Nikhil Nandagopal
bcb81e9cac Updated Label Config 2024-07-08 12:09:18 +05:30
Shrikant Sharat Kandula
e0cfe80693
ci: Add UTC time to Cypress messages (#34727)
**/test rating**


![shot-2024-07-04-14-56-26](https://github.com/appsmithorg/appsmith/assets/120119/485c06c7-4adb-419d-b4da-3e999b87f3e8)




<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9796447291>
> Commit: 456128bd61a357ada1b3e2cd3937a0ff47d89c26
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9796447291&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Rating`
> <hr>Thu, 04 Jul 2024 15:11:09 UTC
<!-- end of auto-generated comment: Cypress test results  -->


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Added the current date and time in UTC to the status messages
generated by the Cypress script.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-05 04:26:06 +05:30
Shrikant Sharat Kandula
4382484d29
ci: Accept spec input for Cypress run (#34734)
This PR doesn't have any real affect. It makes the `spec` parameter to
the Cypress action, open to being set. In a following PR, we'll make
this configurable via an extended `/test` command syntax, from
`pr-automation.yml`, coming up.

The `spec` parameter to the Cypress action will be the empty string
here, since we aren't setting it to anything anywhere. The action is
coded to handle empty string here. As evident in this function:
1967c2d49b/index.js (L340).

This is what `ci-test-limited.yml` uses, but is not very convenient
since we have to make another commit to revert the changes in the file
after we're done. Instead, we want to extend the `/test` command's
syntax to be able to inline the spec list in the PR description itself.
🤞

**/test rating**



<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9797382840>
> Commit: 701bd3b70a25f3554aac143fdbd4cf1b44d258b9
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9797382840&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Rating`
<!-- end of auto-generated comment: Cypress test results  -->


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Updated CI workflow to allow specifying spec files for Cypress tests.


<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-04 23:47:13 +05:30
Apeksha Bhosale
850816134a
chore: added snapshots to artifacts (#34678)
## Description
Snapshots are added to understand why snapshot comparing tests have been
failing on CI.
Conversation link -
https://theappsmith.slack.com/archives/C0134BAVDB4/p1719481924157319

Tried here-
https://github.com/appsmithorg/appsmith/actions/runs/9776708332


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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9777496574>
> Commit: 23e22d0a71afe415e76d19115c59629c539332f0
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9777496574&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Updated CI workflow to upload Cypress snapshots in case of test
failures, improving debugging capabilities for test failures.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-03 17:58:42 +05:30
Shrikant Sharat Kandula
9b4463602a
ci: Don't break on very large PRs
Fix from https://github.com/appsmithorg/appsmith-ee/pull/4600
2024-07-03 14:15:25 +05:30
Shrikant Sharat Kandula
7d5ceb7d4a ci: Fix running "all" tag not running anything 2024-07-03 09:42:55 +05:30
Shrikant Sharat Kandula
b58b1c4580
ci: Don't mark failure when Cypress is successful 2024-07-02 14:07:19 +05:30
Shrikant Sharat Kandula
33e04b5e11
ci: Fix method used to set failure (#34402)
And use script to update PR description with Cypress status

## Summary by CodeRabbit

- **Enhancements**
- Improved GitHub Actions workflows for PR automation and Cypress tests.
- Enhanced test failure messages with links to Cypress dashboard and
flaky test identification.

- **User Experience**
- Cypress test status messages now include emoji prefixes for "tip"
(green) and "caution" (red) alerts.

- **Bug Fixes**
- Corrected error handling in scripts to provide more accurate failure
statuses.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-02 12:58:42 +05:30
Shrikant Sharat Kandula
c7088e734e
ci: Fix setting tags on Cypress run 2024-07-02 08:22:49 +05:30
Shrikant Sharat Kandula
5eada0aaed
ci: Fix Cypress test fail not reported for /test command (#34278)
Gets common validation code for tags, for both `/ok-to-test` and `/test`
commands. Currently, for invalid tags in `/test` command, we aren't
updating the PR description with details of the tag parsing failure.
This PR fixes that, after finally bringing all the logic into Javascript
needed to solve this.

**/test sanity**



<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9715326227>
> Commit: 260ec1888db114ae710b518abf36c54c6bfd2a9b
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9715326227&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: ``

<!-- end of auto-generated comment: Cypress test results  -->






<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Updated GitHub Actions workflow to trigger on 'release' and 'pg'
branches for 'ok-to-test' labeled PRs.
  - Simplified tag parsing and validation logic in automation scripts.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-01 23:32:56 +05:30
Shrikant Sharat Kandula
a8da148b41
ci: Add Postgres URL for DPs 2024-06-28 23:49:21 +05:30
Shrikant Sharat Kandula
32147ddfdb
ci: Write Cypress status with the GitHub Script (#34559)
Replacing more of `nefrob/pr-description@v1.1.2` with our GitHub Script.
This is moving towards Javascript CI, and hopefully an unit-testable CI.




<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Replaced `nefrob/pr-description` action with `actions/github-script`
for handling test responses in PR automation.
- Improved guidance on modifying PR body for correct tag usage and
linked to relevant documentation.
- Enhanced script content to handle warnings and failures more
effectively in PR workflow automation.

- **New Features**
- Updated the `write-cypress-status` script to support different alert
types and prefixes, ensuring better validation and formatting of alerts.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-27 23:32:30 +05:30
Nikhil Nandagopal
2ceb8a1862 Updated Label Config 2024-06-27 18:09:44 +05:30
Shrikant Sharat Kandula
36ee1be478
ci: Remove impact-less message about using @tag.All (#34547)
This message goes in the PR description, and the immediate next step
happily overwrites it. People never get to see this message at all
(unless we check the description history, of course).

Removing it as we likely don't need this reminder anymore.




<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Removed outdated PR automation code related to test response tagging.


<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-27 14:26:09 +05:30
Shrikant Sharat Kandula
9c16e4f365
ci: Do case-insensitive tag matches (#34481)
Specifying the `/test` command like this:

```
/test IDE
```

Doesn't pick up the `@tag.IDE` tag, but using `/test ide` does. This is
because of incorrect case-matching logic. This PR fixes this.





<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
  - Enhanced case-insensitivity for tag matching to reduce errors.
- Improved error messaging for unmatched tags to provide clearer
feedback.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-26 13:17:42 +05:30
Abhijeet
992bbdb7c8
chore: Update Postgres port for TED in CI (#34430)
## Description
PR to update the Postgres posrt for TED container in CI.

/test all

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9646981763>
> Commit: d998c6fe77ac2acdb71888fe6b3d7603ddda508c
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9646981763&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: ``

<!-- end of auto-generated comment: Cypress test results  -->








## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Chores**
- Updated Docker port mapping from `5432` to `5433` across multiple CI
workflow files to ensure consistency and avoid port conflicts.

- **Bug Fixes**
- Adjusted PostgreSQL connection port from `5432` to `5433` in test
fixtures and scripts to align with environment changes and prevent
connection issues.

- **Tests**
- Modified test scripts to handle new PostgreSQL port settings for
improved reliability in testing scenarios.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-25 10:35:15 +05:30
yatinappsmith
cb89dda2ed
ci: removed matrix for ci-test-limit (#34420)
## Description
removed matrix for ci-test-limit

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=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Updated CI workflows to streamline the `ci-test-limited` job by
removing the `matrix` configuration.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-24 12:13:20 +05:30
Sagar Khalasi
b849d34829
ci: Fix non used matrix parameter in build-client-server.yml (#34417)
## Description
Fix non used matrix parameter in build-client-server.yml. It was removed
from originated function parameter.

Fixes #`34418`  

## Automation

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!IMPORTANT]
> 🟣 🟣 🟣 Your tests are running.
> Tests running at:
<https://github.com/appsmithorg/appsmith/actions/runs/9640650543>
> Commit: acc2e4d8af13ae3c29a429c0e4db069976d69826
> Workflow: `PR Automation test suite`
> Tags: `@tag.Sanity`

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No
2024-06-24 12:00:23 +05:30
Shrikant Sharat Kandula
132bd83f08 ci: Get stderr as well into dockerlogs file 2024-06-22 13:20:36 +05:30
Shrikant Sharat Kandula
6ef4d2a6af
ci: Run server tests on pg branch (#34372)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Updated workflow conditions to ensure PostgreSQL build is triggered
when the pull request head reference is 'pg'.
- Simplified logic to unconditionally start the PostgreSQL container in
the build process.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-21 12:52:18 +05:30
Nikhil Nandagopal
ca13db04c8 Updated Label Config 2024-06-20 17:11:36 +05:30
Apeksha Bhosale
22dade8d37
chore: Removed two extra machines for ci-test-limit (#34357)
## Description
ci-test-limit runs 3 machines by default and this is wastage of our
resource, in most of our use cases we end up using only one machine
soremoving extra unnecessary two.

run -
https://github.com/appsmithorg/appsmith/actions/runs/9593828953/job/26455099156

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9594698568>
> Commit: 18d2ab3a9f292c6e3ca8ed7c803bbabde75cb1ab
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9594698568&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`

<!-- end of auto-generated comment: Cypress test results  -->



## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Chores**
  - Updated test workflow configuration for more efficient CI runs.
  
- **Tests**
- Switched limited test spec file to improve test coverage and
relevance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-20 11:42:59 +02:00
Nikhil Nandagopal
a5b1200d18 Updated Label Config 2024-06-20 14:46:01 +05:30
Nikhil Nandagopal
44039f722d Updated Label Config 2024-06-20 13:35:02 +05:30
Nikhil Nandagopal
cd6c8f6eda Updated Label Config 2024-06-20 13:34:42 +05:30
Nikhil Nandagopal
8dbcaf8828 Updated Label Config 2024-06-20 13:34:06 +05:30
Nikhil Nandagopal
60b933845e Updated Label Config 2024-06-18 15:25:01 +05:30
Shrikant Sharat Kandula
4a6dc86a60
ci: Update PR description with GitHub Script (#34292)
This PR switches the steps updating PR description to a local Javascript
script, run using `actions/github-script`, instead of depending on an
external third-party action.

Why? Besides reducing our dependency on third-party actions, which have
been found to break with surprises, we need this to fix a bug with the
`/test` command. The `/test` command, when is written with invalid tags,
reports the error in the workflow run, but doesn't update the PR
description. Because of how it's written in Javascript, we need a
Javascript way to update the description to fix that. This will provide
for that.

Further PRs will replace other uses of PR description update steps with
this.

**/test sanity**



<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9556890596>
> Commit: 00d06858f6f7d14c6393cb16c894ddfd808b7cf8
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9556890596&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`

<!-- end of auto-generated comment: Cypress test results  -->



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Updated GitHub Actions workflow to enhance pull request automation
with Cypress test results.
  - Improved PR body updates with detailed test outcomes.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-18 09:39:50 +05:30
Nikhil Nandagopal
2b73e8b926 Updated Label Config 2024-06-17 11:41:04 +05:30
Nikhil Nandagopal
cf0262998c Updated Label Config 2024-06-17 11:40:25 +05:30
Shrikant Sharat Kandula
0c83e91470
ci: Show tags in all Cypress reports (#34264)
**/test sanity**



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Style**
- Improved clarity and formatting of messages related to Cypress
dashboard links.
- Enhanced information display for test failures, flaky tests, and
successful test runs.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-17 09:35:00 +05:30
Shrikant Sharat Kandula
d4d4406e6d ci: Fix quoting when getting oldest commit message 2024-06-12 20:39:46 +05:30
Abhijeet
9d715748f5
chore: Update ci files for utilising base image on pg branch (#34190)
## Description
Temporary arrangement to consume different base image for `pg` vs
`release`, until we upgrade Postgres to v15 on release.

## Automation

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9479342636>
> Commit: 69d29d1657d606d78c5f85aa130cf773eb693d27
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9479342636&attempt=1"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->











## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a new input parameter `is-pg-build` to several workflows
for better customization of PostgreSQL builds.
- Enhanced Docker image build processes with dynamic base image tagging
based on pull request conditions.

- **Chores**
- Updated GitHub Actions workflows to improve build automation and
conditional logic handling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-12 15:03:49 +05:30
Diljit
f19530d1a9
chore: Check for cyclic dependencies only for client file changes in a PR (#34154)
## Description
The cyclic deps check workflow was running on all PRs. This PR skips the
workflow when the client files are unchanged.
Also log the cyclic deps in the workflow run to improve debugging
experience.


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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9468903312>
> Commit: 83d6a9c8c40e5a5bb874ba82738fab7715cd5b7d
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9468903312&attempt=1"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->




## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Introduced conditional checks in CI workflow to optimize the execution
of circular dependency checks based on changes in specific files.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-12 08:52:21 +05:30
Arpit Mohan
36043fa345
ci: Upgrading nefrob/pr-description in CI files (#33986)
Upgrading nefrob/pr-description to v1.1.2 to remove warnings in Github
action logs for Node 20.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Updated GitHub Actions workflows to use the latest version (`v1.1.2`)
of the `nefrob/pr-description` action for improved stability and
performance.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-05 15:37:56 +05:30
Nirmal Sarswat
5da37f1ab3
chore: Increase pg max connections property for CI (#33923)
## 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=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No

Co-authored-by: Trisha Anand <trisha@appsmith.com>
Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com>
2024-06-03 15:08:41 +05:30
Trisha Anand
987736e8f6
test: Running jest test cases if no PR is present as part of RTS build (#33790)
## Description
This is being done to ensure that RTS jest test cases are run in TBP on
release as well as master.

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=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No
2024-05-28 14:33:14 +05:30
yatinappsmith
2da8440610
CI: Move slack notification after ci-test-result (#33751)
Move slack notification after ci-test-result
2024-05-27 18:24:59 +05:30
Shrikant Sharat Kandula
8f3b60cd9c
ci: Fix regex for all tag when bolded 2024-05-27 17:34:51 +05:30
yatinappsmith
cf5b36a630
CI: CI-Test-Result should fail depending on unit tests (#33643)
CI-Test-Result should fail depending on unit tests
2024-05-27 15:20:20 +05:30
Shrikant Sharat Kandula
2f45dd3dd0
ci: Support for "all" tag in /test and allow bold (#33733)
**/test all**


![shot-2024-05-26-12-15-35](https://github.com/appsmithorg/appsmith/assets/120119/70df30de-bcdf-4861-9495-ed83288a8f83)


<!-- This is an auto-generated comment: Cypress test results  -->
> [!WARNING]
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9243140883>
> Commit: abf3814fd6bfa308353d1042e5df2ef75e02fd0a
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9243140883&attempt=1"
target="_blank">Click here!</a>
> It seems like **no tests ran** 😔. We are not able to recognize it,
please check workflow <a
href="https://github.com/appsmithorg/appsmith/actions/runs/9243140883"
target="_blank">here.</a>

<!-- end of auto-generated comment: Cypress test results  -->
2024-05-27 09:49:27 +05:30
Diljit
1ceee16a75
chore: Add worklow to check cyclic deps in a PR (#33197)
## Description
Add a GitHub workflow to compare the number of cyclic dependencies in a
PR to the number in the release branch. If the PR introduces new cyclic
dependencies, a comment should be posted in the conversation to alert
the developer.

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9228474130>
> Commit: c93f3e5df863ab7e2e287bf093a14a3f5f43e8e8
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9228474130&attempt=1"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->










## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No
2024-05-27 08:41:45 +05:30
Goutham Pratapa
bf05e0f185
chore: Switch to vanilla Caddy, when rate limiting is disabled (#33387)
Depends-on:
[33591](https://github.com/appsmithorg/appsmith/pull/33591/files)
Fixes: #31997

---------

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2024-05-24 13:11:56 +05:30
Abhijeet
cd2f1cb5dd
chore: Cleanup Flagsmith envs from CI (#33704)
## Automation

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9210729164>
> Commit: ffb04c3dd1eb214aa4d3cdd3d97a28ca0ada7de1
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9210729164&attempt=1"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->




## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No
2024-05-24 10:19:48 +05:30
Arpit Mohan
9faab949cc
ci: Making minor improvements to the CI workflow files (#33636)
This is trivial housekeeping task to keep the workflow files consistent
and remove warnings.
2024-05-23 19:47:34 +05:30
Shrikant Sharat Kandula
8480704398
ci: Don't mount volume for TED's git repos (#33666)
The upcoming TED version is about come with a Git repo, baked into the
image. We're going to use this to test import of git repos.

But since we mount a blank folder onto this, the baked-in contents of
`/git-server/repos` is effectively cleared and overwritten. This PR
fixes that. We don't really need this volume mount, should be okay to
remove.

/test sanity
2024-05-23 18:39:53 +05:30
Abhijeet
7e339d419d
test: Enable server tests for the PRs with base PG branch (#33429)
## Description
1. PR to enable server tests on PRs with `pg` as the base branch. 
2. Replace the DB URI from `APPSMITH_MONGODB_URI` to `APPSMITH_DB_URL` 

## Automation

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9174148396>
> Commit: 762b4255f654946a1a47a196df5a1afae5be09f2
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9174148396&attempt=1"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->












## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No

---------

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2024-05-22 15:55:20 +05:30
Shrikant Sharat Kandula
c22917599f ci: Remove unused ads-compliant-check input 2024-05-21 11:22:32 +05:30
Shrikant Sharat Kandula
35774bb4f6
ci: Remove inert ADS compliance check (#33603)
The ADS compliance check relies on the condition
`github.pull_request.base.ref == 'true'`, but this variable just doesn't
exist. There's no `pull_request` under the `github` context, so this ADS
compliance check never worked.

If we want this check, we can add it later as part of the
`client-build.compliance.js` script. Here's a PoC for the record, based
on the intention I interpreted:

```javascript
function doADSCheck({core, github, context, affectedFiles}) {
  const filesForADSCheck = affectedFiles.filter(f => (f.status === "added" || f.status === "modified") && f.filename.startsWith("app/client/src/"));

  const violatedFiles = new Set();
  for (const f of filesForADSCheck) {
    const content = fs.readFileSync(f.filename, "utf8");
    if (content.match(/(color|Color).*#|border.*#|(color|Color).*"/)) {
      violatedFiles.add(f.filename);
    }
  }

  if (violatedFiles.size === 0) {
    return;
  }

  const body = [
    "🔴 Below files are not compliant with ADS. Please fix and re-trigger ok-to-test",
    ...Array.from(violatedFiles).sort().map(f => "1. " + f),
  ].join("\n");

  github.rest.issues.createComment({
    owner: context.repo.owner,
    repo: context.repo.repo,
    issue_number: prNumber,
    body,
  });
}
```

/test sanity
2024-05-21 11:21:15 +05:30
Shrikant Sharat Kandula
e9102d5085 ci: Get PR number from env variable 2024-05-20 20:47:15 +05:30
Shrikant Sharat Kandula
2459607a3f
ci: Move check for new JS Cypress tests to GitHub script (#33560)
We have a check when running Cypress tests to ensure that no new `.js`
files are added under Cypress folder. This PR moves this check to a
separate JS file. There's another check that does some ADS compliance,
which I'll port in a follow-up PR.

Why am I hitting on this? One, to move away from `umani/changed-files`
workflow, which has randomly failed for us in the past, and id doesn't
do so much special for us anyway. Two, this workflow is the last usage
of `APPSMITH_CI_TEST_PAT` secret, so I should be able to remove that
secret as well. One less secret.
2024-05-20 20:39:33 +05:30
Arpit Mohan
f81cb9f970
ci: Removing outdated Github action actions-cache (#33568)
Using actions/cache/save which is the supported version now.
2024-05-20 19:26:31 +05:30
Arpit Mohan
ddefab7306
ci: Adding the overwrite: true parameter to actions/upload-artifact@v4 command (#33593)
## Description
By default the value of overwrite is false. In previous versions of
upload-artifact, this setting was implicit and true. Making this change
to fix the error `Failed to CreateArtifact: Received non-retryable
error: Failed request: (409) Conflict: an artifact with this name
already exists on the workflow run` in Github actions.

## Automation

/ok-to-test tags=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No
2024-05-20 17:22:22 +05:30
Shrikant Sharat Kandula
cb973941d5
ci: Add sloppy /test command (#33558)
Adds support for a `/test` command, without breaking the existing
`/ok-to-test` habits.

This is a _sloppy_ version of `/ok-to-test`. Turns out humans are
sloppy. So let's embrace the human. 🤯

Example incantation:
```
/test sanity workflow
```

The sloppy parser at work:

![shot-2024-05-18-03-40-30](https://github.com/appsmithorg/appsmith/assets/120119/0d495e88-a242-4f2b-a73c-bcf6e58cc9ad)

Of course, if a PR body contains `/ok-to-test`, that takes precedence,
and any `/test` is ignored.

We're also moving the logic of parsing the tags to a separate Javascript
file. It's still not in a form that's easily testable, perhaps, but I
hope this is a start for us to get to a "unit-tested CI". ❤️

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-05-20 15:26:12 +05:30
Nikhil Nandagopal
f47bd4051c Updated Label Config 2024-05-20 11:51:48 +05:30
Nikhil Nandagopal
ef135e2ecb Updated Label Config 2024-05-20 11:50:47 +05:30
Arpit Mohan
6aeb456c62
ci: Upgrade GitHub Action steps to github-script@v7 and pload-artifact@v4 (#33554)
## 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=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No

---------

Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com>
2024-05-20 10:49:27 +05:30
Shrikant Sharat Kandula
16cd15a103
ci: Include edition in failure messages to Slack (#33553) 2024-05-18 00:14:20 +05:30
Shrikant Sharat Kandula
3e06f1a570
ci: Disable manual run on limited test workflow (#33534)
The step to get the PR number when run manually has error in its code.
The `res=` line doesn't work, in that it'll mangle the JSON output from
the `curl` command, before setting it into the variable. It should've
been

```sh
res="$(curl ...)"
```

Considering we don't use this functionality today, and it doesn't work
either, we're removing it.

This workflow is only used with `repository_dispatch`, and we make that
explicit.
2024-05-17 10:42:04 +05:30
Nikhil Nandagopal
24c7f68855 Updated Label Config 2024-05-02 13:46:34 +05:30
Nikhil Nandagopal
edb4e82842
Update --bug-report.yaml 2024-05-02 12:38:29 +05:30
Shrikant Sharat Kandula
0591c4636e
chore: Validate tag before doing anything (#32978)
1. Add validation for the tag before building the image or doing
anything. This is strict case-sensitive validation, that will allow only
three numbers in the version, and the first number has to be a single
digit. Support for `-beta` versions is also being removed, as we just
don't use it. Thanks to removing this, we'll build the `latest` and
`v1.2.3` images together, instead of building two separate images.
2. The server and client are reading version from `version` key in
`info.json`, but RTS is reading it from `githubRef` key in `info.json`.
This discrepancy is debt, and has no reason to exist. We fix RTS to also
read the version from the `version` field.

Why are we doing this? [Slack
conversation](https://theappsmith.slack.com/archives/C0341RERY4R/p1714098736865219?thread_ts=1714066995.288859&cid=C0341RERY4R).
2024-05-01 11:44:53 +05:30
Nikhil Nandagopal
85fa8cb452 Updated Label Config 2024-04-26 14:16:49 +05:30
Nikhil Nandagopal
f31140f33e Updated Label Config 2024-04-25 15:36:08 +05:30
Shrikant Sharat Kandula
4b9dddc861
ci: Remove Postgres from client-build workflow 2024-04-24 15:08:16 +05:30
Shrikant Sharat Kandula
cd22fc1087
test: Some cleanup for Git Cypress tests (#32836)
1. Change usage of ports bound to 3000, 5000 and 8000 to 4200, which
will be the canonical port for TED in the future.
2. Switch to using TED's native git repo management APIs, instead of the
Gitea compatibility layer.
3. Remove code from GitHub ages.


/ok-to-test tags="@tag.Sanity, @tag.Git"<!-- This is an auto-generated
comment: Cypress test results -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/8785291879>
> Commit: b38f4eb388716f7fcfc2a032d788c2ebb951568b
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8785291879&attempt=2"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->





<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Refactor**
- Enhanced Git integration by shifting from GitHub to Gitea for
repository operations in test environments.
- Updated URLs and endpoints across various test scripts and data
fixtures to align with new configurations.
- **Tests**
- Modified test scenarios to reflect changes in Git operations and URL
configurations.
- **Chores**
- Updated CI workflows by replacing old secrets with new ones for better
configuration management.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-04-23 10:01:14 +05:30
Valera Melnikov
6d90ce8dc9
chore: update storybook (#32828)
## Description
- Update Storybook and related dependencies
- Delete the stories for old widget components
- Rewrite stories for new widgets(mdx to tsx)

Note: local chromatic doesn't work because of this
https://github.com/storybookjs/storybook/issues/22531

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced new component stories across various packages to enhance
design system documentation and user experience.

- **Documentation**
- Updated `.gitignore` files to optimize version control settings for
Storybook and build logs.

- **Refactor**
- Modified UI element positioning in Storybook theming for improved
layout management.

- **Style**
- Adjusted CSS properties for the `Select` component to ensure better
visual presentation.

- **Chores**
- Updated dependencies and scripts in package configurations to maintain
up-to-date development tools.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-04-22 12:17:28 +03:00
Nikhil Nandagopal
cee6660de9 Updated Label Config 2024-04-22 13:30:34 +05:30
Nikhil Nandagopal
73a7dd3c0c Updated Label Config 2024-04-22 13:29:41 +05:30
Shrikant Sharat Kandula
85bed5bfc7
ci: Publish port 4200 for TED (#32835)
This changes to publish TED's canonical app port, `4200`.

What's wrong with the currently used ports?


57f63003ef/app/app.ts (L18-L20)

Quoting here:

> 8000, // Past static webserver port, to be removed, after switching to
4200, clashes with CloudServices on CI.
> 5000, // Past Postgraphile port, to be removed, after switching to
4200, clashes with macOS AirDrop.
> 3000, // Past Gitea port, to be removed, after removing Gitea, because
it clashes with `yarn start` in Appsmith.

/ok-to-test tags="@tag.Sanity"
2024-04-22 10:33:07 +05:30
yatinappsmith
94958b538a
CI: fix checkout for label (#32775)
fix checkout for label
2024-04-18 16:19:27 +05:30
Dessi
e9ebfe2952
chore: Include a closed question to PRs template (#32517)
Co-authored-by: Rishabh Rathod <rishabhrathod2012@gmail.com>
Co-authored-by: Rishabh-Rathod <rishabh.rathod@appsmith.com>
2024-04-18 15:21:58 +05:30
yatinappsmith
655548d948
CI: Fix label Checker (#32770)
Fix label Checker
2024-04-18 14:38:17 +05:30
yatinappsmith
4e6f3c599e
CI: Check for valid cypress tags (#32764)
## Description
Add a check to validate PRs

Fixes #`32763`  


## Automation

/ok-to-test tags=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Integrated a new workflow step to validate tags in pull requests,
providing guidance for corrections and halting the workflow if tags are
incorrect.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-04-18 13:20:59 +05:30
Nikhil Nandagopal
4d719a020b Updated Label Config 2024-04-17 18:59:21 +05:30
Nikhil Nandagopal
4cd1de8fb6 Updated Label Config 2024-04-12 12:49:27 +05:30
Nikhil Nandagopal
c910ee8193 Updated Label Config 2024-04-11 21:36:03 +05:30
Nikhil Nandagopal
cb594ac5cc Updated Label Config 2024-04-11 20:51:39 +05:30
Hetu Nandu
7a02a1764b
ci: [Cypress Test Results] Remove code wrappers from commit refs (#32543) 2024-04-10 15:06:16 +05:30
Shrikant Sharat Kandula
7c89a3bad0
ci: Better and more visible colors (#32541) 2024-04-10 13:33:02 +05:30
Nikhil Nandagopal
d1fc52e1e6 Updated Label Config 2024-04-08 21:56:35 +05:30
Nikhil Nandagopal
e94266c753 Updated Label Config 2024-04-08 21:52:13 +05:30
Nikhil Nandagopal
27fc3e02b0 Updated Label Config 2024-04-08 21:51:53 +05:30
Nikhil Nandagopal
97f1ff8e67 Updated Label Config 2024-04-08 21:51:39 +05:30
Nikhil Nandagopal
b8ab5d7f68 Updated Label Config 2024-04-08 21:50:56 +05:30
Nikhil Nandagopal
40edb0fce2 Updated Label Config 2024-04-08 21:42:37 +05:30
Nikhil Nandagopal
4a6aa5c1a3 Updated Label Config 2024-04-08 21:26:21 +05:30
Nikhil Nandagopal
aa07f4e119 Updated Label Config 2024-04-08 21:26:03 +05:30
Nikhil Nandagopal
6d6abca57a Updated Label Config 2024-04-08 21:25:38 +05:30
Nikhil Nandagopal
f61103e3cc Updated Label Config 2024-04-08 21:25:19 +05:30
Nikhil Nandagopal
ea4e65ddd9 Updated Label Config 2024-04-08 21:25:07 +05:30
Nikhil Nandagopal
23e6f43a7f Updated Label Config 2024-04-08 21:23:08 +05:30
Nikhil Nandagopal
8632676922 Updated Label Config 2024-04-08 21:22:44 +05:30
Nikhil Nandagopal
1f1fcc0580 Updated Label Config 2024-04-08 20:25:38 +05:30
Shrikant Sharat Kandula
08ef7ad53b
ci: Weekly schedule for Caddy route tests 2024-04-08 12:19:16 +05:30
Shrikant Sharat Kandula
5968f87be0
ci: Show default TED tag when blank 2024-04-06 10:09:57 +05:30
Nidhi
74b9ac16ba
ci: Delete jobs that are not part of SDLC process anymore (#32461) 2024-04-05 19:20:29 +05:30
Nidhi
a258690356
ci: Delete Build DP via ops.appsmith and Add label for Cyp fix (#32455) 2024-04-05 16:50:46 +05:30
Nidhi
055b0dffa9
ci: Remove unused Cypress related jobs (#32450) 2024-04-05 15:01:20 +05:30
Nidhi
f75f0871d5
ci: Removing perf-test related jobs (#32447) 2024-04-05 14:06:23 +05:30
Shrikant Sharat Kandula
bdd130d95c
ci: Show TED tag used in run name and summary (#32445)
This is to make it apparent what TED tag was used to run a workflow, so
that runs that happened with an unstable (non `latest`) tag of TED
aren't taken seriously.
2024-04-05 12:09:02 +05:30
Nidhi
f544e7ca49
ci: Removing DocumentDB related jobs (#32436) 2024-04-05 11:11:23 +05:30
Nidhi
0b5349231c
ci: Removing pr-test-file-check since it does not seem to be a requirement today (#32435) 2024-04-05 11:10:51 +05:30
Nidhi
7c7038c87a
ci: Removing ci-merge-check workflow as it is not required anymore (#32434) 2024-04-05 11:10:30 +05:30
Gurudatt S A
7a596f5ab6
fix: fix typo in pr-test-file-check.yml (#32422) 2024-04-05 06:52:55 +05:30
Nikhil Nandagopal
909d01a873 Updated Label Config 2024-04-03 15:32:00 +05:30
Nikhil Nandagopal
ae1925540b Updated Label Config 2024-04-02 15:13:27 +05:30
Nikhil Nandagopal
0f02241c9b Updated Label Config 2024-04-02 14:36:49 +05:30
Nikhil Nandagopal
fb1320d9c8 Updated Label Config 2024-04-02 14:36:26 +05:30
Nikhil Nandagopal
221e894a50 Updated Label Config 2024-04-02 14:24:24 +05:30
Nikhil Nandagopal
7965cb3a8d Updated Label Config 2024-04-02 14:23:59 +05:30
Nikhil Nandagopal
50cbb62dc1 Updated Label Config 2024-04-02 13:16:36 +05:30
Nikhil Nandagopal
4fb489d2f6 Updated Label Config 2024-04-02 13:15:44 +05:30
Nikhil Nandagopal
14ca094f47 Updated Label Config 2024-04-02 13:12:51 +05:30
Nikhil Nandagopal
6f47475563 Updated Label Config 2024-04-02 13:12:50 +05:30
Nikhil Nandagopal
40233bea48 Updated Label Config 2024-04-02 13:12:33 +05:30
Nikhil Nandagopal
6f0f24d81b Updated Label Config 2024-04-02 13:12:19 +05:30
yatinappsmith
2af8c4ef42
CI: Change TBP Schedule (#32319)
Change TBP Schedule

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


- **Chores**
- Modified the schedule for running the workflow to trigger every 6
hours instead of every 3 hours on weekdays.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-04-02 12:10:42 +05:30
Arpit Mohan
86cd40982b
ci: Upgrading the github action steps from Node 16 to Node 20. (#32004)
## Description
> [!TIP]  
> _Add a TL;DR when the description is longer than 500 words or
extremely technical (helps the content 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._

This is a maintenance fix that removes the warnings in our CI runs to
make it more readable.
Refer:
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/

> [!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
<!-- This is an auto-generated comment: Cypress test results  -->
> [!IMPORTANT]  
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/8386795331>
> Commit: `2b1bfe7ed505ad9ba67bfe9211d50ebabb8ea0ce`
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8386795331&attempt=1"
target="_blank">Click here!</a>
> All cypress tests have passed 🎉🎉🎉

<!-- end of auto-generated comment: Cypress test results  -->



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Chores**
- Updated DockerHub login action across multiple workflows to version 3
for enhanced security and performance.
- Updated various GitHub Actions to newer versions in different
workflows for improved compatibility and performance.
- Modified file path pattern in a workflow step for consistency and
clarity.
- Updated setup actions for Java to version 4 for better Java
environment setup.
- Updated setup-node version in a workflow and adjusted comments for
Cypress test results.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-04-01 15:41:43 +05:30
Shrikant Sharat Kandula
efc0428682
ci: Checkout repo so package.json is available 2024-03-31 08:21:39 +05:30
Nikhil Nandagopal
783a9e2fa9 Updated Label Config 2024-03-28 14:35:16 +05:30
Nikhil Nandagopal
caab336853 Updated Label Config 2024-03-28 14:34:07 +05:30
Nikhil Nandagopal
625af1c826 Updated Label Config 2024-03-28 14:33:46 +05:30
Nikhil Nandagopal
5c68027743 Updated Label Config 2024-03-28 14:33:07 +05:30
Nikhil Nandagopal
7315bcaabb Updated Label Config 2024-03-28 14:31:00 +05:30
Nikhil Nandagopal
be1c2a75c3 Updated Label Config 2024-03-28 14:30:28 +05:30
Nikhil Nandagopal
7af547c8c6 Updated Label Config 2024-03-28 14:27:33 +05:30
Nikhil Nandagopal
2e495a6deb Updated Label Config 2024-03-28 14:26:10 +05:30
Nikhil Nandagopal
d4cafb15bd Updated Label Config 2024-03-28 14:25:54 +05:30
Nikhil Nandagopal
c8a9c4f790 Updated Label Config 2024-03-28 14:25:44 +05:30
Shrikant Sharat Kandula
38cefce9af
ci: Add dashboard link in PR comment (#32205)
[Slack
conversation](https://theappsmith.slack.com/archives/C0134BAVDB4/p1711545944961399).
2024-03-28 13:27:30 +05:30
Nikhil Nandagopal
da3e85aca2 Updated Label Config 2024-03-28 11:43:40 +05:30
Nikhil Nandagopal
46ce46455f Updated Label Config 2024-03-28 10:33:43 +05:30
Nikhil Nandagopal
9fec07a2bc Updated Label Config 2024-03-28 10:33:14 +05:30
Nikhil Nandagopal
6ded9350cc Updated Label Config 2024-03-28 10:32:22 +05:30
Nikhil Nandagopal
b6786026b5 Updated Label Config 2024-03-28 10:31:55 +05:30
Nikhil Nandagopal
826a99e717 Updated Label Config 2024-03-28 10:31:37 +05:30
Nikhil Nandagopal
59e756e88a Updated Label Config 2024-03-28 10:28:29 +05:30
Nikhil Nandagopal
e787988972 Updated Label Config 2024-03-28 10:22:15 +05:30
Shrikant Sharat Kandula
0291ef7e46
ci: Allow special chars in PR body (#32089)
Currently, we get the value of the PR body into a variable, by injecting
it into a variable definition. This has two problems:

1. If the PR body has a `'` character in it, then the string definition
will terminate there, and cause an syntax error in the rest of the
script.
2. This is prone to [script injections as documented by
GitHub](https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#understanding-the-risk-of-script-injections).
2024-03-27 08:58:27 +05:30
Valera Melnikov
92c72ee20e
chore: update node version and appropriate git workflows (#31486)
## Description
- update node version and appropriate git workflow
- added the path to webpack cache folder, this should speed up bundle
creation about a minute

[Test, build and push Docker
Image](https://github.com/appsmithorg/appsmith/actions/runs/8421752151)
[Build Client, Server & Run only
Cypress](https://github.com/appsmithorg/appsmith/actions/runs/8421752151)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


- **Chores**
- Updated actions/cache and actions/setup-node to v4 across various
workflows for improved caching and Node.js setup.
- Modified the `yarn install` command to use `--immutable` flag,
enhancing dependency management.
- **Documentation**
- Updated comments within workflows to include cautionary and important
notes, ensuring better clarity.
- **Refactor**
	- Adjusted caching paths and keys for more efficient caching behavior.
- Changed Node.js installation to version 20.11.1 in Dockerfile,
aligning with the latest version for better performance and security.
- **Tests**
- Modified assertion in `getCurrentLocationSaga` test to check for the
presence of a property, improving test accuracy.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Aman Agarwal <aman@appsmith.com>
2024-03-26 14:12:11 +03:00
Nikhil Nandagopal
437ac13998 Updated Label Config 2024-03-22 13:43:24 +05:30
Nikhil Nandagopal
0e50c57d6b Updated Label Config 2024-03-21 13:34:20 +05:30
Nikhil Nandagopal
60bb22c782 Updated Label Config 2024-03-21 13:33:43 +05:30
Nikhil Nandagopal
ad6ba1b2b0 Updated Label Config 2024-03-21 13:33:07 +05:30
Nikhil Nandagopal
e2ebf482b8 Updated Label Config 2024-03-21 13:31:54 +05:30
Nikhil Nandagopal
3313fcd91d Updated Label Config 2024-03-21 13:28:02 +05:30
Nikhil Nandagopal
8fcb82207e Updated Label Config 2024-03-21 13:22:13 +05:30
Nikhil Nandagopal
f4eb599e1a Updated Label Config 2024-03-21 13:20:59 +05:30
Nikhil Nandagopal
0b3a2d298b Updated Label Config 2024-03-20 19:31:34 +05:30
Nikhil Nandagopal
a5852199dc Updated Label Config 2024-03-20 19:30:48 +05:30
Nikhil Nandagopal
3cf6965653 Updated Label Config 2024-03-20 19:30:29 +05:30
Nikhil Nandagopal
9821057ed4 Updated Label Config 2024-03-20 19:30:12 +05:30
Nikhil Nandagopal
1ecf0e2cc2 Updated Label Config 2024-03-20 19:27:32 +05:30
Nikhil Nandagopal
6a3e3cd824 Updated Label Config 2024-03-20 19:27:09 +05:30
Nikhil Nandagopal
76ce272952 Updated Label Config 2024-03-20 19:26:57 +05:30
Nikhil Nandagopal
ff5e91b0c8 Updated Label Config 2024-03-20 11:31:47 +05:30
Nikhil Nandagopal
3d67c82f9f Updated Label Config 2024-03-20 11:31:32 +05:30
Nikhil Nandagopal
c0a51a357a Updated Label Config 2024-03-20 11:30:45 +05:30
Nikhil Nandagopal
9729389310 Updated Label Config 2024-03-20 11:30:27 +05:30
Nikhil Nandagopal
dd8c3f10ea Updated Label Config 2024-03-20 11:30:14 +05:30
Nikhil Nandagopal
b4362afddd Updated Label Config 2024-03-20 11:29:54 +05:30
Nikhil Nandagopal
725398a779 Updated Label Config 2024-03-20 11:29:42 +05:30
Nikhil Nandagopal
303c601542 Updated Label Config 2024-03-20 11:27:08 +05:30
Nikhil Nandagopal
0b27776d22 Updated Label Config 2024-03-20 11:23:58 +05:30
Nikhil Nandagopal
4893716fad Updated Label Config 2024-03-19 23:06:58 +05:30
Nikhil Nandagopal
758fc4a4e0 Updated Label Config 2024-03-19 23:06:39 +05:30
Nikhil Nandagopal
ed8bf629de Updated Label Config 2024-03-19 23:06:21 +05:30
Nikhil Nandagopal
e52f5904a4 Updated Label Config 2024-03-19 23:05:43 +05:30
Nikhil Nandagopal
4c0a8d1a09 Updated Label Config 2024-03-19 23:05:30 +05:30
Nikhil Nandagopal
83972f1167 Updated Label Config 2024-03-19 23:05:18 +05:30
Nikhil Nandagopal
dfbb3c864a Updated Label Config 2024-03-19 23:05:01 +05:30
Nikhil Nandagopal
6f615df81d Updated Label Config 2024-03-19 23:04:42 +05:30
Nikhil Nandagopal
69ec4fcc87 Updated Label Config 2024-03-19 23:04:24 +05:30
Nikhil Nandagopal
4b3c437069 Updated Label Config 2024-03-19 23:03:58 +05:30
Nikhil Nandagopal
fb78be2b4f Updated Label Config 2024-03-19 23:03:43 +05:30
Shrikant Sharat Kandula
54832b6ac3
ci: Fix TED tag 2024-03-19 14:29:27 +05:30
Shrikant Sharat Kandula
7f56d70fb9
ci: Make TED image tag configurable (#31815)
With this, we should be able to set the image tag (`latest` or `nightly`
for example), to be used for the TED run for Cypress tests.

Unless we already have a different method to run Cypress with nightly
TED, this should give us that flexibility.
2024-03-19 11:57:59 +05:30
Nikhil Nandagopal
1121a839bc Updated Label Config 2024-03-16 00:19:06 +05:30
Nikhil Nandagopal
b33b4a88c3
Update config.json 2024-03-15 18:45:49 +05:30
Nikhil Nandagopal
d8b0deb7d5 Updated Label Config 2024-03-15 17:09:08 +05:30
Nikhil Nandagopal
e6660912a2 Updated Label Config 2024-03-13 13:13:11 +05:30
Nikhil Nandagopal
fd79d76618 Updated Label Config 2024-03-12 13:48:52 +05:30
Nidhi
c5c3dc4caf
ci: Modified older ok-to-test job to redirect to the new one (#31673) 2024-03-12 10:01:44 +05:30
Nikhil Nandagopal
c77e26967a Updated Label Config 2024-03-11 22:11:42 +05:30
Nikhil Nandagopal
54696c0ae8 Updated Label Config 2024-03-11 19:31:54 +05:30
Nikhil Nandagopal
855d9c8377 Updated Label Config 2024-03-11 19:31:35 +05:30
Nikhil Nandagopal
aa53262dee Updated Label Config 2024-03-11 19:30:31 +05:30
Nikhil Nandagopal
ab06d40e92 Updated Label Config 2024-03-11 15:24:53 +05:30
Nikhil Nandagopal
5801b21030 Updated Label Config 2024-03-11 11:37:10 +05:30
Nidhi
3756e94d91
ci: Prettify and remove redundancies (#31638) 2024-03-09 17:48:13 +05:30
Nidhi
86f5e8617e
ci: Prettify and remove redundancies (#31637) 2024-03-09 13:46:56 +05:30
Nidhi
01954c15d6
ci: Prettify and remove redundancies (#31635) 2024-03-09 13:24:38 +05:30
Nidhi
96655ec988
ci: Prettify and remove redundancies (#31634) 2024-03-09 12:56:02 +05:30
Nidhi
fee21b5fd5
ci: Simplified PR template to align with ok-to-test (#31633) 2024-03-09 11:14:56 +05:30
Nidhi
3b10f233cd
ci: Make Cypress results show up in body as well (#31631) 2024-03-09 09:55:50 +05:30
Nidhi
cd8cefd965
ci: Inherit secrets in workflow call to integrations tests (#31630) 2024-03-09 09:08:47 +05:30
Nidhi
73a7e3e8e7
ci: Make sure target is release branch for new flow (#31628) 2024-03-09 02:37:45 +05:30