Repository navigation
fix(sections): import UndeclaredPolicyList where the secrets engine uses it - #477
Merged
Merged
Conversation
Contributor
File size check0 over a hard cap (fails), 10 warning(s).
Split the file, wrap the line, shorten or exempt the comment, or list the path in 5 managed file(s) skipped; repo-platform owns them. |
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The import resolves the existing type reference and follows the repository's dependency boundaries.
Review effort: Balanced
Findings: None
What changed in this PR
Restores the secrets engine's missing type binding after two refactors merged.
Changes:
- Imports
UndeclaredPolicyListfrom its owning module to fix compilation without changing runtime behavior.
| File | Description |
|---|---|
src/sections/shared/secrets-engine.ts |
Adds the missing type-only import. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before
After
How
secrets-engine.tsaroundnamed-scope.ts, refactor(sections): give secretValuesOf a typed signature and drop the container checks it made necessary #468 typedsecretValuesOfwithUndeclaredPolicyList.import typeline fromsrc/types.tsrestores the binding.named-scope.ts,keyed-values.ts,module.ts), an edgearchitecture.ymlalready allows.Proof
build:check, andpackage-smoke(the bundled declarations) green.test/sections/secrets-engine.test.tsandtest/sections/environments.Technical details
src/sections/shared/secrets-engine.ts(+1 line, no deletions).src/internal.tsalso re-exports the type, butsections -> internalis not an allowed edge inarchitecture.yml, so the import goes to the owner module.