Published

UPDATE_SCRIPT_MAINTENANCE_REPORT

Processing code and information related to OpenTED (Tenders Electronic Daily). Structured data is in a MongoDB at opented.org/opented Unstructured cached HTML pages are also in the that DB in a co...

Update Script Maintenance Report

Date: 2026-03-04

  • Ran updater: node scripts/scrape.js (after npm install).
  • Root cause: updater depended on legacy Node assumptions (path.existsSync) and missing dependency manifest.
  • Fixes made:
    • Added package.json for reproducible dependency install.
    • Updated scraper script to modern fs.existsSync, explicit variable declarations, and basic error guards.
    • Added monthly + manual GitHub Actions workflow with contents: write.
  • Validation summary: updater starts and processes source index; workflow is configured to run non-interactively.