Skip to content

FAP-WEB-LLMS-FEED-CACHE-OPS-NODE22-REPAIR-01: make llms feed cache ops readback Node 22 compatible#1723

Merged
fermatmind merged 1 commit into
mainfrom
codex/fap-web-llms-feed-cache-ops-node22-repair-01
Jul 12, 2026
Merged

FAP-WEB-LLMS-FEED-CACHE-OPS-NODE22-REPAIR-01: make llms feed cache ops readback Node 22 compatible#1723
fermatmind merged 1 commit into
mainfrom
codex/fap-web-llms-feed-cache-ops-node22-repair-01

Conversation

@fermatmind

Copy link
Copy Markdown
Owner

What changed

  • Wrapped the LLMS Feed Cache Ops production readback awaits inside an async main() function.
  • Kept CommonJS require() in the heredoc and added fail-closed main().catch(...) handling.
  • Added a focused contract assertion to prevent top-level await from returning to this Node heredoc.

Why

GitHub runner Node 22 rejects heredoc scripts that mix require() with top-level await as ambiguous module syntax. The previous cache-only ops run reached PM2 reload, then failed before feed readback and artifact upload.

Validation

  • pnpm exec vitest run tests/contracts/llms-feed-cache-ops-workflow.contract.test.ts
  • actionlint .github/workflows/llms-feed-cache-ops.yml
  • node scripts/verify-github-action-refs.mjs --resolve
  • pnpm typecheck
  • git diff --check

Deferred items

  • No deployment.
  • No CMS writes or eligibility changes.
  • No Search Queue or IndexNow.
  • No llms feed cache ops rerun in this PR; rerun after merge.

Repository rule impact

Workflow runtime-only repair. No content authority, public API, sitemap, llms enumeration, CMS ownership, or frontend fallback boundary changes.

@fermatmind fermatmind merged commit 69f659d into main Jul 12, 2026
7 checks passed
@fermatmind fermatmind deleted the codex/fap-web-llms-feed-cache-ops-node22-repair-01 branch July 12, 2026 15:29
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