Skip to content

CLI forward --github labels never match the review workflow's filter, so resync PRs skip AI review #131

Description

@mmcky

Found during the lecture-python.zh-cn post-wave drift mini-wave (QuantEcon/project-translation#14, zh-cn PRs #188#193).

forward --github hard-codes its PR labels as action-translation-sync + resync (src/cli/forward-pr-creator.ts, buildGhArgs). The review workflow template (docs/user/tutorials/connect-existing.md, deployed verbatim in the edition repos) gates its job on the action-translation label — the label set the action's pr-creator applies. Result: every resync PR created by the CLI fails the filter and Review Translations completes as skipped, silently. All six mini-wave PRs skipped review until the label was added by hand, which fired the labeled event and ran the reviews.

Options: (a) add action-translation to the CLI's label set so both write paths satisfy the template; (b) widen the template filter to match either label — but (a) keeps the template simple and the label contract single-valued.

Also noticed while debugging: docs/user/tutorials/resync-drifted.md tells users SOURCE_ONLY → forward -f <file>, but forward throws Target file not found … (use 'new' translation for missing targets) for missing targets (resyncSingleFile). The tutorial row should say init -f <file>. Happy to split this into its own issue if preferred.

Activity

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions