Commit Graph

12 Commits

Author SHA1 Message Date
8473b9ca8d test: comprehensive coverage expansion for 1.9
Expand tests across three main areas:

1. **Host name/resolve tests** (10 new): auto-sequence naming,
   explicit override, whitespace rejection, UUID/name interchangeable
   lookup, suspend/resume/terminate via name, nonexistent error,
   resume-non-suspended no-op.

2. **Shared persistence suite** (14 new, shared by sqlite/postgres/
   in-memory): next_definition_sequence, get_workflow_instance_by_name,
   root_workflow_id round-trip, subscription token lifecycle, first
   open subscription, persist_workflow_with_subscriptions,
   mark_event_unprocessed, get_events filtering, batch
   get_workflow_instances, WorkflowNotFound, ensure_store_exists
   idempotency, execution pointer full round-trip, scheduled commands.
   Queue suite: 4 new. Lock suite: 3 new.

3. **Multi-step K8s integration test**: 4-step pipeline across 3
   different container images proving cross-image /workspace sharing
   through a SharedVolume PVC, bash shell override with pipefail +
   arrays, workflow.data env mapping, and output capture.
2026-04-09 15:48:24 +01:00
48e5d9a26f feat(persistence+k8s): root_workflow_id schema, PVC provisioning, name fallback, host name-or-UUID 2026-04-09 15:45:47 +01:00
883471181d fix(wfe-kubernetes): run scripts under /bin/bash for pipefail support
Kubernetes step jobs with a `run:` block were invoked via
`/bin/sh -c <script>`. On debian-family base images that resolves to
dash, which rejects `set -o pipefail` ("Illegal option") and other
bashisms (arrays, process substitution, `{1..10}`). The first line of
nearly every real CI script relies on `set -euo pipefail`, so the
steps were failing with exit code 2 before running a single command.

Switch to `/bin/bash -c` so `run:` scripts can rely on the bash
feature set. Containers that lack bash should use the explicit
`command:` form instead.
2026-04-07 18:55:10 +01:00
02a574b24e style: apply cargo fmt workspace-wide
Pure formatting pass from `cargo fmt --all`. No logic changes. Separating
this out so the 1.9 release feature commits that follow show only their
intentional edits.
2026-04-07 18:44:21 +01:00
51f2611e9d test(wfe-kubernetes): service provider integration tests with 100% coverage 2026-04-06 18:00:01 +01:00
e5db02b4f8 feat(wfe-kubernetes):
KubernetesServiceProvider for infrastructure services
2026-04-06 17:59:50 +01:00
8f3539ed34 refactor(wfe-kubernetes): add lazy client mode for factory-based step creation 2026-04-06 17:09:11 +01:00
a9b0993ffb test(wfe-kubernetes): integration tests against Lima k3s cluster 2026-04-06 16:42:15 +01:00
6a341e426c feat(wfe-kubernetes): KubernetesStep executor (StepBody impl) 2026-04-06 16:42:09 +01:00
85a83e7580 feat(wfe-kubernetes): log streaming and resource cleanup 2026-04-06 16:42:04 +01:00
d62dc0f349 feat(wfe-kubernetes): Job manifest builder and output parsing 2026-04-06 16:41:55 +01:00
1574342e92 feat(wfe-kubernetes): scaffold crate with config, client, and namespace modules 2026-04-06 16:41:48 +01:00