Skip to content

perf: reduce page regeneration and idle cron work - #193

Merged
f0rr0 merged 1 commit into
nextfrom
f0rr0/reduce-vercel-runtime-work
Nov 7, 2026
Merged

f0rr0 merged 1 commit into
nextfrom
f0rr0/reduce-vercel-runtime-work

Conversation

@f0rr0

@f0rr0 f0rr0 commented Nov 7, 2026

Copy link
Copy Markdown
Owner

Unchanged token usage syncs were regenerating Home and Tokens, and empty summary queues still invoked Vercel functions. Publish only when public content changes and gate summary HTTP dispatch on a due payload or expired lease.

  • Share invalidation, bounded snapshot preparation, and page warming across workers.
  • Keep time props stable within the day and serialize only Home’s visible workday, preserving Work pagination.
  • Detect content, ordering, history, and privacy changes through existing workers, with five-minute rendered-page caches as a fallback.
  • Reserve ten seconds for GitHub publication and leave timed-out preparation retryable.

Validation: 333 tests, lint, typecheck, production build, and pre-push checks pass. Five additional local probes cover publication races, cache failures, preview payloads, IST rollover, and invocation timing; 11 read-only PostgreSQL cases verify summary dispatch eligibility.

The existing production deployment cron-configuration step applies the new dispatch guard.

@f0rr0
f0rr0 merged commit ba177f3 into next Nov 7, 2026
2 of 3 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.

1 participant