-
Notifications
You must be signed in to change notification settings - Fork 41
fix: cost-limit ignore only Field Node named __schema
#772
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
Conversation
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #772 +/- ##
==========================================
+ Coverage 91.73% 91.82% +0.08%
==========================================
Files 17 17
Lines 375 379 +4
Branches 126 130 +4
==========================================
+ Hits 344 348 +4
Misses 31 31 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Thanks for fixing this. |
Looks like the release job ran but did not create a new version: https://github.com/Escape-Technologies/graphql-armor/actions/runs/14613041188/job/40994870116 |
@Gby56 can a release please be generated with this fix? |
Hi everyone! Sorry for the delay yes, we're planning to release the package today. |
@lkuechler it looks like the pushed version on npm is empty we're looking into it, can you confirm ? |
@Gby56 I think you are correct. It looks like it is missing the dist folder: https://www.npmjs.com/package/@escape.tech/graphql-armor-cost-limit/v/2.4.1?activeTab=code |
It looks like the latest auto-release had failed https://github.com/Escape-Technologies/graphql-armor/actions/runs/14727157621/job/41332468774 and we tried publishing manually. Any idea with this ? |
@Gby56 the initial release failed to complete successfully. However since the version was created in NPM, the files in that version cannot be changed. You need to bump the version again and release a new version. |
Ok will do that asap, hopefully the pipeline succeeds, we're not clear why this happened. |
Yes, I believe you cannot unpublish due to NPM policy of not allowing unpublishing of public packages relied on by others so deprecation is the only option. |
We've deprecated the broken builds sadly, and then tried to push new bumped version, the pipeline still seems broken. We're looking into this, the 404 is suspicious and the URL too. |
@charsleysa we're all good now, turns out the release pipeline broke due to the npm auth |
@Gby56 is there any chance this can be back ported to the v1.7 release? We can't update because we are still using Apollo 3 and won't be able to upgrade any time soon )': |
This PR fixes a bypass to the cost-limit plugin (in default settings) by skipping only nodes of type
Field
whenignoreIntrospection
is set.This will fix the following type of bypasses: