Skip to content

test(scenario-100): config-derived Jenkins + CircleCI CI generation proof (#804)#47

Merged
intel352 merged 2 commits into
mainfrom
feat/cigen-jenkins-circleci-proof-804
May 31, 2026
Merged

test(scenario-100): config-derived Jenkins + CircleCI CI generation proof (#804)#47
intel352 merged 2 commits into
mainfrom
feat/cigen-jenkins-circleci-proof-804

Conversation

@intel352

Copy link
Copy Markdown
Contributor

Summary

PR 3 of 3 for workflow#804. Adds scenario 100 — a behavior proof that wfctl ci generate --platform jenkins and --platform circleci now produce config-derived CI output via cigen (RenderJenkins/RenderCircleCI), shipped in workflow v0.68.0 (PR #810).

What it proves (acceptance #1 — the CLI path)

test/run.sh runs the real wfctl ci generate against a config that exercises every cigen derivation and asserts the emitted Jenkinsfile / .circleci/config.yml contain: secret env wiring, wfctl migrations up (never wfctl ci run --phase migrate), a /healthz smoke check, a plan-guard that exit 1s on replace/destroy, and wfctl infra apply — and are free of the retired legacy stages (go test ./..., wfctl deploy --image, docker build) per ADR 0044. It also validates a step.ci_generate config targeting jenkins/circleci (config-shape; the behavior half of acceptance #2 is the ci-generator plugin's integration_test.go).

Demonstration-fidelity: executes the real artifact, not a reimplementation.

Evidence (real run, committed)

test/artifacts/last-run.log22 passed, 0 failed, 0 skipped against wfctl built from the workflow #804 branch:

PASS: wfctl ci generate --platform jenkins succeeded
PASS: jenkins: 'wfctl migrations up' migration step present
PASS: jenkins: credentials('APP_DB_URL') binding
PASS: jenkins: no retired legacy stages
PASS: wfctl ci generate --platform circleci succeeded
PASS: circleci: version 2.1
PASS: circleci: workflow requires: graph
...
Results: 22 passed, 0 failed, 0 skipped

Note

  • Scenario id 100 (the plan guessed 97; 97–99 were already taken — used the actual next-free slot).
  • The harness skips cleanly if no suitable wfctl is found; CI builds wfctl from the sibling workflow checkout (now on main with v0.68.0).
  • Copilot review intentionally not requested (Copilot review broken).

🤖 Generated with Claude Code

intel352 added 2 commits May 31, 2026 19:18
…of (#804)

Plan said id 97; 97-99 were already taken, used next-free 100. 22/22 local pass
against wfctl built from the workflow #804 branch (real wfctl ci generate).
…no app entry point; passes CI strict-validate glob)
@intel352 intel352 merged commit 91add6b into main May 31, 2026
10 checks passed
@intel352 intel352 deleted the feat/cigen-jenkins-circleci-proof-804 branch May 31, 2026 23:51
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