Skip to content

Commit a255f05

Browse files
Copilotdata-douser
andcommitted
Remove all PrintAST and codeql test extract references per new requirement
Co-authored-by: data-douser <[email protected]>
1 parent b5eb0bf commit a255f05

File tree

4 files changed

+0
-7
lines changed

4 files changed

+0
-7
lines changed

.github/instructions/javascript_cap_ql.instructions.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,12 @@ This file contains instructions for working with CodeQL query (`.ql`) and librar
4343
- ALWAYS create comprehensive test cases in `javascript/frameworks/cap/test/`.
4444
- ALWAYS include both JavaScript and CDS files in tests when relevant.
4545
- ALWAYS verify expected results before accepting with `codeql test accept`.
46-
- ALWAYS use `codeql test run` with a PrintAST query to understand unfamiliar patterns.
4746

4847
## PREFERENCES
4948

5049
- PREFER using CodeQL's standard library classes and predicates over custom implementations.
5150
- PREFER precise modeling that minimizes false positives.
5251
- PREFER test cases that represent real-world CAP usage patterns.
53-
- PREFER to explore AST with PrintAST queries before implementing new models.
5452

5553
## CONSTRAINTS
5654

.github/instructions/javascript_ui5_ql.instructions.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,13 @@ This file contains instructions for working with CodeQL query (`.ql`) and librar
4848
- ALWAYS create comprehensive test cases in `javascript/frameworks/ui5/test/`.
4949
- ALWAYS include both JavaScript controllers and XML views in tests.
5050
- ALWAYS verify expected results before accepting with `codeql test accept`.
51-
- ALWAYS use `codeql test run` with a PrintAST query to understand unfamiliar patterns.
5251
- ALWAYS test binding expression parsing separately.
5352

5453
## PREFERENCES
5554

5655
- PREFER using CodeQL's standard library classes and predicates over custom implementations.
5756
- PREFER precise modeling that minimizes false positives.
5857
- PREFER test cases that represent real-world UI5 usage patterns.
59-
- PREFER to explore AST with PrintAST queries before implementing new models.
6058
- PREFER to test binding expression parser changes thoroughly.
6159

6260
## CONSTRAINTS

.github/instructions/javascript_xsjs_ql.instructions.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,12 @@ This file contains instructions for working with CodeQL query (`.ql`) and librar
4646
- ALWAYS create comprehensive test cases in `javascript/frameworks/xsjs/test/`.
4747
- ALWAYS include realistic XSJS code patterns in tests.
4848
- ALWAYS verify expected results before accepting with `codeql test accept`.
49-
- ALWAYS use `codeql test run` with a PrintAST query to understand unfamiliar patterns.
5049

5150
## PREFERENCES
5251

5352
- PREFER using CodeQL's standard library classes and predicates over custom implementations.
5453
- PREFER precise modeling that minimizes false positives.
5554
- PREFER test cases that represent real-world XSJS usage patterns.
56-
- PREFER to explore AST with PrintAST queries before implementing new models.
5755

5856
## CONSTRAINTS
5957

.github/prompts/codeql_test_commands.prompt.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ codeql query format --in-place <query-file.ql>
8484

8585
## Important Notes
8686

87-
- **Do NOT use** `codeql test extract` in normal workflow - `codeql test run` handles extraction
8887
- **Do NOT use** `codeql query run` for testing - use `codeql test run` instead
8988
- Tests automatically handle database extraction, query execution, and result comparison
9089
- Always review `.actual` files before accepting with `codeql test accept`

0 commit comments

Comments
 (0)