Skip to content

Scheduled run and artefact history #7

Closed

Description

@mmcky

A workflow that scans all configured editions post-resync and monthly, writing dated artefacts to a history that status-translations can trend. Stage 3; decide whether history lives in textstrata, status-translations, or a data repo.

Part of QuantEcon/project-translation#49 (lifecycle metrics, Stage 1). Method and limits: docs/method.md.

Activity

  1. added this to the wp8-stage3 milestone on Aug 25, 2026
  2. mmcky commented on Aug 28, 2026

    @mmcky
    ContributorAuthor

    The placement question is decided (2026-08-28): history lives in status-translations, per the org's status-* pattern — it is the consumer this issue names, its data/history/ convention already exists, and a separate data repo would add a third location for one programme's data. Implementation is QuantEcon/status-translations#12: a monthly workflow (cron + workflow_dispatch) that installs textstrata, full-clones the editions and sources, scans the three reference configs, and commits run.json plus a redacted documents.json (human_ids removed — public repo) per edition into data/textstrata/, seeded with the 2026-08-28 baseline from the first report so history starts at the audited run. Heavy artefacts are not committed; they regenerate deterministically from the recorded HEADs.

    Two things before this issue can close: the PROJECT_TRANSLATION_READ secret (fine-grained PAT, contents:read on project-translation, for the roster — the workflow fails loudly without it rather than scan roster-less) needs creating on status-translations, and the first scheduled run should come back green. The post-resync repository_dispatch trigger from action-translation is follow-up beyond this issue's monthly scope.

  3. mmcky commented on Aug 28, 2026

    @mmcky
    ContributorAuthor

    Delivered 2026-08-28. History lives in status-translations per the placement decision above: QuantEcon/status-translations#12 added the monthly workflow (cron + workflow_dispatch), the recorder with its redactions (no author e-mails — commits.jsonl is never committed; no human_ids; no filesystem paths), and the store seeded with the audited baseline from the first report.

    The first run is green end-to-end (run 33149217463: scan and Pages deploy both succeeded, roster fetched via the org service token), and its committed artefacts independently reproduce the seeded baseline — same HEADs, same numbers, redactions intact — from fresh full clones on a CI runner: the determinism contract demonstrated across machines, not just claimed.

    Trending has its anchor (data/textstrata/history/2026-08-28/) and its consumer filed (QuantEcon/status-translations#13, the Lifecycle page, with the 2026-08-04 study's charts mapped to the store as design spec). The post-resync repository_dispatch trigger from action-translation remains the noted follow-up beyond this issue's monthly scope.

    This closes the last active item on the #8 plan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions