feat(plugin): plugin ordering by vm-001 · Pull Request #289 · webhookx-io/webhookx

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Comments

Conversation

@vm-001

Copy link

Collaborator

@vm-001 vm-001 commented

Dec 23, 2025

edited

Loading

Summary

The plugin execution order determines whether the application works as expected.

This PR introduced the (Plugin) Iterator so that plugins can be executed in the expected order.

@codecov

Copy link

codecov bot commented

Dec 23, 2025

edited

Loading

Codecov Report

❌ Patch coverage is 84.68468% with 17 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
app/app.go 70.96% 5 Missing and 4 partials ⚠️
plugins/iterator.go 92.59% 2 Missing and 2 partials ⚠️
pkg/plugin/base.go 0.00% 2 Missing ⚠️
proxy/gateway.go 75.00% 1 Missing ⚠️
worker/worker.go 75.00% 1 Missing ⚠️
Flag Coverage Δ
integration 75.39% <84.68%> (+0.69%) ⬆️
integration-o11 39.26% <39.63%> (-0.07%) ⬇️
unit 11.74% <0.00%> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
constants/cache_key.go 100.00% <ø> (ø)
pkg/plugin/plugin.go 60.00% <ø> (ø)
plugins/basic-auth/plugin.go 100.00% <100.00%> (+18.18%) ⬆️
plugins/connect-auth/plugin.go 86.66% <100.00%> (+8.09%) ⬆️
plugins/function/plugin.go 92.00% <100.00%> (+9.39%) ⬆️
plugins/hmac-auth/plugin.go 100.00% <100.00%> (+12.50%) ⬆️
plugins/jsonschema_validator/plugin.go 75.55% <100.00%> (+5.78%) ⬆️
plugins/key-auth/plugin.go 100.00% <100.00%> (+8.00%) ⬆️
plugins/wasm/plugin.go 73.68% <100.00%> (+7.01%) ⬆️
plugins/webhookx_signature/plugin.go 100.00% <100.00%> (+9.09%) ⬆️
... and 5 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vm-001 vm-001 force-pushed the feat/plugin-ordering branch 10 times, most recently from c478292 to d7a1fdc Compare

December 23, 2025 09:53

@vm-001 vm-001 added this to the 1.0.0 milestone

Dec 24, 2025

@vm-001 vm-001 added the enhancement

New feature or request

label

Dec 24, 2025

Base automatically changed from feat/integration-auth-plugin to main

December 26, 2025 08:26

@vm-001 vm-001 force-pushed the feat/plugin-ordering branch 3 times, most recently from e8a5540 to 2d754bd Compare

December 26, 2025 08:47

@vm-001 vm-001 force-pushed the feat/plugin-ordering branch from 2d754bd to e26c171 Compare

December 26, 2025 08:51

@webhookx-x webhookx-x merged commit 143ab43 into main

Dec 26, 2025

9 checks passed

@webhookx-x webhookx-x deleted the feat/plugin-ordering branch

December 26, 2025 08:56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@webhookx-x webhookx-x webhookx-x approved these changes

Assignees

No one assigned

Labels

enhancement

New feature or request

Projects

None yet

Milestone

1.0.0

Development

Successfully merging this pull request may close these issues.

2 participants

@vm-001 @webhookx-x