Skip to content

Move type, lint, and format checks into their own workflow - #2263

Merged
kmcginnes merged 1 commit into
mainfrom
checks-workflow
Sep 24, 2026
Merged

kmcginnes merged 1 commit into
mainfrom
checks-workflow

Conversation

@kmcginnes

Copy link
Copy Markdown
Collaborator

Description

Moves the checks job (lockfile drift, types, lint, format) out of unit.yml into a new checks.yml workflow. The job itself is unchanged.

This sets up the next PR, which skips unit tests and the Docker test build for docs-only changes. Formatting has to keep running on those PRs because it checks markdown, so it needs its own workflow without the path filter.

Validation

  • pnpm check:format passes on the workflow files.
  • This PR's own run shows a separate Checks workflow alongside Unit Tests.

Related Issues

None.

Check List

  • I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • I have verified pnpm checks passes with no errors.
  • I have verified pnpm test passes with no failures.
  • I have covered new added functionality with unit tests if necessary.
  • I have updated documentation if necessary.

@kmcginnes
kmcginnes marked this pull request as ready for review September 24, 2026 23:35
@kmcginnes
kmcginnes added this pull request to stack #2265 September 24, 2026 23:36
@kmcginnes
kmcginnes merged commit 9cc134a into main Sep 24, 2026
10 checks passed
@kmcginnes
kmcginnes deleted the checks-workflow branch September 24, 2026 23:41
kmcginnes added a commit that referenced this pull request Sep 24, 2026
## Description

Moves the `checks` job (lockfile drift, types, lint, format) out of
`unit.yml` into a new `checks.yml` workflow. The job itself is
unchanged.

This sets up the next PR, which skips unit tests and the Docker test
build for docs-only changes. Formatting has to keep running on those PRs
because it checks markdown, so it needs its own workflow without the
path filter.

## Validation

- `pnpm check:format` passes on the workflow files.
- This PR's own run shows a separate Checks workflow alongside Unit
Tests.

## Related Issues

None.

### Check List

- [x] I confirm that my contribution is made under the terms of the
Apache 2.0 license.
- [x] I have verified `pnpm checks` passes with no errors.
- [x] I have verified `pnpm test` passes with no failures.
- [ ] I have covered new added functionality with unit tests if
necessary.
- [ ] I have updated documentation if necessary.
kmcginnes added a commit that referenced this pull request Sep 24, 2026
## Description

About a third of recent commits on `main` (20 of the last 60) touch only
docs or agent files, and each of those PRs still waits through the unit
test shards and the Docker test build. This adds `paths-ignore` to
`unit.yml` (PR and push) and `test_build_docker.yml` (PR) for:

- `docs/**`
- `**/*.md`
- `.agents/**`
- `.claude/**`

The Checks workflow from the previous PR has no filter, so markdown
formatting still runs on every PR. Nothing under `packages/` or the
Dockerfile reads a `.md` file, and `main` has no required status checks,
so skipped workflows don't block merging. Dependency review also skips
on docs-only PRs, which is fine since they can't change dependencies.

Stacked on #2263. I'll rebase once it merges.

## Validation

- Workflow YAML parses and passes `pnpm check:format`.
- This PR changes workflow files, so its own run triggers every
workflow. The real check is the next docs-only PR, which should show
only Checks and CodeQL.

## Related Issues

None.

### Check List

- [x] I confirm that my contribution is made under the terms of the
Apache 2.0 license.
- [x] I have verified `pnpm checks` passes with no errors.
- [x] I have verified `pnpm test` passes with no failures.
- [ ] I have covered new added functionality with unit tests if
necessary.
- [ ] I have updated documentation if necessary.
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