Repository navigation
fix(ci): restore catalog publishing - #1
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 10, 2026, 2:31 AM ET / 06:31 UTC. ClawSweeper reviewWhat this changesThe PR switches scheduled catalog publishing to the upstream TypeScript publisher, updates pinned GitHub Actions and Node 24, and refreshes the generated pricing catalog. Merge readinessKeep open for merge review: current main still invokes the obsolete JavaScript publisher entrypoint, while this PR makes the narrow workflow repair and refreshes the resulting catalog data. Priority: P1 Review scores
Verification
How this fits togetherA scheduled GitHub Actions job checks out OpenClaw, generates the hosted model catalog, and commits it when model metadata or pricing changes. OpenClaw installations periodically fetch that catalog to refresh model information. flowchart LR
A[Scheduled trigger] --> B[Checkout catalog]
B --> C[Checkout OpenClaw]
C --> D[Install dependencies]
D --> E[TypeScript catalog publisher]
E --> F[Generated catalog JSON]
F --> G[Commit changed catalog]
G --> H[OpenClaw model refresh]
Before merge
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Merge the tested TypeScript publisher update and refreshed catalog, then confirm the next scheduled run publishes or cleanly skips unchanged content. Do we have a high-confidence way to reproduce the issue? Yes—source inspection gives a high-confidence path: current main still invokes the JavaScript publisher at workflow line 44, while the reported upstream entrypoint is TypeScript. This read-only review did not execute an external OpenClaw checkout itself. Is this the best way to solve the issue? Yes. Updating the existing scheduled command to the current upstream entrypoint preserves the established publishing and commit-on-change flow without adding a parallel mechanism. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against aa1e23af1498. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
Summary
Root cause
The upstream OpenClaw script migrated from
scripts/publish-model-catalog.mjstoscripts/publish-model-catalog.mts. The catalog workflow still called the removed JavaScript entrypoint, so every scheduled run failed after dependency installation withMODULE_NOT_FOUND.Verification
actionlint -color