Skip to content

Commit 3d24906

Browse files
authored
Merge branch 'release' into fix-22680
2 parents 0ecd9da + b5c113a commit 3d24906

File tree

2,470 files changed

+81892
-60860
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,470 files changed

+81892
-60860
lines changed

.github/pull_request_template.md

Lines changed: 44 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,56 @@
11
> Pull Request Template
22
>
33
> Use this template to quickly create a well written pull request. Delete all quotes before creating the pull request.
4-
4+
>
55
## Description
6-
6+
> Add a TL;DR when description is extra long (helps content team)
7+
>
78
> Please include a summary of the changes and which issue has been fixed. Please also include relevant motivation
89
> and context. List any dependencies that are required for this change
10+
>
911
> Links to Notion, Figma or any other documents that might be relevant to the PR
10-
11-
> Add a TL;DR when description is extra long (helps content team)
12-
13-
Fixes # (issue)
12+
>
13+
>
14+
#### PR fixes following issue(s)
15+
Fixes # (issue number)
1416
> if no issue exists, please create an issue and ask the maintainers about this first
15-
16-
17-
Media
17+
>
18+
>
19+
#### Media
1820
> A video or a GIF is preferred. when using Loom, don’t embed because it looks like it’s a GIF. instead, just link to the video
19-
20-
21-
## Type of change
22-
21+
>
22+
>
23+
#### Type of change
2324
> Please delete options that are not relevant.
24-
2525
- Bug fix (non-breaking change which fixes an issue)
2626
- New feature (non-breaking change which adds functionality)
2727
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
2828
- Chore (housekeeping or task changes that don't impact user perception)
2929
- This change requires a documentation update
30-
31-
32-
## How Has This Been Tested?
33-
> Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce.
34-
> Please also list any relevant details for your test configuration.
35-
> Delete anything that is not important
36-
37-
- Manual
38-
- Jest
39-
- Cypress
40-
41-
### Test Plan
30+
>
31+
>
32+
>
33+
## Testing
34+
>
35+
#### How Has This Been Tested?
36+
> Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
37+
> Delete anything that is not relevant
38+
- [ ] Manual
39+
- [ ] Jest
40+
- [ ] Cypress
41+
>
42+
>
43+
#### Test Plan
4244
> Add Testsmith test cases links that relate to this PR
43-
44-
### Issues raised during DP testing
45+
>
46+
>
47+
#### Issues raised during DP testing
4548
> Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)
46-
47-
49+
>
50+
>
51+
>
4852
## Checklist:
49-
### Dev activity
53+
#### Dev activity
5054
- [ ] My code follows the style guidelines of this project
5155
- [ ] I have performed a self-review of my own code
5256
- [ ] I have commented my code, particularly in hard-to-understand areas
@@ -57,9 +61,12 @@ Media
5761
- [ ] PR is being merged under a feature flag
5862

5963

