Skip to content

Commit 89e51a7

Browse files
subrata71claude
andauthored
ci: remove discontinued XATA_TOKEN usage (#41707)
## Summary - Replace discontinued Xata database curl calls with `touch ~/knownfailures` in `build-client-server.yml` and `build-client-server-count.yml` (matching the fix already applied to `pr-cypress.yml` in e61375d) - Delete orphaned `app/client/cypress/xataadd.sh` and `app/client/cypress/xatadel.sh` scripts that are not referenced by any workflow ## Context XATA Lite has been discontinued. The existing curl calls were silently failing (stderr redirected to `/dev/null`), producing an empty `~/knownfailures` file — identical behavior to the `touch` replacement. This completes the partial cleanup started in pr-cypress.yml. **After merging, the `XATA_TOKEN` GitHub secret can be safely removed from the repository settings.** ## Test plan - [ ] Verify `build-client-server` workflow runs successfully on a test PR - [ ] Verify `build-client-server-count` workflow runs successfully on a test PR - [ ] Confirm PR comment behavior for CI failures remains unchanged 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Streamlined CI/CD pipeline by simplifying test failure tracking and validation processes. <!-- end of auto-generated comment: release notes by coderabbit.ai --> ## Automation /ok-to-test tags="@tag.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/24066890157> > Commit: 9982ddf > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=24066890157&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.Sanity` > Spec: > <hr>Tue, 07 Apr 2026 06:35:51 UTC <!-- end of auto-generated comment: Cypress test results --> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7e6a1dc commit 89e51a7

File tree

4 files changed

+4
-16
lines changed

4 files changed

+4
-16
lines changed

.github/workflows/build-client-server-count.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ jobs:
265265
- name: Get Latest flaky Tests
266266
shell: bash
267267
run: |
268-
curl --request POST --url https://yatin-s-workspace-jk8ru5.us-east-1.xata.sh/db/CypressKnownFailures:main/tables/CypressKnownFailuires/query --header 'Authorization: Bearer ${{ secrets.XATA_TOKEN }}' --header 'Content-Type: application/json'|jq -r |grep Spec|cut -d ':' -f 2 2> /dev/null|sed 's/"//g'|sed 's/,//g' > ~/knownfailures
268+
touch ~/knownfailures
269269
270270
# Verify CI test failures against known failures
271271
- name: Verify CI test failures against known failures
@@ -424,7 +424,7 @@ jobs:
424424
- name: Get Latest flaky Tests
425425
shell: bash
426426
run: |
427-
curl --request POST --url https://yatin-s-workspace-jk8ru5.us-east-1.xata.sh/db/CypressKnownFailures:main/tables/CypressKnownFailuires/query --header 'Authorization: Bearer ${{ secrets.XATA_TOKEN }}' --header 'Content-Type: application/json'|jq -r |grep Spec|cut -d ':' -f 2 2> /dev/null|sed 's/"//g'|sed 's/,//g' > ~/knownfailures
427+
touch ~/knownfailures
428428
429429
# Verify CI test failures against known failures
430430
- name: Verify CI test failures against known failures

.github/workflows/build-client-server.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ jobs:
226226
- name: Get Latest flaky Tests
227227
shell: bash
228228
run: |
229-
curl --request POST --url https://yatin-s-workspace-jk8ru5.us-east-1.xata.sh/db/CypressKnownFailures:main/tables/CypressKnownFailuires/query --header 'Authorization: Bearer ${{ secrets.XATA_TOKEN }}' --header 'Content-Type: application/json'|jq -r |grep Spec|cut -d ':' -f 2 2> /dev/null|sed 's/"//g'|sed 's/,//g' > ~/knownfailures
229+
touch ~/knownfailures
230230
231231
# Verify CI test failures against known failures
232232
- name: Verify CI test failures against known failures
@@ -344,7 +344,7 @@ jobs:
344344
- name: Get Latest flaky Tests
345345
shell: bash
346346
run: |
347-
curl --request POST --url https://yatin-s-workspace-jk8ru5.us-east-1.xata.sh/db/CypressKnownFailures:main/tables/CypressKnownFailuires/query --header 'Authorization: Bearer ${{ secrets.XATA_TOKEN }}' --header 'Content-Type: application/json'|jq -r |grep Spec|cut -d ':' -f 2 2> /dev/null|sed 's/"//g'|sed 's/,//g' > ~/knownfailures
347+
touch ~/knownfailures
348348
349349
# Verify CI test failures against known failures
350350
- name: Verify CI test failures against known failures

app/client/cypress/xataadd.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

app/client/cypress/xatadel.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)