Skip to content

fix(template): GitLab CI — pyright libatomic + decouple maintenance jobs#75

Merged
fbidu merged 1 commit into
mainfrom
fix/gitlab-ci-libatomic-and-needs
Jun 3, 2026
Merged

fix(template): GitLab CI — pyright libatomic + decouple maintenance jobs#75
fbidu merged 1 commit into
mainfrom
fix/gitlab-ci-libatomic-and-needs

Conversation

@fbidu

@fbidu fbidu commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Two issues found running the generated GitLab CI on a real runner during the end-to-end demo:

  1. type-check fails on the slim image — pyright's bundled Node can't start: libatomic.so.1: cannot open shared object file. python:*-slim lacks it. Install libatomic1 in that job's before_script.
  2. Maintenance jobs gated by the test stagecopier-update and renovate were skipped whenever type-check/test failed, so a failing project test suite would silently block template and dependency updates. Add needs: [] so they run independently.

Verified: rendered .gitlab-ci.yml parses, type-check installs libatomic1, both maintenance jobs have needs: [].

🤖 Generated with Claude Code

Two issues found running the generated GitLab CI on a real runner:

- `type-check` failed because pyright's bundled Node can't start on the
  slim image (`libatomic.so.1: cannot open shared object file`). Install
  libatomic1 in that job's before_script.
- `copier-update` and `renovate` (maintenance stage) were skipped whenever
  the test stage failed, so a failing project test suite would silently
  block template/dependency updates. Add `needs: []` so they run
  independently of the test stage.

Both found via the end-to-end GitLab demo.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@fbidu fbidu merged commit 08f391f into main Jun 3, 2026
6 checks passed
@fbidu fbidu deleted the fix/gitlab-ci-libatomic-and-needs branch June 3, 2026 12:46
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