60-
### QA activity:
61-
- [ ] Test plan has been approved by relevant developers
62-
- [ ] Test plan has been peer reviewed by QA
63-
- [ ] Cypress test cases have been added and approved by either SDET or manual QA
64-
- [ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
65-
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
64+
#### QA activity:
65+
- [ ] [Speedbreak features](https://github.com/appsmithorg/TestSmith/wiki/Test-plan-implementation#speedbreaker-features-to-consider-for-every-change) have been covered
66+
- [ ] Test plan covers all impacted features and [areas of interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans/_edit#areas-of-interest)
67+
- [ ] Test plan has been peer reviewed by project stakeholders and other QA members
68+
- [ ] Manually tested functionality on DP
69+
- [ ] We had an implementation alignment call with stakeholders post QA Round 2
70+
- [ ] Cypress test cases have been added and approved by SDET/manual QA
71+
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
72+
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed

.github/workflows/CypressAddKnownfailedtests.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Cypress Add Known failed tests
33
on:
44
issues:
55
types: [opened, closed, reopened]
6-
6+
77
jobs:
88
IssueOpened:
99
if: (github.event.action == 'opened' || github.event.action == 'reopened') && contains( github.event.issue.labels.*.name, 'CI impacted')
@@ -19,14 +19,16 @@ jobs:
1919
env:
2020
GITHUB_CONTEXT: ${{ toJson(github) }}
2121
XATATOKEN: ${{ secrets.XATA_TOKEN }}
22+
ISSUE_TITLE: ${{ github.event.issue.title }}
23+
ISSUE_BODY: ${{ github.event.issue.body }}
2224
run: |
23-
echo "Issue title: ${{ github.event.issue.title }}"
24-
echo "Issue body: ${{ github.event.issue.body }}"
25+
echo "Issue title: $ISSUE_TITLE"
26+
echo "Issue body: $ISSUE_BODY"
2527
#echo "$GITHUB_CONTEXT"
2628
chmod a+x app/client/cypress/xataadd.sh
27-
echo "${{ github.event.issue.title }}"|awk '{print $2}'
28-
echo "${{ github.event.issue.title }}"|awk '{print $2}'|xargs app/client/cypress/xataadd.sh
29-
29+
echo "$ISSUE_TITLE"|awk '{print $2}'
30+
echo "$ISSUE_TITLE"|awk '{print $2}'|xargs app/client/cypress/xataadd.sh
31+
3032
IssueClosed:
3133
if: github.event.action == 'closed' && contains( github.event.issue.labels.*.name, 'CI impacted')
3234
runs-on: ubuntu-latest
@@ -41,12 +43,11 @@ jobs:
4143
env:
4244
GITHUB_CONTEXT: ${{ toJson(github) }}
4345
XATATOKEN: ${{ secrets.XATA_TOKEN }}
46+
ISSUE_TITLE: ${{ github.event.issue.title }}
47+
ISSUE_BODY: ${{ github.event.issue.body }}
4448
run: |
45-
echo "Issue title: ${{ github.event.issue.title }}"
46-
echo "Issue body: ${{ github.event.issue.body }}"
49+
echo "Issue title: $ISSUE_TITLE"
50+
echo "Issue body: $ISSUE_BODY"
4751
#echo "$GITHUB_CONTEXT"
4852
chmod a+x app/client/cypress/xatadel.sh
49-
echo "${{ github.event.issue.title }}"|awk '{print $2}'|xargs app/client/cypress/xatadel.sh
50-
51-
52-
53+
echo "$ISSUE_TITLE"|awk '{print $2}'|xargs app/client/cypress/xatadel.sh
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Build client server without running tests
2+
3+
on:
4+
# This workflow can be triggered manually from the GitHub Actions page
5+
workflow_dispatch:
6+
7+
jobs:
8+
server-build:
9+
name: server-build
10+
uses: ./.github/workflows/server-build.yml
11+
secrets: inherit
12+
with:
13+
pr: 0
14+
skip-tests: "true"
15+
16+
client-build:
17+
name: client-build
18+
uses: ./.github/workflows/client-build.yml
19+
secrets: inherit
20+
with:
21+
pr: 0
22+
skip-tests: "true"
23+
24+
rts-build:
25+
name: rts-build
26+
uses: ./.github/workflows/rts-build.yml
27+
secrets: inherit
28+
with:
29+
pr: 0
30+
31+
ci-test-limited:
32+
needs: [ client-build, server-build, rts-build ]
33+
name: ci-test-limited
34+
uses: ./.github/workflows/ci-test-limited.yml
35+
secrets: inherit
36+
with:
37+
pr: 0

.github/workflows/build-docker-image.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
defaults:
2222
run:
2323
shell: bash
24-
24+
2525
steps:
2626
# Check out merge commit
2727
- name: Fork based /ok-to-test checkout
@@ -30,28 +30,26 @@ jobs:
3030
with:
3131
fetch-depth: 0
3232
ref: "refs/pull/${{ inputs.pr }}/merge"
33-
33+
3434
# Checkout the code in the current branch in case the workflow is called because of a branch push event
3535
- name: Checkout the head commit of the branch
3636
if: inputs.pr == 0
3737
uses: actions/checkout@v3
3838
with:
3939
fetch-depth: 0
40-
41-
# Setup Java
42-
- name: Set up JDK 17
43-
if: steps.run_result.outputs.run_result != 'success'
44-
uses: actions/setup-java@v3
45-
with:
46-
distribution: 'temurin'
47-
java-version: '17'
4840

4941
- name: Download the client build artifact
5042
if: steps.run_result.outputs.run_result != 'success'
5143
uses: actions/download-artifact@v3
5244
with:
5345
name: client-build
54-
path: app/client/build
46+
path: app/client
47+
48+
- name: Unpack the client build artifact
49+
if: steps.run_result.outputs.run_result != 'success'
50+
run: |
51+
mkdir -p app/client/build
52+
tar -xvf app/client/build.tar -C app/client/build
5553
5654
- name: Download the server build artifact
5755
if: steps.run_result.outputs.run_result != 'success'
@@ -80,13 +78,13 @@ jobs:
8078
working-directory: "."
8179
run: |
8280
docker build -t cicontainer .
83-
81+
8482
# Saving the docker image to tar file
8583
- name: Save Docker image to tar file
8684
run: |
8785
docker save cicontainer -o cicontainer.tar
8886
gzip cicontainer.tar
89-
87+
9088
# Uploading the artifact to use it in other subsequent runners
9189
- name: Upload Docker image to artifacts
9290
uses: actions/upload-artifact@v3
@@ -96,4 +94,3 @@ jobs:
9694

9795
- name: Save the status of the run
9896
run: echo "run_result=success" >> $GITHUB_OUTPUT > ~/run_result
99-

.github/workflows/ci-sanity.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
-e APPSMITH_CLOUD_SERVICES_BASE_URL=http://host.docker.internal:5001 \
150150
--add-host=host.docker.internal:host-gateway --add-host=api.segment.io:host-gateway --add-host=t.appsmith.com:host-gateway \
151151
cicontainer
152-
152+
153153
- name: Setup MSSQL & Arango docker containers
154154
working-directory : app/client/cypress
155155
run : |
@@ -216,6 +216,8 @@ jobs:
216216
CYPRESS_APPSMITH_OAUTH2_OIDC_TOKEN_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_TOKEN_URL }}
217217
CYPRESS_APPSMITH_OAUTH2_OIDC_USER_INFO: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_USER_INFO }}
218218
CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL }}
219+
CYPRESS_EXCLUDE_TAGS: "airgap"
220+
CYPRESS_AIRGAPPED: false
219221
APPSMITH_DISABLE_TELEMETRY: true
220222
APPSMITH_GOOGLE_MAPS_API_KEY: ${{ secrets.APPSMITH_GOOGLE_MAPS_API_KEY }}
221223
POSTGRES_PASSWORD: postgres
@@ -270,6 +272,8 @@ jobs:
270272
CYPRESS_APPSMITH_OAUTH2_OIDC_TOKEN_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_TOKEN_URL }}
271273
CYPRESS_APPSMITH_OAUTH2_OIDC_USER_INFO: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_USER_INFO }}
272274
CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL }}
275+
CYPRESS_EXCLUDE_TAGS: "airgap"
276+
CYPRESS_AIRGAPPED: false
273277
APPSMITH_DISABLE_TELEMETRY: true
274278
APPSMITH_GOOGLE_MAPS_API_KEY: ${{ secrets.APPSMITH_GOOGLE_MAPS_API_KEY }}
275279
COMMIT_INFO_MESSAGE: ${{ github.event.pull_request.title }}
@@ -328,6 +332,8 @@ jobs:
328332
CYPRESS_APPSMITH_OAUTH2_OIDC_TOKEN_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_TOKEN_URL }}
329333
CYPRESS_APPSMITH_OAUTH2_OIDC_USER_INFO: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_USER_INFO }}
330334
CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL }}
335+
CYPRESS_EXCLUDE_TAGS: "airgap"
336+
CYPRESS_AIRGAPPED: false
331337
APPSMITH_DISABLE_TELEMETRY: true
332338
APPSMITH_GOOGLE_MAPS_API_KEY: ${{ secrets.APPSMITH_GOOGLE_MAPS_API_KEY }}
333339
COMMIT_INFO_MESSAGE: ${{ github.event.pull_request.title }}

