The Core dependency points at a dead host, and the lock still points at GitHub #147
Labels
No labels
area: api
area: auth
area: build
area: cache
area: ci
area: compare
area: model
area: provenance
area: rite
backport
blocked
breaking
confirmed
dependencies
duplicate
epic
invalid
needs-info
needs-triage
php
priority: high
priority: low
priority: medium
regression
type: chore
type: correction
type: docs
type: enhancement
type: feature
type: fix
type: perf
type: refactor
type: security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Directorium/Api#147
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?
CI has been red here since 2026-07-12. Until today that was hidden behind two infrastructure faults — the runner could not fetch
shivammathur/setup-php, and adeploy.ymlthat is not valid YAML failed a check on every push (fixed in273d897). With both cleared,ci / checkran for the first time in three weeks and found a real problem:composer validate --strictis the first step of the job, so nothing after it has run since — not the lint, not PHPStan, not PHPUnit.Two faults, one commit
fdaf5a0"chore: point the Core composer dependency at Forgejo" changed exactly one line and nothing else:1. That host does not exist.
The estate moved off
manlycucumber.comtoconditor.dev/ite.ggin July 2026. Forgejo isgit.conditor.devpublicly,10.0.2.21:3000on the LAN. A sweep of everycomposer.json,composer.lockandpackage.jsonacross all 38 estate repos found this as the only remaining reference to the old domain.2.
composer.lockwas never regenerated, which is the error CI reports — and it means the lock still resolves Core from GitHub, not from Forgejo at all:So the commit's stated intent — point Core at Forgejo — did not take effect.
composer.jsonnames a dead host, the lock names GitHub, and the two disagree, which is precisely what--strictis complaining about.The fix
It needs an environment with composer and network reach to Forgejo, which is why this is a report rather than a patch — there is no PHP toolchain on the host that found it. Worth confirming that a private Forgejo repo is reachable by whatever credential CI has before assuming the URL swap alone is enough; if it is not, the repo may need to be public, or the workflow needs a token.
Related
273d897— the invaliddeploy.yml, fixed here and inDirectorium/OrdoandDirectorium/Site.8c154c8—workflow_dispatchonci.yml, so a build can be re-run without a commit invented to push the button.Directorium/Core's owndevelopis green, so Core itself is fine.Confirmed independently from the Core side today, and the right fix has changed since this was written.
Re-verified:
composer.jsonstill namesgit.manlycucumber.com;composer.lockstill carries"url": "https://github.com/DirectoriumApp/Core.git"at"reference": "42ef21b…";composer validate --strictis stillci.yml's first step, so it still gates everything behind it. Same toolchain constraint here — no PHP, no Composer, so this stays a report rather than a patch.What's new:
Directorium/Corecutv0.1.0today (7416bbd, tagged 2026-08-05, release automation moved to git-cliff in #508). So the lock no longer has to chasedev-develop. Pinning a released tag is the better answer now:That trades an unpinnable moving branch for a real version constraint, and it's worth deciding in this issue rather than regenerating the lock against
dev-developand revisiting later.Two consequences worth flagging before someone runs the update:
This is not only a host fix. The lock pins Core at
42ef21b, hundreds of commits behind. Regenerating it pulls in the entire v1.2 Office/text layer — the additiveofficeblock on the day contract, and the whole per-annum Little Office. The live API currently serves none of that. So the first greenci / checkhere is also the first evidence the Api survives the office work; expect to actually read the PHPUnit output, not just watch it go green.The contract is additive, so this should hold —
officewas added underSHAPE_VERSION 1.1.0with the frozen key-set pinned byContractShapeTest, andCoreGatewaypasses Core's day contract through untouched. Worth confirming rather than assuming, since it has never once been exercised against a Core this new.Unrelated but adjacent, from
Api/src/Engine/CoreGateway.php:46:MIN_YEAR = 1583against Core's proven floor of 1584 (Core's ownresolveYear(1583)is tracked asDirectorium/Core#415). Whether a 1583 request errors cleanly or reaches into pre-floor territory is still unverified, and a lock update would be a natural moment to test it.This issue has no milestone; given it is the sole thing keeping Api CI red, it probably wants one.