The stall watchdog now runs inside the scraper (ScraperService.checkStalls, every 30 s from the work loop): same rule as before, one checkpoint-safe restart, quarantine on the second stall, missing checkpoint is no evidence, and paused time no longer counts. Stalls are recorded as scraper incidents (failure.kind 'stall'). The private /api/recovery endpoint is gone. Dropped with the service: reader/scraper-unreachable incidents (supervisor and Docker handle crashes; the health page shows "Scraper: unreachable"), duplicate job-failure incidents and the unused /metrics endpoint. The stack is now reader + scraper (+ optional peer-gateway). The supervisor test moved to runtime/test (npm run test:runtime stays). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
36 lines
512 B
INI
36 lines
512 B
INI
# Explicit allowlist; runtime state and credentials never enter image layers.
|
|
**
|
|
!package.json
|
|
!server.js
|
|
!library.js
|
|
!reading-direction.js
|
|
!chapter-identity.js
|
|
!catalog.js
|
|
!backup.js
|
|
!reading-analytics.js
|
|
!reading-access.js
|
|
!public/
|
|
!public/**
|
|
!greatest/
|
|
!greatest/**
|
|
!discovery/
|
|
!discovery/**
|
|
!runtime/
|
|
!runtime/**
|
|
!scraper/
|
|
!scraper/**
|
|
!peering/
|
|
!peering/**
|
|
!tools/
|
|
!tools/**
|
|
scraper/.cache/**
|
|
scraper/logs/**
|
|
scraper/*.manifest.json
|
|
**/*.log
|
|
**/*.tmp
|
|
**/test/**
|
|
**/node_modules/**
|
|
**/.env*
|
|
**/*.pem
|
|
**/*.key
|