Skip to content

JS: Use question-mark variant in all overlay annotations - #20985

Merged
redsun82 merged 2 commits into
github:rc/3.20from
asgerf:js/overlay-local-optional
Dec 8, 2025
Merged

JS: Use question-mark variant in all overlay annotations#20985
redsun82 merged 2 commits into
github:rc/3.20from
asgerf:js/overlay-local-optional

Conversation

@asgerf

@asgerfasgerf commented Dec 8, 2025

Copy link
Copy Markdown
Contributor

Replaces overlay[local] with overlay[local?] and likewise overlay[caller] -> overlay[caller?] to avoid breaking changes for now.

Note: this PR is targeting the release branch

@asgerfasgerf added the no-change-note-required This PR does not need a change note label Dec 8, 2025
@asgerf
asgerf changed the base branch from codeql-cli-2.23.7 to rc/3.20December 8, 2025 13:11
@asgerf
asgerf marked this pull request as ready for review December 8, 2025 13:23
@asgerf
asgerf requested a review from a team as a code ownerDecember 8, 2025 13:23
CopilotAI review requested due to automatic review settings December 8, 2025 13:23

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates overlay annotations across the JavaScript QL library by adding the question-mark suffix (?) to make them optional variants, avoiding breaking changes in the rc/3.20 release.

  • Systematically replaces overlay[local] with overlay[local?] and overlay[caller] with overlay[caller?]
  • Changes are purely mechanical and affect only annotation syntax, not code logic

Reviewed changes

Copilot reviewed 73 out of 73 changed files in this pull request and generated no comments.

Show a summary per file
FileDescription
InlineSummaries.qllUpdated overlay annotation for test summary class
StmtContainers.qllUpdated module and method overlay annotations
Overlay.qllUpdated overlay annotations for overlay detection predicates
CachedStages.qllUpdated overlay annotations for cached stage modules
BasicBlockInternal.qllUpdated module and dominator predicate overlay annotations
ApiGraphModelsSpecific.qllUpdated overlay annotations for API graph model predicates
ModelsAsData.qllUpdated overlay annotation for summarized callable class
UriLibraries.qllUpdated overlay annotation for query string class
Templating.qllUpdated module overlay annotation
PropertyProjection.qllUpdated module overlay annotation
NodeJSLib.qllUpdated overlay annotations for Node.js-related predicates
LodashUnderscore.qllUpdated overlay annotations for Lodash/Underscore classes and predicates
LazyCache.qllUpdated module overlay annotation
AngularJSCore.qllUpdated overlay annotation for Angular reference predicate
Ssa.qll (sharedlib)Updated module overlay annotation
VariableOrThis.qllUpdated module overlay annotation
VariableCapture.qllUpdated module overlay annotation
FlowSummaryPrivate.qllUpdated module overlay annotation
FlowSteps.qllUpdated overlay annotation for identity function step
DataFlowPrivate.qllUpdated module and inline predicate overlay annotations
DataFlowNode.qllUpdated module overlay annotation
Contents.qllUpdated module and content set predicate overlay annotations
AdditionalFlowInternal.qllUpdated overlay annotations for flow synthesis predicates
AccessPaths.qllUpdated module overlay annotation
AbstractValuesImpl.qllUpdated module overlay annotation
Sources.qllUpdated module overlay annotation
Refinements.qllUpdated module overlay annotation
Nodes.qllUpdated module overlay annotation
InferredTypes.qllUpdated module overlay annotation
FlowSummary.qllUpdated module overlay annotation
DataFlow.qllUpdated module overlay annotation
CustomAbstractValueDefinitions.qllUpdated module overlay annotation
Configuration.qllUpdated overlay annotations for pseudo-property predicates
AdditionalFlowSteps.qllUpdated overlay annotation for additional flow step class
AbstractValues.qllUpdated module overlay annotation
YAML.qllUpdated module overlay annotation
XML.qllUpdated module overlay annotation
Variables.qllUpdated module overlay annotation
TypeScript.qllUpdated module overlay annotation
TypeAnnotations.qllUpdated module overlay annotation
Tokens.qllUpdated module overlay annotation
Templates.qllUpdated module overlay annotation
Stmt.qllUpdated module overlay annotation
SSA.qllUpdated module overlay annotation
Regexp.qllUpdated module overlay annotation
Promises.qllUpdated overlay annotations for promise pseudo-field predicates
NodeJS.qllUpdated overlay annotations for Node.js module class and predicates
Modules.qllUpdated module overlay annotation
Locations.qllUpdated module and location comparison overlay annotations
Lines.qllUpdated module overlay annotation
JSX.qllUpdated module overlay annotation
JSON.qllUpdated module overlay annotation
JSDoc.qllUpdated module overlay annotation
HTML.qllUpdated module overlay annotation
GlobalAccessPaths.qllUpdated module and access path predicate overlay annotations
Functions.qllUpdated module overlay annotation
Files.qllUpdated module overlay annotation
Externs.qllUpdated module overlay annotation
Extend.qllUpdated module overlay annotation
Expr.qllUpdated module and exception handling overlay annotations
Errors.qllUpdated module overlay annotation
ES2015Modules.qllUpdated module overlay annotation
E4X.qllUpdated module overlay annotation
DefUse.qllUpdated module overlay annotation
Constants.qllUpdated module overlay annotation
Comments.qllUpdated module overlay annotation
Closure.qllUpdated module overlay annotation
Classes.qllUpdated module overlay annotation
CFG.qllUpdated module overlay annotation
AST.qllUpdated module and flow method overlay annotations
AMD.qllUpdated module overlay annotation
UnusedIndexVariable.qllUpdated module overlay annotation
ExprHasNoEffect.qllUpdated module overlay annotation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@asgerf
asgerf changed the base branch from rc/3.20 to codeql-cli-2.23.7December 8, 2025 13:42
@redsun82
redsun82 changed the base branch from codeql-cli-2.23.7 to rc/3.20December 8, 2025 14:26
@redsun82
redsun82 merged commit b5f705a into github:rc/3.20Dec 8, 2025
20 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

JSno-change-note-requiredThis PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@asgerf@redsun82