Skip to content

chore(ci): package the Mule application on pull requests - #14

Merged
brunosouzas merged 3 commits into
mainfrom
chore/ab245-reference-ci
Nov 2, 2026
Merged

brunosouzas merged 3 commits into
mainfrom
chore/ab245-reference-ci

Conversation

@brunosouzas

@brunosouzas brunosouzas commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Plan
E1 Repository: ~/code/personal/06-labs-examples/mulesoft-patterns-examples (personal)
E2 Stack: Mule 4, MUnit, Maven, GitHub Actions | Delivery: E | Model: reference | Article: none | Base: main | Checks: mvn -B clean package -DskipMunitTests (new CI), mvn clean test locally | Deliver and verify: nothing is deployed; CI green on the merge commit, and the paths and requests.http endpoints the articles cite still resolve on main | Lines to add: Model, Data, Article, Build/Test/Run locally; Trivial removed; Deliver and verify rewritten
E3 Size: small: pipeline and documentation only: a new CI workflow and AGENTS.md lines; no behaviour changes
E4 Card: AB#245 (reference repositories: model and CI)
E5 Consumers: none
E6 Merge: level 2 (Bruno): the change adds or changes the Delivery/Model/Article lines of AGENTS.md (reserved items) | delegation: none
E7 Skills: engineering, documentation, mulesoft, security (workflow permissions)
E8 Questions: none

What changed: New .github/workflows/ci.yml (job build): on pull_request and push to main, Temurin 17.0.21, Maven 3.9.11 (sha512 checked), mvn -B -ntp clean package -DskipMunitTests; actions pinned by SHA, permissions: contents: read, concurrency per ref (a new push cancels only a superseded pull request run; runs on main always finish), 20-minute timeout. AGENTS.md declares Model: reference, Data: none, Article: none, Build/Test/Run locally lines, Deliver and verify nothing is deployed; CI green on the merge commit, and the paths and requests.http endpoints that 50-writing/solid-in-mulesoft/ and integration-patterns-in-mulesoft/ cite still resolve on main; the obsolete Trivial: line is removed; rules keep "merges stay with Bruno" and add the article- tag rule and the articles that cite it.
Spec: no spec: no behaviour changes (documentation and pipeline only)
S1 Checks: mvn -B clean package -DskipMunitTests with an empty settings.xml and a fresh local repository (Maven 3.9.11, Temurin 17.0.21) -> BUILD SUCCESS; actionlint 1.7.12 .github/workflows/ci.yml -> no findings; CI build: pass (1m45s, run 41453126945); after review round 1 (8006ae4): actionlint -> no findings, CI build -> pass (20s, run 41457392579), GitGuardian -> pass
S2 Review: review pending (parent runs it)
S3 Docs: AGENTS.md
S4 Preview: n/a: no site or visual package change
S5 Merge: Bruno
Decisions taken: MUnit (with its 80% coverage gate) is not in CI: it needs MuleSoft Enterprise credentials. Article: none: the repository is cited by solid-in-mulesoft/ and integration-patterns-in-mulesoft/ but was not made for one article (reference model).
Questions: none

Before the merge the parent agent applies the model protection (scripts/repo-protection.py --model mulesoft-patterns-examples --check build --apply, ruleset 'model: pull requests'); the Model line is backed by it.

Refs AB#245

S2 Review: one round, fresh reviewer, across the 8 AB#245/AB#244 PRs; this PR's findings fixed as proposed (fixes not re-reviewed)
S5 Merge: Bruno

mvn package with MUnit skipped: MUnit needs MuleSoft Enterprise
credentials this public workflow does not have, so it stays local.

Refs AB#245
Model: reference, Data and Article lines, Build/Test/Run locally lines;
the obsolete Trivial line removed; Deliver and verify is CI green on
the merge commit.

Refs AB#245
@brunosouzas
brunosouzas marked this pull request as ready for review November 2, 2026 14:01
@brunosouzas
brunosouzas merged commit 3d25e2a into main Nov 2, 2026
2 checks passed
@brunosouzas
brunosouzas deleted the chore/ab245-reference-ci branch November 2, 2026 14:02
@brunosouzas

Copy link
Copy Markdown
Owner Author

After merge
S6 Delivery: nothing deployed (reference); CI on the merge commit in main -> green
S7 Vault: none; card: AB#245 (and AB#244 for the Article line)
S9 Cleanup: worktree and local branch removed
S10 Process: none

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