Commit Graph

2155 Commits

Author SHA1 Message Date
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
Nidhi
d948bb6e1f
ci: Added an alternate ok-to-test path (#31626) 2024-03-09 02:30:19 +05:30
Nikhil Nandagopal
f09b7a197e
Update --bug-report.yaml 2024-03-08 15:54:23 +05:30
Nikhil Nandagopal
d6456efced Updated Label Config 2024-03-08 15:30:03 +05:30
Nikhil Nandagopal
df1c20d865 Updated Label Config 2024-03-08 15:29:32 +05:30
Nikhil Nandagopal
1159c73347
Update --bug-report.yaml 2024-03-08 14:17:12 +05:30
Hetu Nandu
b612a717f5
ci: Possible fix for Integration tests result update failures (#31600)
In testing we saw that updating `ci-test-result` has a chance of failing
if the correct check is not found.

When we are creating the `ci-test-result` check via the Github Api, it
successfully marked the PR check with the result. It did not seem to
have any issue even if a `ci-test-result` job already existed

By removing the logic of finding an existing check of the same name, and
always creating the check, we assume this will improve the PR check
updates

fixes: #31601
2024-03-08 11:17:00 +05:30
Shrikant Sharat Kandula
6e8febd971
ci: Set rate limiting to high value in CI 2024-03-08 09:40:38 +05:30
Nikhil Nandagopal
63cd84936d Updated Label Config 2024-03-06 22:48:36 +05:30
Nikhil Nandagopal
652fcb7136 Updated Label Config 2024-03-06 22:48:03 +05:30
Nikhil Nandagopal
436bf1a63d Updated Label Config 2024-03-06 21:37:16 +05:30
Nikhil Nandagopal
4e13b04b0f Updated Label Config 2024-03-06 21:35:49 +05:30
Nikhil Nandagopal
b5860e24c3 Updated Label Config 2024-03-06 21:33:04 +05:30
Nikhil Nandagopal
184ac1aeb7 Updated Label Config 2024-03-06 21:09:21 +05:30
Nikhil Nandagopal
5f52b6b260 Updated Label Config 2024-03-06 21:03:02 +05:30
Nikhil Nandagopal
1f79506c54 Updated Label Config 2024-03-06 20:58:50 +05:30
Nikhil Nandagopal
464cc205f0 Updated Label Config 2024-03-06 20:07:28 +05:30
Nikhil Nandagopal
2e0efdf0ac Updated Label Config 2024-03-06 19:26:39 +05:30
Nikhil Nandagopal
e84e27318c Updated Label Config 2024-03-06 17:03:58 +05:30
Nikhil Nandagopal
0da2e5a6b3 Updated Label Config 2024-03-06 16:59:13 +05:30
Nikhil Nandagopal
29bd8853a6 Updated Label Config 2024-03-06 16:56:25 +05:30
Nikhil Nandagopal
c29467a805 Updated Label Config 2024-03-06 15:25:25 +05:30
Nikhil Nandagopal
570d82c419 Updated Label Config 2024-03-06 15:01:34 +05:30
Nikhil Nandagopal
ea50354c3f Updated Label Config 2024-03-06 14:24:36 +05:30
Nikhil Nandagopal
08f8dd2c61 Updated Label Config 2024-03-06 14:19:53 +05:30
Nikhil Nandagopal
9d281dcd5a Updated Label Config 2024-03-06 14:19:42 +05:30
Nikhil Nandagopal
f738aedd9d Updated Label Config 2024-03-06 14:18:51 +05:30
Nikhil Nandagopal
d84dc12a73 Updated Label Config 2024-03-06 14:18:19 +05:30
Nikhil Nandagopal
9da1abafec Updated Label Config 2024-03-06 14:17:57 +05:30
Nikhil Nandagopal
77ad93d2d9 Updated Label Config 2024-03-06 14:17:47 +05:30
Nikhil Nandagopal
ab8d0fe9ec Updated Label Config 2024-03-06 13:51:14 +05:30
Nikhil Nandagopal
356a197386 Updated Label Config 2024-03-06 13:50:20 +05:30
Nikhil Nandagopal
08e709b124 Updated Label Config 2024-03-06 13:17:34 +05:30
Nikhil Nandagopal
589115dd33 Updated Label Config 2024-03-06 13:15:26 +05:30
Nikhil Nandagopal
c0457417dc Updated Label Config 2024-03-05 23:50:43 +05:30
Nikhil Nandagopal
6703eb5fc9 Updated Label Config 2024-03-05 18:33:07 +05:30
Shrikant Sharat Kandula
46787932d4
ci: Record server tests that errored, not just failed 2024-03-05 16:18:18 +05:30
Nikhil Nandagopal
7258ab51c5 Updated Label Config 2024-03-05 13:48:42 +05:30
Nikhil Nandagopal
f0865593ae Updated Label Config 2024-03-04 20:58:03 +05:30
Shrikant Sharat Kandula
960085e8c3
ci: Add $PWD/ prefix for failed tests faile (#31457) 2024-03-04 14:59:49 +05:30
Nikhil Nandagopal
8856fcf569 Updated Label Config 2024-03-04 12:23:40 +05:30
Nikhil Nandagopal
c7a6edf16b Updated Label Config 2024-03-04 12:20:34 +05:30
Nikhil Nandagopal
32d8859762 Updated Label Config 2024-03-04 04:23:27 +05:30
Nikhil Nandagopal
059a5ca711 Updated Label Config 2024-03-04 04:22:58 +05:30
Nikhil Nandagopal
e5d85a9a6f Updated Label Config 2024-03-04 04:22:18 +05:30
Nikhil Nandagopal
e0522e8e10 Updated Label Config 2024-03-04 04:21:13 +05:30
Nikhil Nandagopal
2ddb566a22 Updated Label Config 2024-03-04 04:21:02 +05:30
Nikhil Nandagopal
454a94828a Updated Label Config 2024-03-04 04:20:53 +05:30
Nikhil Nandagopal
d215af7379 Updated Label Config 2024-03-04 04:20:09 +05:30
Nikhil Nandagopal
a1d4f5a17c Updated Label Config 2024-03-04 04:19:31 +05:30
Nikhil Nandagopal
fc8b0a7730 Updated Label Config 2024-03-04 04:19:05 +05:30
Nikhil Nandagopal
1d3e433c09 Updated Label Config 2024-03-04 04:17:46 +05:30
Nikhil Nandagopal
fa00d62feb
Update --bug-report.yaml 2024-03-01 17:17:15 +05:30
Nikhil Nandagopal
9a29b61bf2
Update --bug-report.yaml 2024-03-01 16:03:07 +05:30
Nikhil Nandagopal
1efe1184de
Update --bug-report.yaml 2024-03-01 16:02:20 +05:30
Nikhil Nandagopal
1858fb9067
Update config.json 2024-02-29 19:58:16 +05:30
Nikhil Nandagopal
e5a9c4be62 Updated Label Config 2024-02-29 18:18:48 +05:30
Shrikant Sharat Kandula
30f8eddc29
ci: Fix another place with excessive logging in server build 2024-02-29 16:18:48 +05:30
Shrikant Sharat Kandula
5d00f87baf
ci: Change debug logs for server test failures 2024-02-29 15:29:51 +05:30
Shrikant Sharat Kandula
d831f289e5
ci: Add some debug info for failed server build 2024-02-29 12:00:34 +05:30
Nikhil Nandagopal
b1ab627f41 Updated Label Config 2024-02-29 08:36:53 +05:30
Shrikant Sharat Kandula
2eb14cad7c
ci: Collect failed server tests from Surefire reports (#31366)
The current `TestResultLoggerExtension` extension only finds failed
tests from the server module, and not from any of the plugin or other
modules.

To fix this, this PR collects failed tests using the Surefire XML test
reports already generated by the `mvn test` command.
2024-02-29 07:10:39 +05:30
Shrikant Sharat Kandula
c66990d64d
ci: Fix arg for re-running server unit-tests 2024-02-27 19:09:37 +05:30
Shrikant Sharat Kandula
8677240da6
ci: Don't print curl command output in server-build 2024-02-26 20:18:24 +05:30
Aishwarya-U-R
30300bb6a4
test: Cypress | Replacing some external api's with TED + Flaky fix (#31118)
## Description
- This PR does some clean up of comments - in DeployHelper.ts
- This PR replaced external image api with TED mock api in
ServerSide/OnLoadTests/OnLoadActions_Spec.ts
- Extrenal example api to TED in Widgets/Image/Image_spec.js
- Extrenal api links in
app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_Bugs_Spec.js
to TED api's
- Flaky fixes /ServerSide/LoginTests/LoginFailure_spec.js - for EE CI
run failure (Added multiple Dynamic checks)
- support command.js method LoginUser() - added Dynamic check
- Encapsulated Datasources/Arango_Basic_Spec.ts into conditional check
to run in CE alone, instead of entirely skipping, since its failing in
EE due to chrome crash

#### Media
#### Type of change
- Script fix (non-breaking change which fixes an issue)

## Testing
#### How Has This Been Tested?
- [X] Cypress CI runs

## Checklist:
#### QA activity:
- [X] Added `Test Plan Approved` label after Cypress tests were reviewed

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

- **Tests**
- Updated Cypress regression tests to use flower images instead of cat
images for API calls.
- Modified limited test configurations to run with different spec files.
- Adjusted GitHub Actions workflow to change `matrix_count` values based
on the event type and retrieve PR number for manual triggers.
	- Updated Docker image tag in CI tests to `nightly`.

- **Refactor**
- Enhanced `DataManager` class with new properties for flower image
URLs.
- Improved `EntityExplorer` class method to ensure more reliable
triggering of events.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-02-23 13:18:01 +05:30
Nikhil Nandagopal
d3b3a4a745 Updated Label Config 2024-02-16 11:58:18 +05:30
Nikhil Nandagopal
49a0b556ca Updated Label Config 2024-02-13 15:07:30 +05:30
yatinappsmith
bda53ce421
CI: Trigger auto-analysis for cypress runs (#30659)
## Description

#### PR fixes following issue(s)
Fixes # (issue number)

#### Media

#### Type of change
- New feature (non-breaking change which adds functionality)

## Testing

#### How Has This Been Tested?

- [X] Manual
- [ ] JUnit
- [ ] Jest
- [ ] Cypress

#### Test Plan

## Checklist:
#### Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed


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

- **Chores**
- Introduced a new step in the CI/CD pipeline to trigger an automated
analysis workflow.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-02-12 06:29:17 +05:30
Shrikant Sharat Kandula
ff49dd859f
ci: Exclude duplicates in failed tests message 2024-02-09 17:26:26 +05:30
Shrikant Sharat Kandula
dbe138778a
ci: Add server failed tests as PR comment (#30888)
And, don't show duplicates. Not sure why we're seeing duplicates though.
2024-02-06 16:07:43 +05:30
Shrikant Sharat Kandula
11c55b7aec
ci: Print failed tests to Action Summary (#30853)
This should show the failed test list in the GitHub actions summary so
we don't have to load the _extremely large_ full log file of the server
tests, just to see the list of tests that failed.
2024-02-02 10:32:40 +05:30
Shrikant Sharat Kandula
67c444e2a5
chore: Show commit SHA instead of SNAPSHOT version (#30850)
Show the commit SHA in the version popup, instead of a snapshot version
number like `v1.11-SNAPSHOT`. But if the version number doesn't have a
`-SNAPSHOT` at the end, we show the version number as is. So if it's
`v1.12`, we show that instead of the commit SHA.


![shot-2024-02-02-02-09-14](https://github.com/appsmithorg/appsmith/assets/120119/c0fe70f7-5c49-4191-8cb8-262e6c7710bc)
2024-02-02 09:52:34 +05:30
Nikhil Nandagopal
af407904bd Updated Label Config 2024-02-01 21:09:25 +05:30
Nikhil Nandagopal
838f908772 Updated Label Config 2024-02-01 21:08:03 +05:30
Nikhil Nandagopal
53e4387386 Updated Label Config 2024-02-01 21:01:50 +05:30
Nikhil Nandagopal
b85659a394 Updated Label Config 2024-02-01 21:00:48 +05:30
Nikhil Nandagopal
1644ac9168 Updated Label Config 2024-02-01 21:00:09 +05:30
Shrikant Sharat Kandula
7a1e17ee8e
ci: Use a variable for client runner (#30787)
We should be able to switch back-and-forth faster with this.
2024-01-31 14:47:59 +05:30
Shrikant Sharat Kandula
5e746bca91
ci: Switch client-build to default runners 2024-01-31 12:52:14 +05:30
Nikhil Nandagopal
d69ff3bbfa Updated Label Config 2024-01-31 12:44:28 +05:30
sharanya-appsmith
8b562ff629
ci: modified the message thrown when no tests run (#30599)
## Description
> Modified the message thrown when no tests ran from 
`It seems like there are some failures 😔. We are not able to recognize
it, please check this manually`
to
` It seems like no tests ran 😔. We are not able to recognize it, please
check workflow`


#### Type of change
- Chore (housekeeping or task changes that don't impact user perception)

#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [ ] Manual

## Checklist:
#### Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed


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

## Summary by CodeRabbit

- **Chores**
- Improved messaging for test failure scenarios to clarify when no tests
have been run.
  - Updated the link for checking the workflow status.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-24 18:13:23 +05:30
Shrikant Sharat Kandula
d25b94fe50
chore: Remove unneeded exposing of 9001 port (#30499)
We're already using `/supervisor` for this, and don't expect anyone to
hit the port directly.
2024-01-22 15:06:08 +05:30
Nikhil Nandagopal
99b64c7d50 Updated Label Config 2024-01-22 12:04:46 +05:30
Nikhil Nandagopal
401a1f976a Updated Label Config 2024-01-22 12:04:35 +05:30
Nikhil Nandagopal
ea4f183535 Updated Label Config 2024-01-22 10:45:26 +05:30
Shrikant Sharat Kandula
e5455e0f90
chore: increment minor number for snapshot versions (#30487)
We've always wanted to increment minor versions instead of patch
versions for new releases, as it's more semantic. This PR will change
the snapshot version calculation to increment the minor number instead
of the patch number.

Came up from [this Slack
thread](https://theappsmith.slack.com/archives/CGBPVEJ5C/p1705674928122129?thread_ts=1704793408.986219&cid=CGBPVEJ5C).
2024-01-22 10:02:57 +05:30
Arpit Mohan
4b3d19b238
ci: Fixing Slack notification in test-build-docker-image (#30407)
Fixing minor syntax issues when notifying on Slack on failure of the Test build Docker workflow.

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

## Summary by CodeRabbit

- **Chores**
	- Improved Slack notification messages by adjusting link formatting.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-18 12:45:23 +05:30
Nikhil Nandagopal
455741e089 Updated Label Config 2024-01-18 11:51:53 +05:30
Nikhil Nandagopal
97bcd6c192 Updated Label Config 2024-01-18 11:50:38 +05:30
Nikhil Nandagopal
d6c4ec6426 Updated Label Config 2024-01-18 11:48:59 +05:30
Abhijeet
efc303e760
chore: Update the build process to refer the Appsmith version from the info.json in all build artifacts (#29903)
Fixes #29623

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2024-01-12 19:44:58 +05:30
Goutham Pratapa
d77c1ab110
fix: missing psql client error in ci (#30279) 2024-01-12 17:28:35 +05:30
Aishwarya-U-R
7a18d4ac4c
test: Cypress | Flaky fixes + Replacing static waits (#30067)
## Description
- This PR includes the flaky fixes of the below specs:
- jsEditor.NavigateToNewJSEditor() using TS helpers (Addressing
flakyness in specs /BugTests/JS_Bug29131_spec.ts,
BugTests/invalidLintError_Spec.ts,
ClientSide/BugTests/JS_Bug28764_Spec.ts,
/ClientSide/BugTests/Bug29566_Spec.ts,
ServerSide/JsFunctionExecution/JSFunctionExecution_spec.ts)
- /Widgets/ListV2/Listv2_onItemClick_spec.js (toast validation updated
to ts helper)
           - /Apps/MongoDBShoppingCart_spec.ts (Flaky fix 2nd case)
           - /Regression/Apps/PromisesApp_spec.js (1st test)
- /ClientSide/OtherUIFeatures/ApplicationURL_spec.js (whole spec for
static wait removal + flaky fixes)
- /ClientSide/Templates/Fork_Template_spec.js (complete spec fixes,
cypress exception fix)
           - /Sanity/Datasources/Arango_Basic_Spec.ts (3rd test)
- /ServerSide/OnLoadTests/JSOnLoad2_Spec.ts (8th case flaky fix)
- /ClientSide/MobileResponsiveTests/AutoFillWidgets_Reflow_spec.ts (2nd
testcase, flow update)
           - /ClientSide/OtherUIFeatures/Resize_spec.js (import update)
- /ClientSide/Templates/Fork_Template_spec.js (1st & 3rd for flaky fix,
removed 2nd - redundant check)
- /Git/GitSync/RepoLimitExceededErrorModal_spec.js flaky fix for EE repo
failure
- /ServerSide/ApiTests/API_Bugs_Spec.js (3rd case, removed waits, moved
to TED Api)
           - /Apps/EchoApiCMS_spec.js (removed redundant action)
- /AppNavigation/Sidebar_spec.ts, /AppNavigation/TopInline_spec.ts,
/AppNavigation/TopStacked_spec.ts - added refresh calls for CI flakyness
- homePage.RenameWorkspace() & homePage.NavigateToHome() &
homePage.Signout() - removed static wait, added dynamic check
- homePage.CreateNewApplication() - removed static wait
- homePage.CreateAppInWorkspace() - removed commented code
- homePage.CreateNewWorkspace() - logic improved
- agHelper.AssertURL() - added timeout, removed static wait, calling
assertHelper.AssertDocumentReady()
- Few of agHelper methods timeout & error mesg text update
- cy.Signup() - updated validations
- agHelper.CheckForErrorToast() to agHelper.FailIfErrorToast() - method
name
- /ClientSide/BugTests/DSDiscardBugs_spec.ts - removed unnecessary
method call

#### Type of change
- Script fix (non-breaking change which fixes an issue)

## Testing
#### How Has This Been Tested?
- [X] Cypress CI runs

## Checklist:
#### QA activity:
- [X] Added `Test Plan Approved` label after all changes were reviewed

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

- **Refactor**
- Enhanced timeout handling across various helper methods for improved
stability.
- Streamlined interactions with UI elements using updated helper
methods.
- Adjusted test suites to utilize configuration values for consistency.

- **Tests**
  - Temporarily disabled specific test suites to address current issues.
- Updated test assertions and interaction patterns for clarity and
reliability.
- Added new test cases and assertions to cover additional
functionalities.

- **Chores**
  - Updated workflow variables for more efficient CI processes.
- Curated the list of limited tests to focus on critical test scenarios.

- **Documentation**
  - Clarified test descriptions and intentions for better understanding.

- **Bug Fixes**
- Fixed UI element interactions to prevent test flakiness and improve
user experience.
- Implemented page refresh before application imports to ensure clean
state for tests.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-12 12:00:12 +05:30