Fix jwt unit tests and add metrics integration test#698
Conversation
…mage name before committing
WalkthroughThe PR adds comprehensive metrics exposure and testing for gateway components. New configuration files establish Copilot guidelines and a setup workflow. Integration tests verify Prometheus metrics endpoints on gateway-controller (9091) and policy-engine (9003), including format validation and specific metric assertions. JWT auth token issuer validation is enhanced to treat empty-issuer key managers as wildcards. Go version is bumped to 1.25.1. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧹 Recent nitpick comments
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (9)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-12-19T06:57:38.504ZApplied to files:
🧬 Code graph analysis (2)gateway/it/steps_metrics.go (2)
gateway/it/suite_test.go (1)
🔇 Additional comments (13)
✏️ Tip: You can disable this entire section by setting Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
Purpose
Goals
Approach
User stories
Documentation
Automation tests
Security checks
Samples
Related PRs
Test environment
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Chores
✏️ Tip: You can customize this high-level summary in your review settings.