Skip to content

fix: add AllTests Nuke target for unit + integration tests#4

Merged
ericburcham merged 29 commits into
developfrom
feature/movement-tracking-ui
Mar 13, 2026
Merged

fix: add AllTests Nuke target for unit + integration tests#4
ericburcham merged 29 commits into
developfrom
feature/movement-tracking-ui

Conversation

@ericburcham
Copy link
Copy Markdown
Owner

Summary

  • Added AllTests Nuke target that depends on both Test (unit) and IntegrationTest targets
  • Made AllTests the default Nuke target so nuke runs the full test suite
  • Updated CI workflow to invoke AllTests instead of Test
  • Updated CLAUDE.md and TDD skill to document the correct test invocation

Test plan

  • Run nuke locally and verify both unit and integration tests execute
  • Verify CI workflow runs both test categories on push
  • Confirm nuke Test still runs only unit tests when invoked directly
  • Confirm nuke IntegrationTest still runs only integration tests when invoked directly

🤖 Generated with Claude Code

Eric Burcham and others added 29 commits March 11, 2026 16:27
…tion

- Publish NominationSubmitted (Contracts.Messages) instead of NominationCreated
  so the saga actually starts when a nomination is created
- Add BalanceAdjustmentCompleted handler and correlation to saga
- Add NominationId to BalanceAdjustmentCompleted event for saga correlation
- Remove orphaned MidstreamHub.Nominations.Messages package
- Create nsb schema in all migration job init containers so NServiceBus
  SQL Persistence can create its tables via EnableInstallers()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Create nsb schema and NominationFulfillmentSaga persistence table via
Fluent Migrator instead of relying on EnableInstallers() and init
container scripts. Follows the same two-project pattern (Migrations +
Migrations.Runner) as the other services.

- New MidstreamHub.NServiceBus.Migrations with M0001_CreateNsbSchema
- New MidstreamHub.NServiceBus.Migrations.Runner with nsb VersionTable
- New K8S job: nservicebus-migrations
- Tiltfile: standalone docker_build/k8s_resource, API deps updated
- Removed nsb schema creation from service init containers

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace the Movements placeholder with a full-featured page:
- Data table with 5s polling so movements appear automatically
- Right-side slide-in drawer showing full movement details and measurement data
- Inline confirm form for Delivered-status movements (PUT /api/movements/{id}/confirm)
- Movement-specific status badge colors (Scheduled=blue, InTransit=purple, Delivered=orange, Confirmed=green, Rejected=red)
- Dashboard wired with real movement counts and activity feed events

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…configmap)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20-task plan across 3 workstreams: Accounting service backend (CLEAN
architecture, NServiceBus handlers, migrations, K8S/Tilt), saga steps
3-6 completion, and Accounting UI + Dashboard update.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ed event

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…num, repository interface

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…djustment

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…djustment, completion

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ariance coloring

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…gress, Complete

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…s, DTOs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…letion paths

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ds, activity feed

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…minationsApiClient

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…le, version metadata

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…itiateBalanceAdjustment

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…es, solution registration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ss, Completed transitions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The default Nuke target only ran unit tests (Category=Unit), silently
skipping all integration tests. Add an AllTests target that depends on
both Test and IntegrationTest, make it the default, and update CI
workflow and Claude configuration to use it.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…usBadge types

Enable full saga demo flow by adding BeginTransit and DeliverMovement
commands/handlers/endpoints so movements can transition through
Scheduled -> InTransit -> Delivered -> Confirmed. Localize all
DateTime.UtcNow to DateTime.Now since all containers run on the local
demo machine. Relax nomination date validator to allow today's date.
Fix StatusBadge CI build by adding BalancePeriodStatus to the type union.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ericburcham ericburcham merged commit e49b827 into develop Mar 13, 2026
6 checks passed
@ericburcham ericburcham deleted the feature/movement-tracking-ui branch March 13, 2026 19:56
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