Skip to content

Migrate workflow callers to ITensorActions v2#32

Merged
mtfishman merged 1 commit into
mainfrom
mf/v2-rename
May 4, 2026
Merged

Migrate workflow callers to ITensorActions v2#32
mtfishman merged 1 commit into
mainfrom
mf/v2-rename

Conversation

@mtfishman

Copy link
Copy Markdown
Member

Summary

Manual application of the ecosystem-wide v2 sweep, with this repo's existing repo-specific inputs (xvfb, apt-packages, etc.) preserved. The standard MassApplyPatch sweep was applied to every other ecosystem repo, but skipped here because that patch overwrites caller workflow files entirely and would clobber the repo-specific reusable inputs needed for headless OpenGL CI.

Changes

  • Workflow top-level name: and primary inner-job display name: match the file's basename (e.g. IntegrationTest.ymlname: "IntegrationTest").
  • Job keys are kebab-case lowercase, with brand names (tagbot, compathelper) treated as single words.
  • uses: ITensor/ITensorActions/.../X.yml@v1@v2.
  • FormatCheckComment.yml workflow_run trigger updated from workflows: ["Format Check"] to ["FormatCheck"].
  • Explicit permissions: blocks added to every caller workflow that was missing one (matching the ITensorPkgSkeleton template shape).

Preserved repo-specific inputs

The following remain unchanged:

  • Tests.yml reusable inputs: apt-packages, test-prefix, extra-env, upload-artifacts-path. These set up xvfb + OpenGL packages so GLMakie tests can run headlessly on Linux.
  • Documentation.yml reusable inputs: apt-packages, doc-prefix, plus the os: "ubuntu-22.04" runner pin.
  • Tests.yml OS matrix restricted to ubuntu-latest only (macOS/Windows GitHub runners do not have working OpenGL drivers).

The os: "ubuntu-22.04" Documentation pin can probably be removed in a follow-up since v2 of the reusable fixes the xvfb-run shell-quoting regression that originally motivated it. Keeping the pin defensively for now.

Same shape as the ecosystem-wide v2 sweep, applied manually here so
the existing repo-specific xvfb / OpenGL inputs in Tests.yml and
Documentation.yml are preserved (the standard sweep patch overwrites
caller files entirely and would clobber them).

Changes:
- Workflow `name:` / job display `name:` match filename basename
  (e.g. `IntegrationTest.yml` -> `name: "IntegrationTest"`).
- Job keys kebab-case lowercase; brand names like `tagbot`,
  `compathelper` treated as single words.
- `uses: ITensorActions/.../X.yml@v1` -> `@v2`.
- `FormatCheckComment.yml` workflow_run trigger from
  `["Format Check"]` to `["FormatCheck"]`.
- Explicit `permissions:` blocks added to every caller workflow that
  was missing one (matching the ITensorPkgSkeleton template shape).
- Repo-specific `apt-packages`, `test-prefix`, `doc-prefix`,
  `extra-env`, `upload-artifacts-path`, and the
  `os: ubuntu-22.04` Documentation pin are preserved.
@mtfishman mtfishman enabled auto-merge (squash) May 4, 2026 01:58
@mtfishman mtfishman merged commit a66d939 into main May 4, 2026
9 checks passed
@mtfishman mtfishman deleted the mf/v2-rename branch May 4, 2026 04:08
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.

1 participant