Skip to content

test: roundtrip harness for chant migrate #93

Closed

Description

@lex00

Mirror lexicons/gitlab/scripts/import-gitlab-samples.sh: take every GitHub example in lexicons/github/examples/, run chant migrate --emit yaml, then run the GitLab parser back over the result to confirm the IR is stable (fixed-point: GH yaml → GitLab yaml → GitLab IR → GitLab yaml = same).

Optionally clone a small set of real public GitHub workflows (e.g. actions/runner, actions/upload-artifact, actions/setup-node repos themselves) and measure a pass-rate threshold, same shape as the existing gitlab harness.

Done when

  • lexicons/gitlab/scripts/migrate-samples.sh lands.
  • Asserts an 80% pass-rate threshold against the cloned corpus (matches existing import-gitlab-samples.sh convention).
  • Runs in CI on PRs touching migrate/.
  • Local-only mode runs against lexicons/github/examples/ (no network).

Depends on: #86.

Activity

  1. added
    enhancement
    on May 23, 2026
  2. lex00 commented on May 23, 2026

    @lex00
    ContributorAuthor

    Implemented in 93dcabb on feat/migrate-github-to-gitlab. PR #99 is open (draft); CI green (check / test / validate / link-check all pass). Awaiting merge.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions