Skip to content

test(container): clean up tests and add integration CI workflow#18

Merged
jasoet merged 4 commits intomainfrom
fix/container-test-improvements
Mar 30, 2026
Merged

test(container): clean up tests and add integration CI workflow#18
jasoet merged 4 commits intomainfrom
fix/container-test-improvements

Conversation

@jasoet
Copy link
Copy Markdown
Owner

@jasoet jasoet commented Mar 30, 2026

Summary

  • Remove 3 dead-weight tests that tested Go stdlib or duplicated existing coverage
  • Add missing test cases: DAG cycle detection, wait strategy type coverage, negative concurrency behavior
  • Make integration test workflow IDs unique to prevent collisions on concurrent runs
  • Make sequential loop callCount use atomic.Int32 consistently with parallel tests
  • Add manual-trigger GitHub Actions workflow for integration tests with Podman on self-hosted runner

Test plan

  • All unit tests pass (task ci:test — 22 packages)
  • Linter clean (task lint — 0 issues)
  • Verify integration test workflow appears in GitHub Actions UI
  • Trigger integration test workflow manually with container scope

🤖 Generated with Claude Code

jasoet added 4 commits March 30, 2026 04:10
- Remove duplicate integrationMockWorker and TestWorkflowRegistration
- Remove TestContainerExecutionOutput_Fields (tests Go assignment)
- Remove TestHelperFunctions (tests Go stdlib)
- Add cyclic dependency test case to DAG validation
- Add TestBuildWaitStrategy_AllTypeStrings for comprehensive coverage
- Add TestParallelInput_NegativeConcurrency documenting current behavior
- Make sequential loop callCount use atomic.Int32 for consistency
- Make integration test workflow IDs unique with t.Name()
Adds workflow_dispatch-triggered GitHub Actions workflow for running
integration tests on local self-hosted runner with Podman support.
Supports selectable scope: all, container, function, datasync, store.
@jasoet jasoet merged commit f09985a into main Mar 30, 2026
1 check passed
@jasoet jasoet deleted the fix/container-test-improvements branch March 30, 2026 01:08
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