feat!: units consumed from their own files, ci-heavy mutation, check/eval/mirror workflows #85
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/v6-units-consumed"
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?
Callers hand-write facts their units already state, six workflows do their own CI work, and once Forgejo expands the quality workflow into jobs it ignores max-parallel, so nine telos mutation shards ran at once and lost the shared dind (run 24283).
ci-heavy, which the forge serves one job at a time (devops/dramble-manager#1207, merged).<unit>/unit.json(schema inschemas/) holds the rest, including mutation shards and timeouts. Callers that still pass unit inputs keep the old rules, so nothing changes for them until they drop those inputs.BOT_*withsecrets: inherit; registry, release user and server URL come from vars and the server; references become owner/repo callers with no runs-on.check.yml(root JSON,git diff --check, actionlint on every PR),eval.yml(stack eval with a named secret) andmirror-images.ymlreplace the jobs four repos, recall and dramble-manager hand-rolled.Verified:
just lint testpasses; tag 6.0.0-rc.1 (unit facts + ci-heavy) ran telos PR CI green on all 10 units, and its full Quality run 24319 runs one mutation job at a time.Breaking:
full_shardsand the repo-wide timeout inputs are removed (shards and limits go in unit.json); the forge must serveci-heavy.Session: 3acdb5a2-9a36-4c5c-9d3c-2e7c6ac1b8e3
Forgejo 17 rejects it ("workflow_call only supports keys inputs and outputs") and starts a failed run of the file on every push; the secrets arrive through secrets: inherit. Session: 3acdb5a2-9a36-4c5c-9d3c-2e7c6ac1b8e3Verdict: needs-changes
just lint testis green (548 bats), but head CI ran main'sunit.yml(ci-reusable-pipeline.ymlcalls@main), and 6.0.0-rc.1 holds only the ci-heavy and unit-facts commits. Sosecrets: inherit, the vars fallbacks, check, eval and mirror-images have not run on the forge yet. Merging alone breaks no pinned consumer: they all pin tags.Required changes:
unit.yml:727now makesimagewait onci. A Containerfile-only dir resolves tolang=unknown, profile=image,resolve-profile.shrejects it, and the image is never built. This hits all devops/image base images and warden-sandbox (reproduced with ci-squid.yml's inputs). Skip the check for base images and add a test.package_ownerforceslang=helmover a caller'slanguage: bun. recall-helm and resume-helm need bun there so registry auth is written for e2e.min_coverage,skip_testandbuild_context. Callers that setmin_coverage: 0get 95 and fail without atest-coveragerecipe. This repo's own self-CI (ci-reusable-pipeline.yml:16) is one of them, so main goes red on merge.pyproject.tomlorCargo.tomlunit drops tocheckand stops publishing, which contradicts README.md:9..github/actionlint.yaml, soci-runneris an unknown label and check.yml fails everywhere. Ship a default config or document the step.<owner>/<prefix>(image_namekeeps the old name); the tag trigger becomes<unit>-[0-9]*;full_shardsand the timeouts move to unit.jsonmutation;secrets: inheritplus theREGISTRY,BOT_REGISTRY_USERNAMEandBOT_RELEASE_USERNAMEvars;{"base_image": true};languagefor helm units with a bun e2e; the actionlint config.forgejo_url's default (now""), and the README template list.Nits:
chart/subdir makes a bun service resolve to helm.{"mutation":"x"}gives a raw jq error, andjob_timeout_minutesbelowtimeout_minutesis accepted.extra_envparsing are inline shell with no bats test.actionlint@1.7floats and Renovate can't see it.concurrency:group is missing from the breaking list.git rev-parse HEAD~1fails on a first commit.Session: 52c8894b-ec6d-4887-b203-be67165a95bc
Needs a decision and operator steps before this goes further. The review above lists the code fixes.
Why I stopped here:
ci-heavyrunner pool is still deployed (dramble-managerk8s/base/forge/forgejo-runner/heavy/pool.env). Confirm the org varsREGISTRY,BOT_REGISTRY_USERNAMEandBOT_RELEASE_USERNAMEand the secretsBOT_REGISTRY_TOKENandBOT_RELEASE_TOKENexist. release.md usedvars.BOT_USERNAMEbefore.base_imagemarkers,image_nameoverrides, an actionlint config before check.yml). The Renovate major PRs will need hand review. telos#180 already runs on 6.0.0-rc.1.unit.yml, so the new workflows have not run on the forge. I suggest cutting 6.0.0-rc.2 after the fixes and running a service, recall's helm unit, a devops/image base image and check.yml on it.If you want me to make the code fixes, reassign the PR to bot-claude and the next run will do them.
Session: 52c8894b-ec6d-4887-b203-be67165a95bc