Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Early draft of storing temp sites in OPFS #1838

Closed
wants to merge 88 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
559086b
Recompile WordPress major and beta versions
Oct 2, 2024
3e79558
Recompile WordPress major and beta versions
Oct 2, 2024
6cbc82f
Recompile WordPress major and beta versions
Oct 2, 2024
22cd223
Recompile WordPress major and beta versions
Oct 2, 2024
ee212cc
Recompile WordPress major and beta versions
Oct 2, 2024
27c28dc
Recompile WordPress major and beta versions
Oct 2, 2024
251ad2e
Recompile WordPress major and beta versions
Oct 2, 2024
0a64f9f
Recompile WordPress major and beta versions
Oct 2, 2024
209d023
Recompile WordPress major and beta versions
Oct 2, 2024
aca8b06
Recompile WordPress major and beta versions
Oct 2, 2024
a521a3f
Recompile WordPress major and beta versions
Oct 2, 2024
2e5c311
Recompile WordPress major and beta versions
Oct 2, 2024
59a03e5
Recompile WordPress major and beta versions
Oct 2, 2024
18d8364
Recompile WordPress major and beta versions
Oct 2, 2024
d45db3e
Recompile WordPress major and beta versions
Oct 2, 2024
b3d1886
Recompile WordPress major and beta versions
Oct 2, 2024
2ef1461
Recompile WordPress major and beta versions
Oct 2, 2024
521e464
Recompile WordPress major and beta versions
Oct 2, 2024
0dae02b
Refresh WordPress Nightly
Oct 2, 2024
1821756
Recompile WordPress major and beta versions
Oct 2, 2024
421c9fa
Recompile WordPress major and beta versions
Oct 2, 2024
e1edb15
Recompile WordPress major and beta versions
Oct 2, 2024
604820f
Recompile WordPress major and beta versions
Oct 2, 2024
e1c13dc
Recompile WordPress major and beta versions
Oct 2, 2024
122c846
Recompile WordPress major and beta versions
Oct 2, 2024
147679d
Recompile WordPress major and beta versions
Oct 2, 2024
078cac5
Recompile WordPress major and beta versions
Oct 2, 2024
ea35746
Recompile WordPress major and beta versions
Oct 2, 2024
9ea05ec
Recompile WordPress major and beta versions
Oct 2, 2024
a62d215
Recompile WordPress major and beta versions
Oct 2, 2024
a1e1cb0
Recompile WordPress major and beta versions
Oct 2, 2024
83f3404
Recompile WordPress major and beta versions
Oct 2, 2024
7bc2112
Recompile WordPress major and beta versions
Oct 2, 2024
c150bf5
Recompile WordPress major and beta versions
Oct 2, 2024
cc31679
Recompile WordPress major and beta versions
Oct 2, 2024
3115625
Recompile WordPress major and beta versions
Oct 2, 2024
65c6535
Recompile WordPress major and beta versions
Oct 2, 2024
8220049
Recompile WordPress major and beta versions
Oct 2, 2024
c8bacb5
Recompile WordPress major and beta versions
Oct 2, 2024
ae66b03
Recompile WordPress major and beta versions
Oct 2, 2024
5d7d6ff
Recompile WordPress major and beta versions
Oct 2, 2024
673ed32
Recompile WordPress major and beta versions
Oct 2, 2024
d69a530
Recompile WordPress major and beta versions
Oct 2, 2024
a4d7e70
Recompile WordPress major and beta versions
Oct 2, 2024
35cc211
Recompile WordPress major and beta versions
Oct 2, 2024
42baf84
Recompile WordPress major and beta versions
Oct 2, 2024
985a663
Recompile WordPress major and beta versions
Oct 2, 2024
a925825
Recompile WordPress major and beta versions
Oct 2, 2024
689a5a7
Recompile WordPress major and beta versions
Oct 2, 2024
978f7cf
Recompile WordPress major and beta versions
Oct 2, 2024
4b63134
Recompile WordPress major and beta versions
Oct 2, 2024
ec41198
Recompile WordPress major and beta versions
Oct 2, 2024
5cd4688
Recompile WordPress major and beta versions
Oct 2, 2024
41649c1
Webapp upgrade protocol: Disable HTTP caching and reload other browse…
adamziel Oct 2, 2024
57cd21f
Recompile WordPress major and beta versions
Oct 2, 2024
0de3537
Early draft of storing temp sites in OPFS
adamziel Oct 2, 2024
0108668
Recompile WordPress major and beta versions
Oct 2, 2024
de6041b
Recompile WordPress major and beta versions
Oct 2, 2024
94d11c4
Recompile WordPress major and beta versions
Oct 2, 2024
65e715a
Recompile WordPress major and beta versions
Oct 2, 2024
00ff11a
Recompile WordPress major and beta versions
Oct 2, 2024
d03af85
Recompile WordPress major and beta versions
Oct 2, 2024
11b2987
Recompile WordPress major and beta versions
Oct 2, 2024
8fee204
Recompile WordPress major and beta versions
Oct 2, 2024
1b50d89
Recompile WordPress major and beta versions
Oct 2, 2024
5bff99a
Recompile WordPress major and beta versions
Oct 2, 2024
4671fd9
Recompile WordPress major and beta versions
Oct 2, 2024
d1d4b6b
Recompile WordPress major and beta versions
Oct 2, 2024
859bb12
Recompile WordPress major and beta versions
Oct 3, 2024
b4698dd
Recompile WordPress major and beta versions
Oct 3, 2024
9f2b5e6
Recompile WordPress major and beta versions
Oct 3, 2024
96eedac
Recompile WordPress major and beta versions
Oct 3, 2024
1c6bd07
Recompile WordPress major and beta versions
Oct 3, 2024
fd2f5b4
Recompile WordPress major and beta versions
Oct 3, 2024
85b5f43
Recompile WordPress major and beta versions
Oct 3, 2024
f108bfd
Recompile WordPress major and beta versions
Oct 3, 2024
b579cdd
Recompile WordPress major and beta versions
Oct 3, 2024
ba45bb8
Recompile WordPress major and beta versions
Oct 3, 2024
db5847d
Start maintaining whenLastLoaded site metadata
brandonpayton Oct 3, 2024
1409ce2
Clean up temp sites that have not been loaded in 24 hours
brandonpayton Oct 3, 2024
10135ce
Recompile WordPress major and beta versions
Oct 3, 2024
66a35a8
Recompile WordPress major and beta versions
Oct 3, 2024
deb5a28
Merge branch 'trunk' into store-opfs-sites
brandonpayton Oct 3, 2024
7581500
Add temp slugs and prevent reload loops
bgrgicak Oct 3, 2024
1257c7b
Ensure the sidebar footer is always visible
bgrgicak Oct 3, 2024
f3662df
Show No Playground selected message if site doesn't exist
bgrgicak Oct 3, 2024
f75ae21
Site archiving flow
adamziel Oct 3, 2024
a6c3166
Site archive panel
adamziel Oct 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 46 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,62 @@ jobs:
with:
name: cypress-screenshots
path: dist/cypress/packages/playground/website/screenshots
test-e2e-playwright:

