Skip to content

ci: Simplify validation gates#18

Closed
abdufelsayed wants to merge 4 commits into
mainfrom
feat/source-distribution-ci
Closed

ci: Simplify validation gates#18
abdufelsayed wants to merge 4 commits into
mainfrom
feat/source-distribution-ci

Conversation

@abdufelsayed

@abdufelsayed abdufelsayed commented Jun 27, 2026

Copy link
Copy Markdown
Owner

Simplify Awskit's validation gates so CI shows the actual commands and test lanes instead of routing repository policy through shell wrappers.

Required CI now has explicit lanes for repository hygiene, no-service correctness tests, documentation/example builds, local-service S3 integration tests, and per-package opam install/build/test matrices. Source distribution checks stay out of required CI and are documented as direct release-time dune-release commands.

This removes scripts/check.sh and scripts/release-env.sh. scripts/test.sh remains as the reported test runner where it adds useful behavior: durable logs, local MinIO lifecycle management, and captured test output for no-service, local-service, and stress test runs.

The Dune aliases and CI labels were renamed to describe what they run: @correctness, @integration, @stress, @s3-local-service, @s3-simulator, @s3-transfer-faults, @s3-domain-laws, @s3-protocol-laws, and @runtime-http-contracts.

A follow-up CI reliability fix configures the opam archive cache before dependency installs. The failed matrix jobs were dying while fetching upstream ptime, astring, and rresult archives, before any Dune package build or test command ran.

Validated locally with the pre-commit hook, including formatting, build, and test checks. Also checked workflow YAML parsing, shell syntax for scripts/test.sh, Dune rule resolution for the renamed aliases, and the opam archive-mirror command in a fresh opam root.

abdufelsayed and others added 2 commits June 27, 2026 14:40
Run the source distribution check as part of Required CI across pull requests,
main, release branches, tag pushes, and manual dispatch.

Retry opam install commands so transient source archive fetch failures do not
fail the gate before Awskit checks run.

Co-Authored-By: Codex <noreply@openai.com>
Remove the source distribution job from GitHub Actions so Required CI stays focused on package metadata, package matrices, docs/examples, no-network evidence, and MinIO evidence.

Keep scripts/check.sh source-distribution documented as a release-time local check for building and inspecting the source archive.

Co-Authored-By: Codex <noreply@openai.com>
@abdufelsayed abdufelsayed changed the title ci(release): Require source distribution checks ci(release): Keep source distribution local Jun 27, 2026
Replace the check.sh policy wrapper with direct opam and Dune commands in CI and release documentation.

Keep scripts/test.sh as the reported test runner for no-service, local-service, and stress test runs. Rename Dune aliases and CI titles so they describe the tests or build targets they run.

Co-Authored-By: Codex <noreply@openai.com>
@abdufelsayed abdufelsayed changed the title ci(release): Keep source distribution local ci: Simplify validation gates Jun 27, 2026
Configure the opam archive mirror before dependency installs so CI does not depend on every upstream source host being reachable during matrix runs.

The failed PR jobs died while fetching ptime, astring, and rresult archives before any dune package command ran.

Co-Authored-By: Codex <noreply@openai.com>
@abdufelsayed abdufelsayed deleted the feat/source-distribution-ci branch June 27, 2026 13:49
@abdufelsayed

Copy link
Copy Markdown
Owner Author

Replaced by #19 after renaming the head branch to feat/ci-cleanup.

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