| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Nice! I checked the version numbers and they all look good. Consider adding a unit test that when a language isn't in OVERLAY_ANALYSIS_CODE_SCANNING_FEATURES overlay isn't enabled (see the existing tests in src/config-utils.test.ts). Otherwise this looks good to merge.
Sorry, something went wrong.
| // Verify that a language without a per-language overlay feature flag cannot have | ||
| // overlay analysis enabled, even when the base overlay feature flag is on. | ||
| // Using cpp here as it doesn't currently have overlay support — update this if | ||
| // cpp gains overlay support. | ||
| test.serial( | ||
| checkOverlayEnablementMacro, | ||
| "No overlay analysis for language without per-language overlay feature flag", |
There was a problem hiding this comment.
We could potentially write another test that checks that this stays up to date, specifically checking that C++ doesn't get added to OVERLAY_ANALYSIS_FEATURES. I'm OK with merging as is though.
Sorry, something went wrong.
…anguage feature flags
Oops, a failed amended commit - I only intended to update the comment |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Add per-language minimumVersion values to the overlay analysis feature flags, so that each language's overlay feature is only enabled when the CLI version supports it.
Also remove feature flags for languages not yet GA or in staff-ship (actions, cpp, rust, swift)
Risk assessment
For internal use only. Please select the risk level of this change:
Which use cases does this change impact?
Workflow types:
Products:
Environments:
How did/will you validate this change?
If something goes wrong after this change is released, what are the mitigation and rollback strategies?
How will you know if something goes wrong after this change is released?
Are there any special considerations for merging or releasing this change?
Merge / deployment checklist