.github/workflows/ci-smoke.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
-e APPSMITH_CLOUD_SERVICES_BASE_URL=http://host.docker.internal:5001 \
150150
--add-host=host.docker.internal:host-gateway --add-host=api.segment.io:host-gateway --add-host=t.appsmith.com:host-gateway \
151151
cicontainer
152-
152+
153153
- name: Setup MSSQL & Arango docker containers
154154
working-directory : app/client/cypress
155155
run : |
@@ -216,6 +216,8 @@ jobs:
216216
CYPRESS_APPSMITH_OAUTH2_OIDC_TOKEN_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_TOKEN_URL }}
217217
CYPRESS_APPSMITH_OAUTH2_OIDC_USER_INFO: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_USER_INFO }}
218218
CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL }}
219+
CYPRESS_EXCLUDE_TAGS: "airgap"
220+
CYPRESS_AIRGAPPED: false
219221
APPSMITH_DISABLE_TELEMETRY: true
220222
APPSMITH_GOOGLE_MAPS_API_KEY: ${{ secrets.APPSMITH_GOOGLE_MAPS_API_KEY }}
221223
POSTGRES_PASSWORD: postgres
@@ -270,6 +272,8 @@ jobs:
270272
CYPRESS_APPSMITH_OAUTH2_OIDC_TOKEN_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_TOKEN_URL }}
271273
CYPRESS_APPSMITH_OAUTH2_OIDC_USER_INFO: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_USER_INFO }}
272274
CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL }}
275+
CYPRESS_EXCLUDE_TAGS: "airgap"
276+
CYPRESS_AIRGAPPED: false
273277
APPSMITH_DISABLE_TELEMETRY: true
274278
APPSMITH_GOOGLE_MAPS_API_KEY: ${{ secrets.APPSMITH_GOOGLE_MAPS_API_KEY }}
275279
COMMIT_INFO_MESSAGE: ${{ github.event.pull_request.title }}
@@ -328,6 +332,8 @@ jobs:
328332
CYPRESS_APPSMITH_OAUTH2_OIDC_TOKEN_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_TOKEN_URL }}
329333
CYPRESS_APPSMITH_OAUTH2_OIDC_USER_INFO: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_USER_INFO }}
330334
CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL }}
335+
CYPRESS_EXCLUDE_TAGS: "airgap"
336+
CYPRESS_AIRGAPPED: false
331337
APPSMITH_DISABLE_TELEMETRY: true
332338
APPSMITH_GOOGLE_MAPS_API_KEY: ${{ secrets.APPSMITH_GOOGLE_MAPS_API_KEY }}
333339
COMMIT_INFO_MESSAGE: ${{ github.event.pull_request.title }}

0 commit comments

Comments
 (0)