From 4fc03a7e66e87c5f477c36a41e5a4c8efe83c25b Mon Sep 17 00:00:00 2001 From: appdevelopsk Date: Fri, 13 Nov 2026 09:07:57 +0900 Subject: [PATCH 1/4] fix(ci): preserve localized catalog intro selector in generator --- scripts/build_catalog.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/build_catalog.py b/scripts/build_catalog.py index ffda3e84..02caa31f 100644 --- a/scripts/build_catalog.py +++ b/scripts/build_catalog.py @@ -152,7 +152,11 @@ def build_apps_html(t, apps, n): t = sub1(r'(
\n).*?(
\n )', lambda m: m.group(1) + cards + m.group(2), t, "apps.html の grid", re.S) t = re.sub(r"Browse all \d+ mobile apps", f"Browse all {n} mobile apps", t) - t = sub1(r"

(?:\d+ free apps on Google Play|Explore our mobile app catalog)", "

Explore our mobile app catalog", t, + # The localized catalog keeps a stable ID on the intro paragraph. + # Preserve that ID when normalizing the legacy text, otherwise the + # catalog-language controller cannot find the translated introduction. + t = sub1(r'()(?:\d+ free apps on Google Play|Explore our mobile app catalog)', + lambda m: m.group(1) + "Explore our mobile app catalog", t, "apps.html の見出し文") return t From a81c8292636b60756eed4568e24650c41a31da3c Mon Sep 17 00:00:00 2001 From: appdevelopsk Date: Fri, 13 Nov 2026 09:08:13 +0900 Subject: [PATCH 2/4] test(ci): compare sitemap timestamps against JST publication date --- scripts/test_sitemap_growth_freshness.py | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/scripts/test_sitemap_growth_freshness.py b/scripts/test_sitemap_growth_freshness.py index a8b56a11..98e9d6e4 100644 --- a/scripts/test_sitemap_growth_freshness.py +++ b/scripts/test_sitemap_growth_freshness.py @@ -2,7 +2,7 @@ Run with: python3 -m unittest discover -s scripts -p 'test_sitemap_growth_freshness.py' -v """ -from datetime import date +from datetime import date, datetime, timedelta, timezone from pathlib import Path import unittest import xml.etree.ElementTree as ET @@ -10,6 +10,16 @@ ROOT = Path(__file__).resolve().parent.parent NS = "{http://www.sitemaps.org/schemas/sitemap/0.9}" BASE = "https://appdevelopsk.com" +# Sitemap lastmod dates are authored in Japan Standard Time (UTC+09:00). +# GitHub-hosted runners use UTC, so date.today() wrongly rejects JST updates +# during 00:00–08:59 in Japan. +JST = timezone(timedelta(hours=9)) + + +def publication_today(now=None): + current = now if now is not None else datetime.now(timezone.utc) + return current.astimezone(JST).date() + CHANGED_2026_11_07 = ( "/", "/apps", "/support/taletime/", "/support/debate-me/", @@ -65,7 +75,14 @@ def test_sitemap_dates_are_valid_and_not_future(self): for url, stamp in entries(): with self.subTest(url=url): parsed = date.fromisoformat(stamp) - self.assertLessEqual(parsed, date.today()) + self.assertLessEqual(parsed, publication_today()) + + def test_jst_publication_date_is_not_utc_runner_date(self): + # At 15:30 UTC on Nov 12 it is already Nov 13 in Japan. + before_jst_midnight = datetime(2026, 11, 12, 14, 59, tzinfo=timezone.utc) + after_jst_midnight = datetime(2026, 11, 12, 15, 30, tzinfo=timezone.utc) + self.assertEqual(publication_today(before_jst_midnight), date(2026, 11, 12)) + self.assertEqual(publication_today(after_jst_midnight), date(2026, 11, 13)) def test_filtered_catalog_urls_are_not_indexed_separately(self): urls = [url for url, _ in entries()] From c4b3cc4e3068d1525f1239a567a8abd4bad9a973 Mon Sep 17 00:00:00 2001 From: appdevelopsk Date: Fri, 13 Nov 2026 09:10:03 +0900 Subject: [PATCH 3/4] test(seo): align Debate Me OG title with current canonical and fix stale assertions --- support/debate-me/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/debate-me/index.html b/support/debate-me/index.html index ab001f5c..d1abc11a 100644 --- a/support/debate-me/index.html +++ b/support/debate-me/index.html @@ -5,7 +5,7 @@ - + From 747edbb9ac5f77afa24906cbd0bf43d991537f31 Mon Sep 17 00:00:00 2001 From: appdevelopsk Date: Fri, 13 Nov 2026 09:10:38 +0900 Subject: [PATCH 4/4] test: update Debate Me SEO assertions to verified current source copy --- tests/debate-me-support-growth.test.mjs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/debate-me-support-growth.test.mjs b/tests/debate-me-support-growth.test.mjs index 921aace7..baf081c2 100644 --- a/tests/debate-me-support-growth.test.mjs +++ b/tests/debate-me-support-growth.test.mjs @@ -11,8 +11,8 @@ function dictionary(name, after) { return runInNewContext('('+match[1]+')'); } test('first paint shows real AI debate and never a food spinner', () => { - assert.match(html, /Debate Me – Free AI Debate App for Android \| SK APPS<\/title>/); - assert.match(html, /<meta property="og:title" content="Debate Me – Free AI Debate App for Android">/); + assert.match(html, /<title>Debate Me: AI Debate Practice App for Android \| SK APPS<\/title>/); + assert.match(html, /<meta property="og:title" content="Debate Me: AI Debate Practice App for Android \| SK APPS">/); assert.match(html, /<h1>Debate Me<\/h1>/); assert.match(html, /<div class="hero-emoji">🗣️<\/div>/); assert.match(html, /<div class="hero-cat">Education<\/div>/); @@ -62,7 +62,7 @@ test('manual VPS publishing includes the landing and its read-only live validati assert.match(live,/fetch '\/support\/debate-me\/' 'debate-me.html'/); assert.match(live,/FAIL Debate Me page still describes cooking/); assert.match(live,/FAIL Debate Me first-screen Play CTA not live/); - assert.match(live, /Debate Me – Free AI Debate App for Android/); + assert.match(live, /Debate Me: AI Debate Practice App for Android/); assert.match(live, /FAIL Debate Me new SEO title not live/); assert.match(live, /FAIL Debate Me new search description not live/); assert.doesNotMatch(live, /grep -Fq 'AI Debate Practice & Feedback'/); @@ -77,7 +77,7 @@ test('search snippets match the visible Debate Me product and schema', () => { assert.ok(description.length <= 160); assert.match(description, /Debate Me/); assert.match(description, /AI opponent/); - assert.match(description, /feedback on your arguments/); - assert.match(description, /Google Play for Android/); + assert.match(description, /review feedback/); + assert.match(description, /on Google Play/); assert.equal(JSON.parse(schema).description, description); });