ci.yml is a standing red — prepares against upstream lnbits + poetry, can't import the aiolabs bunker surface #24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
.github/workflows/ci.ymlis the stock upstream lnbits-extension CI template. It does not fit this aiolabs fork:lnbits/lnbits/.github/actions/prepare@devand lints vialnbits/lnbits/.github/workflows/lint.yml@dev— i.e. upstreamgithub.com/lnbits/lnbits, which has none of the aiolabs bunker surface spirekeeper imports at module top:lnbits.core.services.nsec_bunker(NsecBunkerAdminClient,npub_to_hex,revoke_key_user, …) andlnbits.core.signers.remote_bunker.ensure_policy.poetry run pytest, but the repo's actual flow isuv+ the regtest container (/app/.venv/bin/python -m pytestagainst an aiolabs-lnbits mount).poetryisn't part of the dev setup.Symptom
Any module importing the aiolabs bunker APIs (e.g.
pairing.py) fails to import under upstream lnbits → the whole pytest session errors at collection → CI red. Thelint.yml@devupstream-lnbits lint job is similarly mismatched.Confirmed standing red, providing zero signal:
#21final commit9c5f07c→ci.ymlfailure (merged anyway)#23heada5efdf2→ci.ymlfailure…while the real suite is green (210 passed) in the regtest container against
aiolabs/lnbits. Reviewers currently have to know to ignore the red.Fix options (pick one)
aiolabs/lnbitsinstead oflnbits/lnbits, pinned to a commit ≥ the #55 merge (b5fba561) — the version spirekeeper now hard-requires. Needs the Forgejo Actions runner able to fetchgit.atitlan.io/aiolabs/lnbits.aiolabs/lnbits+ run pytest viauv(drop poetry), matching how the suite is actually run.aiolabs/lnbitsas a test dep and switchcustom-pytestto uv.Whichever path, pin the lnbits version to ≥ #55 so it tracks the runtime requirement spirekeeper main carries.
Related
aiolabs/lnbits#55(the bunker APIs spirekeeper requires),#21/#23(pairing).