Skip to content

fix: recover PR #374 changes (Common breaker adapter)#375

Merged
RicherTunes merged 2 commits intomainfrom
fix/recover-pr374-changes
Jan 17, 2026
Merged

fix: recover PR #374 changes (Common breaker adapter)#375
RicherTunes merged 2 commits intomainfrom
fix/recover-pr374-changes

Conversation

@RicherTunes
Copy link
Owner

Summary

PR #374 was targeting feat/breaker-registry-seam which was merged into main moments before #374 was merged. This caused the #374 changes to be orphaned.

This PR recovers those changes by cherry-picking commit 22a7da3.

Changes recovered

  • BrainarrCircuitBreakerAdapter.cs - adapter to Common's AdvancedCircuitBreaker
  • CommonBreakerRegistry.cs - registry using Common's breaker
  • Updated BrainarrOrchestratorFactory.cs to use new registry
  • Updated BreakerRegistryInjectionTests.cs
  • Updated Common submodule reference

🤖 Generated with Claude Code

RicherTunes and others added 2 commits January 16, 2026 22:10
…ker (WS4.2 PR2) (#374)

* feat(resilience): adapt Brainarr breaker to Common AdvancedCircuitBreaker

* test(resilience): update DI seam tests for CommonBreakerRegistry

* test(orchestrator): inject breaker registry in direct-construction tests

* test(orchestrator): inject breaker registry in remaining direct-construction tests

* test(orchestrator): add breaker registry injection tripwires

* fix(ci): prevent flaky file-locking in dotnet test

Root cause: Pre-test cleanup was deleting bin/obj directories, forcing
dotnet test to rebuild. This caused parallel MSBuild file locking on
Common submodule's .deps.json files.

Fix:
- Remove `rm -rf Brainarr.Tests/bin Brainarr.Tests/obj` from pre-test cleanup
- Add `--no-build` to all dotnet test commands (Linux unit, Linux provider-contract, Windows unit)

This ensures tests use pre-built binaries from the Build step, eliminating
rebuild-induced file contention.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* ci: reduce transient dotnet file-lock failures in Test and Coverage

* fix(ci): remove trailing whitespace breaking dotnet test command

The backslash followed by trailing spaces on line 136 caused bash to
pass extra arguments to MSBuild, triggering MSB1008 "Only one project
can be specified" error.

Also cleaned up excessive spacing in other test commands.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
@RicherTunes RicherTunes force-pushed the fix/recover-pr374-changes branch from 2b26347 to b71e746 Compare January 17, 2026 03:18
@RicherTunes RicherTunes merged commit b3aca37 into main Jan 17, 2026
21 of 22 checks passed
RicherTunes added a commit that referenced this pull request Feb 17, 2026
Picks up:
- #383: fix(ci): Windows credential issue in change detection step
- #367: deps: coverlet.collector 6.0.4 → 8.0.0
- #370: deps: publicapigenerator.tool 11.4.6 → 11.5.4
- #371: deps: Spectre.Console 0.50.0 → 0.54.0
- #375: deps: xunit 2.9.2 → 2.9.3

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
RicherTunes added a commit that referenced this pull request Feb 17, 2026
Picks up:
- #383: fix(ci): Windows credential issue in change detection step
- #367: deps: coverlet.collector 6.0.4 → 8.0.0
- #370: deps: publicapigenerator.tool 11.4.6 → 11.5.4
- #371: deps: Spectre.Console 0.50.0 → 0.54.0
- #375: deps: xunit 2.9.2 → 2.9.3

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
RicherTunes added a commit that referenced this pull request Feb 17, 2026
Picks up:
- #383: fix(ci): Windows credential issue in change detection step
- #367: deps: coverlet.collector 6.0.4 → 8.0.0
- #370: deps: publicapigenerator.tool 11.4.6 → 11.5.4
- #371: deps: Spectre.Console 0.50.0 → 0.54.0
- #375: deps: xunit 2.9.2 → 2.9.3

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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