Skip to content

fix: SVC filters not applied to all imports when MICROSERVICE variant is present - #232

Merged
jimisola merged 3 commits into
mainfrom
fix/svc-filter-skips-imports-231
Mar 1, 2026
Merged

fix: SVC filters not applied to all imports when MICROSERVICE variant is present#232
jimisola merged 3 commits into
mainfrom
fix/svc-filter-skips-imports-231

Conversation

@jimisola

Copy link
Copy Markdown
Member

Summary

  • Fixes a bug where SVC filter traversal stopped processing import URNs after encountering the first MICROSERVICE variant, silently skipping all subsequent imports
  • One-character fix: breakcontinue in __process_svc_filters_per_urn, making it consistent with the already-correct __process_req_filters_per_urn

Fixes #231, refs #222.

Test plan

  • All existing unit tests pass (94 passed)
  • Manual verification with a system that has mixed MICROSERVICE and non-MICROSERVICE imports in the parsing graph

… present

When traversing the parsing graph for SVC filter processing, a break
statement caused the loop to exit on the first MICROSERVICE import URN,
silently skipping all subsequent import URNs regardless of their variant.

Change break to continue so MICROSERVICE URNs are individually skipped
and processing continues for all remaining imports, consistent with how
__process_req_filters_per_urn already handles this case.

Fixes #231, refs #222.
@jimisola jimisola self-assigned this Mar 1, 2026
@jimisola
jimisola enabled auto-merge (squash) March 1, 2026 09:06
@jimisola
jimisola disabled auto-merge March 1, 2026 14:18
@jimisola
jimisola merged commit 4832702 into main Mar 1, 2026
9 checks passed
@jimisola
jimisola deleted the fix/svc-filter-skips-imports-231 branch March 1, 2026 14:18
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.

bug: SVC filters not applied to all imports when a MICROSERVICE variant is present in the import graph

1 participant