Skip to content

fix(ci): build the package without re-running the selftest - #13

Merged
phmatray merged 1 commit into
mainfrom
fix/package-skips-the-selftest
Sep 4, 2026
Merged

fix(ci): build the package without re-running the selftest#13
phmatray merged 1 commit into
mainfrom
fix/package-skips-the-selftest

Conversation

@phmatray

@phmatray phmatray commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

v0.4.0 published with no package: the job died in check(), which runs bin/aikit-selftest.

40 échec(s) sur 61 vérifications
==> ERROR: A failure occurred in check().

It needs tmux, sqlite, gh and a session. In a build container it fails for want of an environment, not of correctness.

The selftest is not being skipped. It is its own job in ci.yml, has to be green before anything reaches main, and passed on #11. Running it a second time somewhere it structurally cannot work only ever produces a false red — and a false red here means a release with no package, which is the bug this feature exists to fix.

check() stays in the PKGBUILD so a manual build on a real machine still gets it. Only the container skips it, and the comment says why this repo's copy of the job differs from the other four.

🤖 Generated with Claude Code

https://claude.ai/code/session_01SYBhT1xfp3MQ1w3687F4Mp

v0.4.0 published with no package: the job failed in check(), which runs
bin/aikit-selftest. In a build container 40 of its 61 checks fail for want of
tmux, sqlite, gh and a session -- for want of an environment, not for want of
correctness.

The selftest is not being skipped. It is its own job in ci.yml and has to be
green before anything reaches main; it passed on the PR that added this package.
Running it a second time somewhere it structurally cannot work only ever produces
a false red, and a false red on the packaging job means a release with no
package -- which is the whole bug this feature exists to fix.

check() stays in the PKGBUILD: someone building by hand on a real machine has the
environment and should get the check. Only the container skips it, and the
comment says why this repo's copy of the job differs from the other four.

A test pins both halves: --nocheck in the workflow, and aikit-selftest still a
job in ci.yml.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SYBhT1xfp3MQ1w3687F4Mp
@phmatray
phmatray merged commit f21feab into main Sep 4, 2026
2 checks passed
@phmatray
phmatray deleted the fix/package-skips-the-selftest branch September 4, 2026 23:59
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