github-actions[bot]
47ea9b49cc
update codeql documentation
2026-07-08 15:46:33 +00:00
Michael B. Gale
e4a7b4ff51
Merge pull request #22109 from github/release-prep/2.26.0
...
Release preparation for version 2.26.0
codeql-cli/latest
codeql-cli/v2.26.0
2026-07-02 13:02:15 +01:00
Michael B. Gale
66ddf3b4c6
Remove unnecessary changenote for the hotfix
2026-07-02 12:58:05 +01:00
github-actions[bot]
1af9609eed
Release preparation for version 2.26.0
2026-07-02 11:43:30 +00:00
Michael B. Gale
79eeaa2028
Merge pull request #22108 from hvitved/python-hot-fix
...
Python: release hotfix
2026-07-02 12:31:20 +01:00
Tom Hvitved
2308981665
Python: Update inline test expectations
2026-07-02 11:54:36 +02:00
Tom Hvitved
32181cd7e8
Python: Improve some flow summaries
2026-07-02 11:54:28 +02:00
Michael B. Gale
f4d6f582c8
Merge pull request #22096 from github/revert-22059-release-prep/2.26.0
...
Revert "Release preparation for version 2.26.0"
2026-07-01 22:11:34 +01:00
Taus
b12c67f231
Merge pull request #22092 from github/tausbn/python-hotfix-disable-instance-field-step
...
Python: hotfix - disable instanceFieldStep to avoid type-tracker blowup
2026-06-30 21:53:06 +02:00
Mario Campos
41f2e7b6f6
Revert "Release preparation for version 2.26.0"
2026-06-30 13:21:27 -05:00
Taus
f251a572e1
Python: hotfix - disable instanceFieldStep to avoid type-tracker blowup
...
The `instanceFieldStep` disjunct of `TypeTrackingInput::levelStepCall`
that was added in 7.2.0 uses `classInstanceTracker(cls)` -- which is
itself a type-tracker -- inside `levelStepCall`. That creates a
structural mutual recursion between the main type-tracker fixpoint and
`classInstanceTracker`, causing the type-tracker delta to blow up to
~100M tuples per iteration on some OOP-heavy Python codebases.
Verified on the python/mypy database: SSRF query wall time goes from
~12s before the offending commit to >40 minutes after it.
This hotfix temporarily drops the `instanceFieldStep` disjunct and
keeps only `inheritedFieldStep`, which does not pull on the call
graph and is well-behaved (verified at ~12s on mypy). The
`instanceFieldStep` helper predicate itself is kept in place, and
the `levelStepCall` body has a commented-out call to it so the
change is trivial to re-enable once the recursion issue is properly
addressed.
2026-06-30 14:41:12 +00:00
Mario Campos
7c73de0e3c
Merge pull request #22059 from github/release-prep/2.26.0
...
Release preparation for version 2.26.0
2026-06-25 10:31:50 -05:00
github-actions[bot]
237c5639e2
Release preparation for version 2.26.0
2026-06-25 15:27:00 +00:00
Asger F
73ad826d44
Merge pull request #22016 from asgerf/commonast-rebased5
...
Unified/swift: new AST spec and Swift mappings
2026-06-25 16:59:29 +02:00
Michael B. Gale
cc83856c5e
Merge pull request #22058 from github/codeql-cli-2.25.6
...
Mergeback #21947 into `main`
2026-06-25 15:57:19 +01:00
Geoffrey White
0fbab225ce
Merge pull request #22056 from geoffw0/codequal
...
Rust: Remove some redundant imports / casts
2026-06-25 15:52:15 +01:00
Geoffrey White
ca09327384
Rust: Remove more pointless imports.
2026-06-25 14:51:13 +01:00
Jeroen Ketema
969ab78225
Merge pull request #22048 from github/jketema/kotlin1-pytest
...
Kotlin: Update tests to use new `kotlin_2_3_20` fixture
2026-06-25 15:01:33 +02:00
Paolo Tranquilli
b67644c127
Merge pull request #21986 from JarLob/userpermissions
...
Actions: Fix dominates() false positive in reusable workflows
2026-06-25 14:44:17 +02:00
Geoffrey White
20b4cbe72e
Rust: Remove pointless imports of codeql.util.Unit.
2026-06-25 12:51:43 +01:00
Tom Hvitved
b582844f96
Merge pull request #22049 from hvitved/csharp/dead-store-cleanup
...
C#: Remove redundant code from `DeadStoreOfLocal.ql`
2026-06-25 13:51:21 +02:00
Geoffrey White
b9a132dac6
Rust: Remove redundant cast.
2026-06-25 12:51:18 +01:00
Asger F
89cd6770ae
Potential fix for pull request finding
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-06-25 13:18:27 +02:00
Jeroen Ketema
9b2e6077f1
Kotlin: Address review comments
2026-06-25 12:58:27 +02:00
Tom Hvitved
929fa1e977
C#: Remove redundant code from DeadStoreOfLocal.ql
2026-06-25 08:50:40 +02:00
Mario Campos
3324d07985
Merge pull request #22046 from github/mario-campos/mirror-maven-central/maven
...
Use Maven Central mirror in Java Maven integration tests
2026-06-24 16:42:29 -05:00
Jeroen Ketema
f6b3d1eade
Kotlin: Remove unneeded pytest imports
2026-06-24 23:34:39 +02:00
Jeroen Ketema
402c0f89bc
Kotlin: Update tests to use new kotlin_2_3_20 fixture
2026-06-24 22:50:32 +02:00
Mario Campos
af11f6e618
Use Maven Central mirror in Java Maven integration tests
2026-06-24 17:45:27 +00:00
Jaroslav Lobačevski
7fc4b4856e
Fix formatting
2026-06-24 17:17:16 +00:00
Paolo Tranquilli
4b8cb3ffac
Fix false negative for branching nested reusable workflows
...
The previous fix required all outermost callers of a reusable workflow to
be protected, which collapsed distinct safe/unsafe inner paths that share
the same outermost caller. Track protection per caller chain instead: a
node inside a reusable workflow is only considered protected if there is
no unprotected caller path up to an outer workflow.
Adds a branching nested regression test where one inner job is protected
by a permission check and a sibling inner job is not.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-06-24 18:22:01 +02:00
Jeroen Ketema
b8c78fdcb7
Merge pull request #21970 from github/andersfugmann/kotlin-2.4-v2
...
Kotlin: add Kotlin 2.4.0 support
2026-06-24 16:40:40 +02:00
Anders Schack-Mulligen
bcf71d0db6
Merge pull request #22043 from github/copilot/tweak-ruby-ast-caseexpr
...
Ruby: synthesize implicit `true` value for valueless `CaseExpr`
2026-06-24 15:43:04 +02:00
Anders Schack-Mulligen
5047bee432
Ruby: Adjust qldoc.
2026-06-24 13:36:54 +02:00
Anders Schack-Mulligen
29eba2f38e
Merge pull request #22017 from aschackmull/cfg/catchclause-pattern
...
Cfg: Change AST/CFG for CatchClauses to use a pattern.
2026-06-24 13:21:54 +02:00
copilot-swe-agent[bot]
4fa8a9fb1d
Synthesize true value for valueless Ruby CaseExpr
2026-06-24 10:36:23 +00:00
Michael Nebel
a24d222d96
Merge pull request #22011 from michaelnebel/csharp/removeafallback
...
C#: Re-factor feed handling logic into its own component.
2026-06-24 11:58:56 +02:00
Anders Schack-Mulligen
bcfee987f0
Apply suggestion from @aschackmull
2026-06-24 10:26:26 +02:00
Anders Schack-Mulligen
e1d4fe8605
C#: Accept test changes.
2026-06-23 14:42:20 +02:00
Anders Schack-Mulligen
11725e8921
Java: Accept test changes.
2026-06-23 14:28:44 +02:00
Anders Schack-Mulligen
41297c588c
Cfg: Change AST/CFG for CatchClauses to use a pattern.
2026-06-23 14:28:44 +02:00
yoff
53cae687f7
Merge pull request #21931 from github/yoff/python-shared-cfg-loop-else
...
Shared CFG: add defaulted getWhileElse/getForeachElse to AstSig
2026-06-23 14:25:16 +02:00
Anders Schack-Mulligen
cfbf4a3927
Merge pull request #22037 from github/copilot/update-csharp-extractor-catch-clause
...
C# extractor: extract `catch(ExceptionType)` type as `TypeAccess` instead of `TypeMention`
2026-06-23 14:21:43 +02:00
Jaroslav Lobačevski
31f6e713c5
Fix "The variable event is only used in one side of disjunct."
2026-06-23 12:06:01 +00:00
copilot-swe-agent[bot]
b254aa7e0b
C#: Extract catch(Ex) type as TypeAccess instead of TypeMention
2026-06-23 13:55:39 +02:00
Jaroslav Lobačevski
e2347a5c7d
Fix for independent checks
2026-06-23 11:52:11 +00:00
yoff
d26102b263
Merge pull request #21920 from github/yoff/python-flow-py-namespace
...
Python: qualify Flow.qll's AST references with Py:: prefix
2026-06-23 13:20:26 +02:00
yoff
73ab3e6888
Update shared/controlflow/codeql/controlflow/ControlFlowGraph.qll
...
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com >
2026-06-23 12:41:02 +02:00
yoff
15cbbb82eb
Shared CFG: add defaulted getLoopElse to AstSig
...
Adds a new defaulted signature predicates to the shared CFG library:
- getLoopElse: `else` block of a loop statement, if
any (used by Python's `while-else` / `for-else` constructs).
The predicate defaults to `none()`, so behaviour is unchanged for any
language that doesn't override it (verified by re-running
java/ql/test/library-tests/controlflow/).
The Make0 succession rules are extended:
- WhileStmt/ForeachStmt: route the loop-exit edge through the else
block before reaching the after-position.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-06-23 12:41:02 +02:00
yoff
7d95024487
Apply suggestions from code review
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-06-23 12:36:53 +02:00