Quick-eval results cannot be compared
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- typescript, vscode
- Bereich
- developer-experience, frontend
Rechercherichtung
Beginnen Sie mit dem Befehl Compare Results in der Ansicht Query History und der Vergleichsansicht, die für Quick Evaluation-Läufe verwendet wird. Reproduzieren Sie sowohl Fälle mit demselben Prädikat als auch Fälle mit unterschiedlichen Prädikaten und verfolgen Sie anschließend, wie Prädikatsnamen und Ergebnisschemas zum Dropdown für Tabellennamen gelangen. Erledigt ist die Aufgabe, wenn Vergleiche für übereinstimmende Prädikate korrekt funktionieren, kompatible unterschiedliche Schemas einen Platzhalter verwenden und inkompatible Schemas einen leeren Vergleich mit einer passenden Warnung anzeigen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Describe the bug
When running the Compare Results command from the Query History view on the results of Quick Evaluation queries, the comparison view is empty, with no table names in the dropdown. If two different predicates were run, this also throws an error Schema undefined not found..
Version
CodeQL extension version: 1.4.8
CodeQL CLI version: 2.5.5
To reproduce
- Create a query file with two predicates.
int i1() { result = 1 } int i2() { result = 2 } select 1 - Quick-evaluate
i1twice. Select the two runs in Query History, right click, Compare Results.- This produces an empty compare view with no table names in the dropdown.
- Quick-evaluate
i1theni2. Select the two runs in Query History, right click, Compare Results.- This fails with an error
Schema undefined not found. - It also produces the same empty compare view with no table names in the dropdown.
- This fails with an error
Expected behavior
- When the predicate name and columns match, show the quick-eval predicate name in the dropdown, and show a comparison of results.
- If the predicate names do not match, but the two schemas are compatible, attempt to compare the results, with a placeholder table name in the dropdown.
- If the schemas aren't compatible, show an empty comparison with a suitable warning message.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 539
- Forks
- 240
- Ø Merge
- 2 T. 6 Std.
- Gemergte PRs (30 T.)
- 29
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus github/vscode-codeql
-
bug VSCode
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
github/vscode-codeql#4471 · 1 Kommentar ·
-
bug enhancement VSCode
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
github/vscode-codeql#592 · 2 Kommentare ·
-
enhancement VSCode
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 55/100
github/vscode-codeql#4432 · 1 Kommentar ·
-
bug VSCode
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 52/100
github/vscode-codeql#4356 ·
-
bug VSCode
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 64/100
github/vscode-codeql#4339 · 1 Kommentar ·
Alle Issues in github/vscode-codeql
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
fil-donadoni/tolaria#4409 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
corsairdev/corsair#1764 ·