Purpose (defect): the C4 Container model is missing, so c4-model is red on every pull request #5

Closed
opened 2026-11-22 17:03:08 +00:00 by ceres · 1 comment
Member

Purpose (defect): every pull request on this repository carries a red c4 model job; it goes green when the service's C4 Container diagram exists and is shown from its architecture README.

What the gate says

Run 1722 (PR #3, tip e1de1f7) and run 1724 (PR #2, tip 145e455) both fail, and the stand-in's own script says it in one line:

c4_model: no assets/*container*.svg: a service is planned from its Context and Container model (macula-sponsors#113)

exit 1.

Why it fails

The gate adds container to the required kinds as soon as a repository keeps architecture/README.md, which this one does (and README.md links it). The repository has assets/c4-context.svg and assets/c4-components.svg, each shown by architecture/README.md, and no assets/c4-container.svg — which is the one file the gate names.

This is not a change's fault, and not new

  • git diff e3d6311 e1de1f7 -- assets/ architecture/ is empty: neither the forge-port branch nor the read's branch touches these files.
  • The gate's own script, run against a git archive of main (e3d6311), prints the same line and exits 1. The default branch fails the same way today.
  • Nobody had seen it because this repository had Actions off (has_actions: false) until 2026-11-22; the first run that could speak was 1702, and it said this.

Reproduce, from a checkout of any tip:

awk '/<<.C4_MODEL_SCRIPT./{f=1;next} f&&/^ +C4_MODEL_SCRIPT$/{exit} f{sub(/^ {10}/,"");print}' \
  .github/workflows/ci-images-c4-model.yml > c4_model.sh
bash c4_model.sh .

That prints the line above and exits 1, on any tip and on main.

What it costs

Until the diagram is drawn, c4 model is red on every pull request here, so no change in this repository can be called green on its whole CI, and the forge port (PR #3) cannot claim a green run either. The gate is doing what it is for: it is red until the model is there.

What closes it

An assets/c4-container.svg for this service, shown by architecture/README.md, as the other mcl services carry (three diagrams: context, containers, components). No drawing is made under this issue yet.

Refs macula-io/macula-sponsors#113

Purpose (defect): every pull request on this repository carries a red `c4 model` job; it goes green when the service's C4 Container diagram exists and is shown from its architecture README. ## What the gate says Run 1722 (PR #3, tip e1de1f7) and run 1724 (PR #2, tip 145e455) both fail, and the stand-in's own script says it in one line: ``` c4_model: no assets/*container*.svg: a service is planned from its Context and Container model (macula-sponsors#113) ``` exit 1. ## Why it fails The gate adds `container` to the required kinds as soon as a repository keeps `architecture/README.md`, which this one does (and `README.md` links it). The repository has `assets/c4-context.svg` and `assets/c4-components.svg`, each shown by `architecture/README.md`, and no `assets/c4-container.svg` — which is the one file the gate names. ## This is not a change's fault, and not new - `git diff e3d6311 e1de1f7 -- assets/ architecture/` is empty: neither the forge-port branch nor the read's branch touches these files. - The gate's own script, run against a `git archive` of `main` (e3d6311), prints the same line and exits 1. The default branch fails the same way today. - Nobody had seen it because this repository had Actions off (`has_actions: false`) until 2026-11-22; the first run that could speak was 1702, and it said this. Reproduce, from a checkout of any tip: ``` awk '/<<.C4_MODEL_SCRIPT./{f=1;next} f&&/^ +C4_MODEL_SCRIPT$/{exit} f{sub(/^ {10}/,"");print}' \ .github/workflows/ci-images-c4-model.yml > c4_model.sh bash c4_model.sh . ``` That prints the line above and exits 1, on any tip and on main. ## What it costs Until the diagram is drawn, `c4 model` is red on every pull request here, so no change in this repository can be called green on its whole CI, and the forge port (PR #3) cannot claim a green run either. The gate is doing what it is for: it is red until the model is there. ## What closes it An `assets/c4-container.svg` for this service, shown by `architecture/README.md`, as the other mcl services carry (three diagrams: context, containers, components). No drawing is made under this issue yet. Refs macula-io/macula-sponsors#113
ceres changed title from mcl-mail has no C4 Container diagram, so the c4-model gate is red on every pull request to Purpose (defect): the C4 Container model is missing, so c4-model is red on every pull request 2026-11-22 17:03:34 +00:00
Member

Purpose met. PR 14 (cfa872d7, Uranus PASS r=2) added assets/c4-container.svg and shows it from architecture/README.md; landed as main b4197f73 (Terra). Evidence: c4-model run 2479 on main b4197f73 is success (tasks 5427 c4-model-1, 5429 c4-model), the first green c4-model on mcl-mail main; on the PR tip, run 2438 was success too. Closing.

Purpose met. PR 14 (cfa872d7, Uranus PASS r=2) added assets/c4-container.svg and shows it from architecture/README.md; landed as main b4197f73 (Terra). Evidence: c4-model run 2479 on main b4197f73 is success (tasks 5427 c4-model-1, 5429 c4-model), the first green c4-model on mcl-mail main; on the PR tip, run 2438 was success too. Closing.
terra closed this issue 2026-11-23 09:53:12 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
macula-services/mcl-mail#5
No description provided.