test-e2e-playwright-prepare:
runs-on: ubuntu-latest
needs: [lint-and-typecheck]
# Run as root to allow node to bind to port 80
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/prepare-playground
- name: Install Playwright Browsers
run: sudo npx playwright install --with-deps
- name: Run Playwright tests
run: sudo CI=true npx nx run playground-website:e2e:playwright:ci
- name: Prepare app deploy and offline mode
run: npx nx e2e:playwright:prepare-app-deploy-and-offline-mode playground-website
- name: Zip dist
run: zip -r dist.zip dist
- name: Upload dist
uses: actions/upload-artifact@v4
with:
name: playwright-dist
path: dist.zip
test-e2e-playwright:
runs-on: ubuntu-latest
needs: [test-e2e-playwright-prepare]
strategy:
fail-fast: false
matrix:
part: ['chromium', 'firefox', 'webkit']
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/prepare-playground
- name: Download dist
uses: actions/download-artifact@v4
with:
name: playwright-dist
- name: Unzip dist
run: unzip dist.zip
- name: Install Playwright Browser
run: sudo npx playwright install ${{ matrix.part }} --with-deps
- name: Run Playwright tests - ${{ matrix.part }}
run: |
if [ "${{ matrix.part }}" = "firefox" ]; then
sudo -E HOME=/root XDG_RUNTIME_DIR=/root CI=true npx playwright test --config=packages/playground/website/playwright/playwright.ci.config.ts --project=${{ matrix.part }}
else
sudo CI=true npx playwright test --config=packages/playground/website/playwright/playwright.ci.config.ts --project=${{ matrix.part }}
fi
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
name: playwright-report-${{ matrix.part }}
path: packages/playground/website/playwright-report/
if-no-files-found: ignore
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-snapshots-${{ matrix.part }}
path: packages/playground/website/playwright/e2e/deployment.spec.ts-snapshots/
if-no-files-found: ignore

build:
runs-on: ubuntu-latest
needs: [lint-and-typecheck]
Expand Down
Loading
Loading