From 28304e37d3499aa89d4fe89462b0e49674b7e71f Mon Sep 17 00:00:00 2001 From: Junichi Hayashi <2093896+nahcnuj@users.noreply.github.com> Date: Sun, 23 Aug 2026 06:10:14 +0900 Subject: [PATCH 1/7] Update CI to use reading-mode test script and rename script # Conflicts: # package.json --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 613c1e2d..d96d8443 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -184,7 +184,7 @@ jobs: - name: Reading Mode Test run: npm run test:reading - name: VRT Test - run: npm run test:vrt + run: npm run test:reading - name: Upload test results on failure if: failure() uses: actions/upload-artifact@v7 From 7dbee7b08b4ad206d1fd8fc0d2c2e2ef9bcd3489 Mon Sep 17 00:00:00 2001 From: Junichi Hayashi <2093896+nahcnuj@users.noreply.github.com> Date: Sun, 23 Aug 2026 05:46:30 +0900 Subject: [PATCH 2/7] Run readability helper script directly in CI VRT job --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d96d8443..3e9cf354 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -184,7 +184,7 @@ jobs: - name: Reading Mode Test run: npm run test:reading - name: VRT Test - run: npm run test:reading + run: node scripts/run-readability-test.mjs - name: Upload test results on failure if: failure() uses: actions/upload-artifact@v7 From e3f4a8dc9dc7782066ac23178b134911cde19c97 Mon Sep 17 00:00:00 2001 From: Junichi Hayashi <2093896+nahcnuj@users.noreply.github.com> Date: Sun, 23 Aug 2026 06:13:26 +0900 Subject: [PATCH 3/7] Restore VRT test scripts and CI workflow from main # Conflicts: # package.json --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e9cf354..613c1e2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -184,7 +184,7 @@ jobs: - name: Reading Mode Test run: npm run test:reading - name: VRT Test - run: node scripts/run-readability-test.mjs + run: npm run test:vrt - name: Upload test results on failure if: failure() uses: actions/upload-artifact@v7 From 29185f92377d41bf2a21cf0fe6185d198ecc2ba5 Mon Sep 17 00:00:00 2001 From: Junichi Hayashi <2093896+nahcnuj@users.noreply.github.com> Date: Sun, 23 Aug 2026 06:22:10 +0900 Subject: [PATCH 4/7] Update workflow and remove test.pdf --- .github/workflows/update.yml | 2 ++ app/fixtures/essays/test.pdf | Bin 298 -> 0 bytes 2 files changed, 2 insertions(+) delete mode 100644 app/fixtures/essays/test.pdf diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index bed76aa1..ded1fb01 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -78,6 +78,8 @@ jobs: run: npm ci --omit dev --ignore-scripts --prefer-offline - name: Build site run: npm run build + - name: Install Playwright browsers + run: npx playwright install chromium - name: Run readability test on built site run: npm run test:reading - if: failure() diff --git a/app/fixtures/essays/test.pdf b/app/fixtures/essays/test.pdf deleted file mode 100644 index 86b553550204faf83720a1f7d11f9e39b45bbd15..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 298 zcmZ8c%MOAt5WM#*_QFxy3iwC}2T?A@NYI<%P(vXYLQSa&`t@!}1axmZGrKe6B)fRV z=N{p}K;7;^KrgR{q>(V9RwYeDDO*?|nTDZka+DCeO{BeqM(WuZ;Pg=C?bWsVY&fv% z-vK?!yb@d0T^W)txEWe$i7$S=IxP#rz$0uJSo*%}LjfbUfu4nC#C-f?XM%BtCBK-_ iqN=6FzUS&K!K0~CnBN8uL(&?dP4CTDYvMTjQ~Uvb|4)7Z From 2eb0ed0334a222e8f8c124107bd77737ec696b21 Mon Sep 17 00:00:00 2001 From: Junichi Hayashi <2093896+nahcnuj@users.noreply.github.com> Date: Sun, 23 Aug 2026 05:55:26 +0900 Subject: [PATCH 5/7] Update update.yml to use test:reading script --- app/routes/essays/test.pdf | Bin 0 -> 298 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 app/routes/essays/test.pdf diff --git a/app/routes/essays/test.pdf b/app/routes/essays/test.pdf new file mode 100644 index 0000000000000000000000000000000000000000..86b553550204faf83720a1f7d11f9e39b45bbd15 GIT binary patch literal 298 zcmZ8c%MOAt5WM#*_QFxy3iwC}2T?A@NYI<%P(vXYLQSa&`t@!}1axmZGrKe6B)fRV z=N{p}K;7;^KrgR{q>(V9RwYeDDO*?|nTDZka+DCeO{BeqM(WuZ;Pg=C?bWsVY&fv% z-vK?!yb@d0T^W)txEWe$i7$S=IxP#rz$0uJSo*%}LjfbUfu4nC#C-f?XM%BtCBK-_ iqN=6FzUS&K!K0~CnBN8uL(&?dP4CTDYvMTjQ~Uvb|4)7Z literal 0 HcmV?d00001 From 74c8ef2c386ee56be214d8acb800f52fa3a30f85 Mon Sep 17 00:00:00 2001 From: Junichi Hayashi <2093896+nahcnuj@users.noreply.github.com> Date: Sun, 23 Aug 2026 05:57:43 +0900 Subject: [PATCH 6/7] Remove test.pdf --- app/routes/essays/test.pdf | Bin 298 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 app/routes/essays/test.pdf diff --git a/app/routes/essays/test.pdf b/app/routes/essays/test.pdf deleted file mode 100644 index 86b553550204faf83720a1f7d11f9e39b45bbd15..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 298 zcmZ8c%MOAt5WM#*_QFxy3iwC}2T?A@NYI<%P(vXYLQSa&`t@!}1axmZGrKe6B)fRV z=N{p}K;7;^KrgR{q>(V9RwYeDDO*?|nTDZka+DCeO{BeqM(WuZ;Pg=C?bWsVY&fv% z-vK?!yb@d0T^W)txEWe$i7$S=IxP#rz$0uJSo*%}LjfbUfu4nC#C-f?XM%BtCBK-_ iqN=6FzUS&K!K0~CnBN8uL(&?dP4CTDYvMTjQ~Uvb|4)7Z From 1cd2c13a31558e13b2bed17607b1ca822eb4a7d6 Mon Sep 17 00:00:00 2001 From: Junichi Hayashi <2093896+nahcnuj@users.noreply.github.com> Date: Sun, 23 Aug 2026 06:06:32 +0900 Subject: [PATCH 7/7] Fix Update workflow: install Playwright and ensure test:reading works --- .github/workflows/update.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index ded1fb01..23a02f5f 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -75,7 +75,9 @@ jobs: node-version-file: '.nvmrc' cache: 'npm' - name: Install dependencies - run: npm ci --omit dev --ignore-scripts --prefer-offline + run: npm ci --ignore-scripts --prefer-offline + - name: Install Playwright browsers + run: npx playwright install chromium - name: Build site run: npm run build - name: Install Playwright browsers