Skip to content

ci: check canonical model sources twice daily - #11513

Merged
lpcox merged 1 commit into
mainfrom
lpcox-twice-daily-catalogue-checks
Nov 13, 2026
Merged

lpcox merged 1 commit into
mainfrom
lpcox-twice-daily-catalogue-checks

Conversation

@lpcox

@lpcox lpcox commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Change the existing canonical model source maintenance schedule from daily to every 12h, with directly related cadence documentation and regression coverage. The compiled UTC cron is 23 */12 * * *: 00:23 and 12:23 UTC, twelve hours apart and off the top of the hour. GitHub Actions scheduling remains best-effort and may delay runs.
  • Preserve the existing intent, read-only agent, independent trusted validation, serialized runs, single-open-maintenance-PR selection and branch reuse, and genuine no-change/no-op behavior. Every proposed source change still requires human review and merge; no auto-merge or unattended source activation is added.
  • Keep the existing automatic reviewed-main post-merge publication pipeline unchanged, including the independent pricing export. No new automation/service, signing infrastructure, provider refresh, or gh-aw migration.
  • Fix the reproduced maintenance blocker in the DeepSeek exact-ID regression by replacing its dependency on production catalogue prices with explicit frozen exact-ID/versioned-alias fixtures, exercised in both input orders. An offline mock of the reported refresh from .091/.0182/.182 to .09/.018/.18 reproduced the old failure and passed after the fixture fix. No live price constants or catalogue data were changed.

Compilation and scope

Compiled only model-api-mapping-updater using the matching gh-aw v1.2.2 and ran the mandatory repository postprocessor. The compiled execution graph is identical to the base except the schedule and description; action/container pins and other workflows are unchanged.

Base: 3a3fca194f439be1989eb1f7b8ff307a3f7a14cf, verified to include the reviewed publication merge 4e04a30fdd014a471ad33944cd7063101174bab7 from #11512. All work was isolated from the parent user-owned checkout.

Validation

  • node scripts/model-information/maintenance-command.cjs test: 9 suites, 203 tests passed, covering maintenance selection/update/no-op, publication, and source/projection contracts; includes the workflow regression's 11 tests.
  • node scripts/model-information/maintenance-command.cjs test-api-proxy: 9 suites, 275 tests passed, 2 skipped; includes the deterministic exact-ID fixture's 6 tests.
  • npm run models:check: passed; no catalogue projections changed.
  • Offline mocked-price reproduction: failed before the fixture fix and passed afterward.
  • Independent review reran the workflow regression (11 tests), exact-ID runtime regression (6 tests), and git diff --check: passed.
  • Commit hooks: ESLint passed with existing warnings and no errors; TypeScript build and commitlint passed.
  • git diff --check: passed.

No manual workflow dispatch, live publication, paid/provider inference, merge, or auto-merge was performed.

Preserve reviewed maintenance PR reuse and publication gates.

Freeze the DeepSeek exact-ID fixture independently of refreshed catalogue prices.

Co-authored-by: Copilot App <[email protected]>
Copilot AI adaptive review requested due to automatic review settings November 13, 2026 00:55
@github-actions

Copy link
Copy Markdown
Contributor

Documentation Preview

Documentation has been built for this PR.

Download preview artifact

To view locally:

  1. Download the docs-preview-pr-11513 artifact from the workflow run
  2. Unzip and open index.html in your browser

Built from commit 33f7fb5

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified for the twice-daily maintenance update and deterministic pricing fixtures.

No open issues 🎉

What changed in this PR

This PR moves AWF’s canonical model source maintenance to twice daily while preserving human review and the existing post-merge publication pipeline, including the independent pricing export.

Changes:

  • Schedule maintenance for 00:23 and 12:23 UTC, with updated cadence documentation and regression coverage.
  • Replace production-price-dependent DeepSeek assertions with fixed fixtures that verify exact-ID precedence in both input orders.
  • Preserve workflow permissions, execution steps, and action/container pins.
File Description
scripts/​ci/​model-api-mapping-updater-workflow.test.ts Assert twelve-hour scheduling at an off-hour minute.
docs/​adr/​0004-model-information-management.md Document the cadence and clarify unchanged reviewed-source publication.
containers/​api-proxy/​models-dev-catalog.test.js Use deterministic exact-ID and alias pricing fixtures.
.github/​workflows/​model-api-mapping-updater.md Set the schedule to every 12h and update its description.
.github/​workflows/​model-api-mapping-updater.lock.yml Update the compiled cron, descriptions, and frontmatter hash.

Review effort: Balanced (dynamic)

@github-actions

Copy link
Copy Markdown
Contributor

✅ Coverage Check Passed

Overall Coverage

Metric Base PR Delta
Lines 93.87% 93.87% ➡️ +0.00%
Statements 92.42% 92.42% ➡️ +0.00%
Functions 93.11% 93.11% ➡️ +0.00%
Branches 86.82% 86.82% ➡️ +0.00%
📁 Per-file Coverage Changes (1 files)
File Lines (Before → After) Statements (Before → After)
src/enclave/host-executor-server.ts 91.2% → 91.2% (+0.00%) 89.8% → 90.1% (+0.29%)

Coverage comparison generated by scripts/ci/compare-coverage.ts

@lpcox
lpcox merged commit 03dadab into main Nov 13, 2026
42 checks passed
@lpcox
lpcox deleted the lpcox-twice-daily-catalogue-checks branch November 13, 2026 02:21
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.

2 participants