Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: check plugin order #804

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

ci: check plugin order #804

wants to merge 4 commits into from

Conversation

spacewander
Copy link
Member

No description provided.

@github-actions github-actions bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 21, 2024
Copy link

codecov bot commented Nov 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.75%. Comparing base (5affbd8) to head (653c2f5).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #804      +/-   ##
==========================================
- Coverage   87.07%   85.75%   -1.33%     
==========================================
  Files         145      141       -4     
  Lines        8715     8341     -374     
==========================================
- Hits         7589     7153     -436     
- Misses        877      933      +56     
- Partials      249      255       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: spacewander <[email protected]>
@spacewander spacewander marked this pull request as ready for review November 21, 2024 13:06
Comment on lines 18 to 21
# TODO: This file only show the plugin's registried order. We should consider a fact that
# some plugins may not be executed in the DecodeHeaders phase. For example, a plugin called when
# processing response which is registried in an early place is executed after a plugin called
# when processing request which is registried in a later place.
Copy link
Contributor

Choose a reason for hiding this comment

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

This is the version I modified. WDYT?

This file only shows the plugin's registered order. Some plugins may not be executed in the DecodeHeaders phase. 

For example, the plugin called when processing the response but is registered earlier is executed behind the plugin invoked when processing the request but is registered later.

Copy link
Member Author

Choose a reason for hiding this comment

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

@zll600
Updated. Thank you!

api/pkg/plugins/plugins_test.go Show resolved Hide resolved
spacewander and others added 3 commits November 27, 2024 10:41
Signed-off-by: spacewander <[email protected]>
Signed-off-by: spacewander <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants