Skip to content

test: collision resolver integration for dry-run and doctor#317

Merged
bguidolim merged 1 commit intomainfrom
autoagent/291-test-collision-resolver-dryrun-doctor
Apr 9, 2026
Merged

test: collision resolver integration for dry-run and doctor#317
bguidolim merged 1 commit intomainfrom
autoagent/291-test-collision-resolver-dryrun-doctor

Conversation

@bguidolim
Copy link
Copy Markdown
Collaborator

Summary

  • Adds CrossPackCollisionDryRunTests in LifecycleIntegrationTests — verifies dryRun with colliding hook destinations completes without error and writes no artifacts to disk, both from a clean state and after a prior configure
  • Adds collidingHookDestinationsResolvedByDoctor in DoctorRunnerIntegrationTests — configures two packs with the same hook destination at namespaced paths, then verifies doctor passes (i.e., FileExistsCheck looks at the resolver-namespaced paths, not the flat paths)

Closes #291

Test plan

  • swift test --filter CrossPackCollisionDryRunTests — 2 tests pass
  • swift test --filter collidingHookDestinationsResolvedByDoctor — 1 test passes
  • Full test suite (swift test) — 966 tests pass, 0 failures
  • swiftformat and swiftlint clean

… paths

- Add CrossPackCollisionDryRunTests verifying dryRun handles colliding hook destinations
- Add doctor test verifying FileExistsCheck uses resolver-namespaced paths

Closes #291
@bguidolim bguidolim merged commit 5885223 into main Apr 9, 2026
5 checks passed
@bguidolim bguidolim deleted the autoagent/291-test-collision-resolver-dryrun-doctor branch April 9, 2026 00:16
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.

Test collision resolver integration with doctor and dry-run paths

1 participant