| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
This PR refactors feature-flag evaluation to support CCR by splitting feature checks into an offline-only implementation and an API-backed implementation, and updating actions/tests to initialize feature flags via a new initFeatures factory.
Changes:
Copilot reviewed 17 out of 17 changed files in this pull request and generated 2 comments.
Show a summary per file| File | Description |
|---|---|
| src/feature-flags.ts | Introduces OfflineFeatures, changes Features to extend it, and adds initFeatures factory for CCR-aware initialization. |
| src/upload-sarif-action.ts | Switches feature-flag initialization from new Features(...) to initFeatures(...). |
| src/start-proxy-action.ts | Switches to initFeatures(...) and types features as FeatureEnablement. |
| src/setup-codeql-action.ts | Switches feature-flag initialization to initFeatures(...). |
| src/init-action.ts | Switches to initFeatures(...) and types features as FeatureEnablement. |
| src/init-action-post.ts | Switches feature-flag initialization to initFeatures(...). |
| src/analyze-action.ts | Switches feature-flag initialization to initFeatures(...). |
| src/autobuild.ts | Switches feature-flag initialization to initFeatures(...) for the C++ autobuild feature check. |
| src/feature-flags.test.ts | Adds tests for initFeatures and updates setup helper to use the factory. |
| src/diff-informed-analysis-utils.test.ts | Updates test to construct features via initFeatures(...). |
| lib/upload-sarif-action.js | Generated JS updated to reflect TS refactor and new initFeatures. |
| lib/start-proxy-action.js | Generated JS updated to reflect TS refactor and new initFeatures. |
| lib/setup-codeql-action.js | Generated JS updated to reflect TS refactor and new initFeatures. |
| lib/init-action.js | Generated JS updated to reflect TS refactor and new initFeatures. |
| lib/init-action-post.js | Generated JS updated to reflect TS refactor and new initFeatures. |
| lib/autobuild-action.js | Generated JS updated to reflect TS refactor and new initFeatures. |
| lib/analyze-action.js | Generated JS updated to reflect TS refactor and new initFeatures. |
Sorry, something went wrong.
It doesn't need to be in there since it doesn't depend on the API itself and call `getDefaultCliVersionFromFlags` directly
There was a problem hiding this comment.
Only minor suggestions, otherwise looks good to me, so leaving the approval here
Sorry, something went wrong.
|
With the big, CLI-attached release out of the way, I'll merge this now for the next release. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR accomplishes two things:
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