Skip to content

fix: [NPM] account for default-drop ACLs in Windows tests - #4865

Queued
Isaiah Raya (rayaisaiah) wants to merge 1 commit into
masterfrom
isaiahraya/fix-npm-lite-windows-test-counts
Queued

Isaiah Raya (rayaisaiah) wants to merge 1 commit into
masterfrom
isaiahraya/fix-npm-lite-windows-test-counts

Conversation

@rayaisaiah

@rayaisaiah Isaiah Raya (rayaisaiah) commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Reason for Change:

Four NPM Lite Windows translation tests omitted the final default-drop ACL from their expected totals.

Update the expected counts and explicitly verify the final default-drop ACL and its direction. Existing allow-rule, exception-rule, priority, port-scope, and deduplication assertions remain unchanged.

Issue Fixed:

Incorrect ACL-count expectations in the Windows translation tests.

Related to #4823.

Requirements:

  • uses conventional commit messages
  • includes documentation (not applicable: test-only change)
  • adds unit tests (strengthens the existing assertions)
  • relevant PR labels added

Notes:

  • Full native Windows translation package: 35 tests passed using Microsoft Go 1.26.7.
  • Linux translation package passed.
  • No production code or pipeline changes.

Include the final default-drop ACL in expected totals and assert its direction while preserving the existing rule assertions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 34a65643-fec6-4741-af85-12ca9eeca2ba
@rayaisaiah
Isaiah Raya (rayaisaiah) requested a review from a team as a code owner September 14, 2026 20:47
@rayaisaiah Isaiah Raya (rayaisaiah) added the npm Related to NPM. label Sep 14, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No unresolved review issues remain, and the changes are limited to test expectations and assertions.

Pull request overview

Updates Windows NPM Lite translation tests to account for and verify final default-drop ACLs.

Changes:

  • Corrects expected ACL counts.
  • Adds assertions for default-drop ACL direction and placement.
  • Makes no production code changes.
File summaries
File Summary
npm/pkg/controlplane/translation/translatePolicy_windows_test.go Strengthens four Windows translation tests.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@rayaisaiah

Copy link
Copy Markdown
Contributor Author

/azp run Azure Container Networking PR

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@rayaisaiah
Isaiah Raya (rayaisaiah) added this pull request to the merge queue Sep 14, 2026
Any commits made after this event will not be merged.
@rayaisaiah
Isaiah Raya (rayaisaiah) removed this pull request from the merge queue due to a manual request Sep 14, 2026
@rayaisaiah
Isaiah Raya (rayaisaiah) added this pull request to the merge queue Sep 14, 2026
Any commits made after this event will not be merged.
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 15, 2026
@rayaisaiah
Isaiah Raya (rayaisaiah) added this pull request to the merge queue Sep 15, 2026
Any commits made after this event will not be merged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

npm Related to NPM.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants