Skip to content

fix(workflows): step 9, keep the Fabrica checkout out of generate-check - #51

Open
seantronsen wants to merge 1 commit into
seantronsen/feat/release-attestationfrom
seantronsen/fix/codegen-lint
Open

seantronsen wants to merge 1 commit into
seantronsen/feat/release-attestationfrom
seantronsen/fix/codegen-lint

Conversation

@seantronsen

@seantronsen seantronsen commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Description

lint-codegen-fabrica fails on every caller, before it checks anything. It checks Fabrica out to fabrica/, inside the caller's work tree, so make generate-check sees an untracked fabrica/ and exits 2 ("Working tree must be clean"). Nobody noticed, because no repo called the reusable workflow until the testbed did (OpenCHAMI/github-actions-testbed#14).

  • lint-codegen-fabrica: adds /fabrica/ to .git/info/exclude after the Fabrica checkout.

Reproduced with the CI layout (Fabrica checked out inside the caller): generate-check exits 2 without the fix and 0 with it, and still fails when generated code has drifted.

Stacked on #50.

Testbed: OpenCHAMI/github-actions-testbed#14.

Checklist

  • My code follows the style guidelines of this project
  • I have added/updated comments where needed
  • I have added tests that prove my fix is effective or my feature works
  • I have run make test (or equivalent) locally and all tests pass
  • I have updated the relevant documentation (CLI examples, man pages, README, other docs, etc.)
  • DCO Sign-off: All commits are signed off (git commit -s) with my real name and email
  • REUSE Compliance:
    • Each new/modified source file has SPDX copyright and license headers
    • Any non-commentable files include a <filename>.license sidecar
    • All referenced licenses are present in the LICENSES/ directory

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Dependency update
  • Build system/CI

Comment thread .github/workflows/gpg-sign-artifacts.yml Dismissed
Comment thread .github/workflows/gpg-sign-artifacts.yml Dismissed
@seantronsen
seantronsen changed the base branch from main to seantronsen/feat/release-attestation October 20, 2026 16:54
@seantronsen seantronsen changed the title Seantronsen/fix/codegen lint fix(workflows): step 9, keep the Fabrica checkout out of generate-check Oct 20, 2026
@seantronsen
seantronsen added this pull request to stack #40 October 20, 2026 16:54
@seantronsen
seantronsen force-pushed the seantronsen/fix/codegen-lint branch from 82872b5 to 861e95d Compare October 20, 2026 16:55
@seantronsen seantronsen self-assigned this Oct 20, 2026
@seantronsen
seantronsen marked this pull request as ready for review October 20, 2026 17:18
@seantronsen seantronsen added this to the v4.0.0 milestone Oct 20, 2026
@synackd

synackd commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Want to see how this is tested in OpenCHAMI/github-actions-testbed#14 (comment).

@seantronsen
seantronsen force-pushed the seantronsen/fix/codegen-lint branch from 861e95d to 5d837a1 Compare November 2, 2026 21:08
@seantronsen
seantronsen force-pushed the seantronsen/fix/codegen-lint branch from 5d837a1 to e29f767 Compare November 2, 2026 21:34
@seantronsen

seantronsen commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor Author

@seantronsen

Copy link
Copy Markdown
Contributor Author

@synackd please review again when time is available.

@seantronsen
seantronsen force-pushed the seantronsen/fix/codegen-lint branch from e29f767 to b2395c0 Compare November 3, 2026 16:15
@seantronsen
seantronsen force-pushed the seantronsen/fix/codegen-lint branch 2 times, most recently from cc3397c to 8419209 Compare November 5, 2026 00:03

@synackd synackd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving based on scoped changes. Makefile stuff needs to be worked out still but I think this is ready.

Signed-off-by: Sean Tronsen <sean.tronsen@gmail.com>
@synackd
synackd force-pushed the seantronsen/fix/codegen-lint branch from 8419209 to 5465b70 Compare November 6, 2026 21:16
@synackd

synackd commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

After the rebase, this PR's head is 5465b701d85559086f6a9f5d075f8b5ba81e682f. The testbed PR (OpenCHAMI/github-actions-testbed#14) still pins lint-codegen-fabrica to the old 861e95d552181a730e085f487769f1c66696d813 commit.

The workflow file is byte-for-byte identical at both SHAs, so the prior passing run and deliberate-drift test still cover this change. Please update the testbed pin to the current head and rerun the job before merging.

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.

3 participants