Skip to content

fix: move akto plugin under src/plugins so its imports resolve#1724

Open
AnayGarodia wants to merge 1 commit into
Portkey-AI:2.0.0from
AnayGarodia:fix-akto-plugin-path-1674
Open

fix: move akto plugin under src/plugins so its imports resolve#1724
AnayGarodia wants to merge 1 commit into
Portkey-AI:2.0.0from
AnayGarodia:fix-akto-plugin-path-1674

Conversation

@AnayGarodia

Copy link
Copy Markdown

Fixes #1674

On the 2.0.0 branch the akto plugin lives at the repo-root plugins/akto/, but src/plugins/index.ts imports it as ./akto/scan and its own sources import ../types and ../utils. Those relative imports only resolve under src/plugins/ (which is where types.ts and utils.ts live), so on a clean checkout rollup cannot resolve the akto module and docker build fails.

This moves plugins/akto/ to src/plugins/akto/ (a plain git mv, no code changes) so src/plugins/index.ts's ./akto/scan import and akto's ../types / ../utils imports all resolve, matching every other plugin under src/plugins/. The existing scan.test.ts moves with it and now sits alongside the code it tests.

Copilot AI review requested due to automatic review settings July 8, 2026 06:59

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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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