KEMBAR78
Add cel tests for upstreamsettingspolicy by sarthyparty · Pull Request #3742 · nginx/nginx-gateway-fabric · GitHub
Skip to content

Conversation

@sarthyparty
Copy link
Contributor

Proposed changes

Problem: There were no CEL tests for UpstreamSettingsPolicy

Solution: I added it

Testing: Describe any testing that you did.
Closes #3672

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto main
  • I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

Release notes

If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.


@sarthyparty sarthyparty requested a review from a team as a code owner August 14, 2025 23:28
@github-actions github-actions bot added the tests Pull requests that update tests label Aug 14, 2025
@codecov
Copy link

codecov bot commented Aug 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.87%. Comparing base (e0607ee) to head (1e2b0f1).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3742      +/-   ##
==========================================
- Coverage   86.90%   86.87%   -0.04%     
==========================================
  Files         128      128              
  Lines       16201    16201              
  Branches       62       62              
==========================================
- Hits        14079    14074       -5     
- Misses       1949     1954       +5     
  Partials      173      173              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sarthyparty sarthyparty requested a review from shaun-nx August 15, 2025 17:11
@sarthyparty sarthyparty force-pushed the tests/cel-upstreamsettingspolicy branch from 51b7ad2 to 27429bd Compare August 15, 2025 17:12
Copy link
Contributor

@shaun-nx shaun-nx left a comment

Choose a reason for hiding this comment

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

Looks great to me. Great job @sarthyparty! 🎉

@sarthyparty sarthyparty requested a review from salonichf5 August 18, 2025 18:39
Copy link
Contributor

@salonichf5 salonichf5 left a comment

Choose a reason for hiding this comment

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

🚀

@sarthyparty sarthyparty enabled auto-merge (squash) August 18, 2025 18:45
@sarthyparty sarthyparty merged commit af41450 into main Aug 19, 2025
44 checks passed
@sarthyparty sarthyparty deleted the tests/cel-upstreamsettingspolicy branch August 19, 2025 16:40
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in NGINX Gateway Fabric Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Pull requests that update tests

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Add CEL test for UpstreamSettingsPolicy CRD

3 participants