Skip to content

Production repair: scheduler, mobile push, imports, Adsterra ads, account screens, filters, verification - #11

Merged
yonixnetwork merged 6 commits into
mainfrom
claude/youthful-cerf-4xclco
Nov 13, 2026
Merged

yonixnetwork merged 6 commits into
mainfrom
claude/youthful-cerf-4xclco

Conversation

@yonixnetwork

Copy link
Copy Markdown
Owner

Repairs and upgrades on the live Webcenta app, with no rebuild. Details, root causes and evidence are in docs/production-repair/ (checklist, test-results, cron-setup, ads-setup, notification-diagnostics, screenshots).

Root causes found

  • Scheduler never ran: Hostinger has no cron job for webcenta.com. This also explains why imports never processed, imported apps were never security-checked, and bulk publishing refused everything.
  • Mobile push:
    • pushes were sent at normal urgency, which Android defers in Doze;
    • phone subscriptions were never re-confirmed (stale, unlinked or wrong account);
    • the service worker could fail to install when one precache download failed.
  • Imports UI:
    • row buttons had no pending state or result;
    • claims and approvals were not atomic;
    • a crashed check left its revision stuck.

Changes

  • Scheduler:
    • cron-tick.mjs entry point, with no secret in the cron command;
    • an atomic scheduler lease, so runs never overlap;
    • per-job start, duration, result and error;
    • Admin → Scheduler with Run now, Pause and Resume;
    • schedules set by workload.
  • Push:
    • high urgency, a topic per announcement, and a badge icon;
    • the browser re-syncs its subscription, linked to the signed-in account;
    • pushsubscriptionchange handling;
    • a PushDelivery log per attempt, plus an admin delivery report;
    • a "Send a test notification" button;
    • iOS Home Screen instructions.
  • Imports:
    • every table action goes through one form with feedback, a selected count and confirmations;
    • Run security checks and Retry actions;
    • failures record stage, category and retry eligibility;
    • duplicate detection;
    • a description enrichment job that only proposes changes for review.
  • Ads:
    • the six Adsterra units, each in its own sandboxed /ads/frame/<unit> document, so units never share atOptions;
    • AdSense is used only when the owner confirms approval, otherwise Adsterra (with fallback);
    • responsive placements, a label, and consent required;
    • none on sign-in or account pages.
  • UI:
    • four-item tab bar (Home, Games, Apps, Search);
    • account area: a list of sections on phones, sidebar layout on desktop, view first and edit on request;
    • Google G button;
    • compact filters (bottom sheet on phones);
    • clearer domain verification, with a new HTML-file method and expiring codes.
  • Migration: 20261114120000_scheduler_push_imports_ads (adds columns and one table only).

Tests

  • Lint and tsc pass with no errors.
  • Unit/DB tests: 337/337 passed (17 new).
  • New E2E suite repair.spec.ts: 10/10 passed. It covers the exact cron command and scheduler, import → checks → publish against MySQL, push records, ad frames and placements, account screens at 320/390 px, filters, the Google button and HTML-file verification.
  • Responsive audit: 160 page/viewport checks across 10 viewports, 0 problems.
  • Full regression: all projects passed apart from the failures listed in test-results.md, which are fixed in the tests (no application change).

Not verifiable here: physical phones, real push services, real ad fill, the Google OAuth round trip.


Generated by Claude Code

…ccount screens, filters, Google button, domain verification

- Hostinger cron entry point (cron-tick.mjs, no secret in the command), scheduler lease,
  per-job results, Admin → Scheduler with Run now / pause
- Web push: high urgency, subscription re-sync linked to the current account,
  pushsubscriptionchange, resilient SW install, delivery log and admin report, test button
- Imports: one form with feedback, atomic claims and approvals, error stage/category,
  retry and run-checks actions, duplicate detection, description enrichment job
- Adsterra units in sandboxed per-unit frames, AdSense priority with fallback, placements
- Account area as a list + section screens on phones, view-first profile/security
- Four-item tab bar, Google sign-in button, compact filters, HTML-file domain verification
- docs/production-repair

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NrPV5wwqB6Kvn6Jo16iwcb
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NrPV5wwqB6Kvn6Jo16iwcb
… filter locator

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NrPV5wwqB6Kvn6Jo16iwcb
…de rejects casting 1.7e12 stored as a double to UNSIGNED)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NrPV5wwqB6Kvn6Jo16iwcb
@hostinger

hostinger Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Hostinger preview

Preview Commit Updated
lavender-guanaco-562311.hostingersite.com 0f8c57c Nov 13, 2026 16:56 UTC

A new build starts on every push to claude/youthful-cerf-4xclco; the table shows the commit currently served. The preview is deleted when this pull request is closed.

…hit the 10 per 5 minutes limit in the security suite)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NrPV5wwqB6Kvn6Jo16iwcb
@yonixnetwork
yonixnetwork merged commit e60a093 into main Nov 13, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants