-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1244 from cardstack/cs-6719-remove-feature-flag-p…
…g-indexer-and-cleanup-obsolete-code Remove PG_INDEXER feature flag and drop obsolete code
- Loading branch information
Showing
40 changed files
with
731 additions
and
1,901 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -142,11 +142,11 @@ jobs: | |
- name: Fail if generated icons have been changed without underlying raw icon changing | ||
run: git diff --exit-code | ||
|
||
host-test-in-memory-index: | ||
name: Host Tests - in-memory index | ||
host-test: | ||
name: Host Tests | ||
runs-on: ubuntu-latest | ||
concurrency: | ||
group: boxel-host-test-in-memory-index${{ github.head_ref || github.run_id }} | ||
group: boxel-host-test${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -175,43 +175,7 @@ jobs: | |
if: always() | ||
with: | ||
junit_files: junit/host.xml | ||
check_name: Host Tests (In-Memory Index) Test Results | ||
|
||
host-test-db-index: | ||
name: Host Tests - db index | ||
runs-on: ubuntu-latest | ||
concurrency: | ||
group: boxel-host-test-db-index${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/init | ||
- name: Build boxel-ui | ||
run: PG_INDEXER=true pnpm build | ||
working-directory: packages/boxel-ui/addon | ||
- name: Build host dist/ for fastboot | ||
run: PG_INDEXER=true pnpm build | ||
env: | ||
NODE_OPTIONS: --max_old_space_size=4096 | ||
working-directory: packages/host | ||
- name: Start realm servers | ||
run: pnpm start:all & | ||
working-directory: packages/realm-server | ||
- name: create realm users | ||
run: pnpm register-realm-users | ||
working-directory: packages/matrix | ||
- name: host test suite | ||
# don't run the db index host tests in percy until we remove the feature flag | ||
run: pnpm test:wait-for-servers | ||
env: | ||
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_HOST }} | ||
working-directory: packages/host | ||
- name: Publish test results | ||
uses: EnricoMi/[email protected] | ||
if: always() | ||
with: | ||
junit_files: junit/host.xml | ||
check_name: Host Tests (DB Index) Test Results | ||
check_name: Host Tests Test Results | ||
|
||
matrix-client-test: | ||
name: Matrix Client Tests | ||
|
@@ -327,11 +291,11 @@ jobs: | |
https://api.github.com/repos/$REPOSITORY/statuses/$HEAD_SHA \ | ||
-d '{"context":"Matrix Playwright tests report","description":"","target_url":"'"$PLAYWRIGHT_REPORT_URL"'","state":"success"}' | ||
realm-server-in-memory-index-test: | ||
name: Realm Server Tests - in-memory index | ||
realm-server-test: | ||
name: Realm Server Tests | ||
runs-on: ubuntu-latest | ||
concurrency: | ||
group: realm-server-in-memory-index-test-${{ github.head_ref || github.run_id }} | ||
group: realm-server-test-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -357,36 +321,6 @@ jobs: | |
run: pnpm test:dom | ||
working-directory: packages/realm-server | ||
|
||
realm-server-db-index-test: | ||
name: Realm Server Tests - db index | ||
runs-on: ubuntu-latest | ||
concurrency: | ||
group: realm-server-db-index-test-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/init | ||
- name: Build boxel-ui | ||
run: pnpm build | ||
working-directory: packages/boxel-ui/addon | ||
- name: Build host dist/ for fastboot | ||
run: pnpm build | ||
env: | ||
NODE_OPTIONS: --max_old_space_size=4096 | ||
working-directory: packages/host | ||
- name: Start realm servers | ||
run: PG_INDEXER=true pnpm start:all & | ||
working-directory: packages/realm-server | ||
- name: create realm users | ||
run: pnpm register-realm-users | ||
working-directory: packages/matrix | ||
- name: realm server test suite | ||
run: PG_INDEXER=true pnpm test:wait-for-servers | ||
working-directory: packages/realm-server | ||
- name: realm server DOM tests | ||
run: PG_INDEXER=true pnpm test:dom | ||
working-directory: packages/realm-server | ||
|
||
change-check: | ||
name: Check which packages changed | ||
if: github.ref == 'refs/heads/main' | ||
|
@@ -424,9 +358,8 @@ jobs: | |
needs: | ||
- change-check | ||
- boxel-ui-test | ||
# don't forget to change this after we remove the feature flag | ||
- host-test-in-memory-index | ||
- realm-server-in-memory-index-test | ||
- host-test | ||
- realm-server-test | ||
uses: ./.github/workflows/manual-deploy.yml | ||
secrets: inherit | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.