- Environment
- Code and infrastructure delivery workflows
- My contribution
- Wrapper implementation and merge verification
The problem
Validation was moving out of GitHub Actions into a local workflow. The goal was to change where checks ran while retaining the coverage and release controls that already mattered: source contracts, compatibility, packaging, infrastructure, rollback, and signing.
The boundary between validation and execution was equally important. A successful test run needed to be useful on its own, without publishing a package, triggering a release, or changing live infrastructure.
The implementation
I implemented a local wrapper, updated the tests and documentation, and retained manual packaging, signing, publishing, and deployment workflows.
- Parallel checks
- Run independent validation work concurrently within the wrapper.
- Pinned dependencies
- Use defined dependency versions so the execution environment is reproducible.
- Isolated environments
- Keep test execution separate from the working environment and include cleanup.
- Timing reports
- Make execution time visible rather than assuming an optimization produced a measurable gain.
Preserving the checks
The wrapper retained multiple kinds of evidence instead of reducing validation to a single build command:
- Source and compatibility: source-contract checks and Windows PowerShell compatibility checks.
- Packaging and operations: package and runbook checks, alongside retained release, signing, and rollback coverage.
- Behavior and infrastructure: mock-based tests and Terraform validation across multiple stacks.
Expected offline-dependent skips were documented separately. A skipped check was not counted as a pass, and Terraform validation was not treated as evidence that infrastructure had been deployed.
Closing the verification loop
- Validate the integrated source. Incorporate the current main branch and run the relevant checks against that combined state.
- Merge the completed work. Keep the validation change separate from the manual release and deployment workflows.
- Compare after the merge. Verify that the merged source matched the source that had actually been tested.
This last comparison mattered: a passing pre-merge run would not, on its own, establish that the final merged source was the same.
The result
The integrated validation work passed its recorded source-contract checks, additional suites, and Terraform validation. Completed changes were committed, pushed, and merged, and the merged source was verified against the tested source.
The merges did not trigger releases, deployments, live infrastructure changes, or GitHub Actions runs. Validation moved locally while publication remained a separate, deliberate action.
Engineering takeaway: Repeatability is more than rerunning a command. It includes controlled inputs, visible exceptions, preserved coverage, and evidence that the code being delivered is the code that was tested.