Skip to content

refactor: make Orchestrator implementation details internal#1696

Merged
JamieMagee merged 1 commit intomainfrom
jamiemagee/access-modifiers-orchestrator
Mar 6, 2026
Merged

refactor: make Orchestrator implementation details internal#1696
JamieMagee merged 1 commit intomainfrom
jamiemagee/access-modifiers-orchestrator

Conversation

@JamieMagee
Copy link
Copy Markdown
Member

Summary

Make 8 classes internal in the Orchestrator project.

Changes

Converters:

  • CommaDelimitedConverter, KeyValueDelimitedConverter, SemicolonDelimitedConverter

CLI helpers:

  • ArgumentHelper, IArgumentHelper

Concrete service implementations (interfaces remain public):

  • DetectorProcessingService → IDetectorProcessingService
  • DetectorRestrictionService → IDetectorRestrictionService
  • DefaultGraphTranslationService → IGraphTranslationService

Kept public

  • ServiceCollectionExtensions.AddComponentDetection() — primary DI entry point
  • ScanExecutionService / IScanExecutionService — sbom-tool instantiates directly
  • ScanCommand — sbom-tool instantiates directly
  • ScanSettings, BaseSettings, LoggingEnricher, DetectorRestrictions
  • All experiment types (used by component-detection-internal)
  • All service interfaces
  • DetectorRunResult, DetectorProcessingResult — exposed in public interface signatures

Stacked on #1695

Part of #455

@JamieMagee JamieMagee requested a review from a team as a code owner March 6, 2026 05:07
@JamieMagee JamieMagee requested review from brettfo and removed request for a team March 6, 2026 05:07
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.0%. Comparing base (aeb08db) to head (355692a).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@     Coverage Diff      @@
##   main   #1696   +/-   ##
============================
============================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

jasonpaulos
jasonpaulos previously approved these changes Mar 6, 2026
@JamieMagee JamieMagee force-pushed the jamiemagee/access-modifiers-common branch from 0bb1f7f to 545a7a2 Compare March 6, 2026 21:21
Base automatically changed from jamiemagee/access-modifiers-common to main March 6, 2026 21:34
@JamieMagee JamieMagee dismissed jasonpaulos’s stale review March 6, 2026 21:34

The base branch was changed.

Make 8 classes internal in the Orchestrator project:

- Converter classes: CommaDelimitedConverter, KeyValueDelimitedConverter,
  SemicolonDelimitedConverter
- CLI helpers: ArgumentHelper, IArgumentHelper
- Concrete service implementations: DetectorProcessingService,
  DetectorRestrictionService, DefaultGraphTranslationService

Kept public: ServiceCollectionExtensions, ScanExecutionService, ScanCommand,
ScanSettings, LoggingEnricher, DetectorRestrictions, all experiment types,
all service interfaces, DetectorRunResult, DetectorProcessingResult.

Part of #455
@JamieMagee JamieMagee force-pushed the jamiemagee/access-modifiers-orchestrator branch from ceb93da to 355692a Compare March 6, 2026 22:20
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 6, 2026

👋 Hi! It looks like you modified some files in the Detectors folder.
You may need to bump the detector versions if any of the following scenarios apply:

  • The detector detects more or fewer components than before
  • The detector generates different parent/child graph relationships than before
  • The detector generates different devDependencies values than before

If none of the above scenarios apply, feel free to ignore this comment 🙂

@JamieMagee JamieMagee enabled auto-merge (squash) March 6, 2026 22:22
@JamieMagee JamieMagee merged commit c8690e2 into main Mar 6, 2026
26 checks passed
@JamieMagee JamieMagee deleted the jamiemagee/access-modifiers-orchestrator branch March 6, 2026 22:44
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.

2 participants