-
Notifications
You must be signed in to change notification settings - Fork 1.9k
C++ / JS / python: Be consistent in TRAP sections #20957
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
C++ / JS / python: Be consistent in TRAP sections #20957
Conversation
6479657 to
0419413
Compare
0419413 to
997fe29
Compare
997fe29 to
c429e00
Compare
|
ql-for-ql failures seems to be unrelated to this PR, e.g. https://github.com/github/codeql/actions/runs/20967345319/job/60261261271 fails the same way on |
There was a problem hiding this comment.
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 standardizes the organization of TRAP section comments for database metadata and overlay support across C++, JavaScript, and Python dbscheme files. The changes introduce consistent section headers and documentation for the databaseMetadata and overlayChangedFiles tables.
Changes:
- Added "Database metadata" and "Overlay support" section headers across language dbschemes
- Updated documentation to clarify CLI behavior for both tables
- Added regeneration instructions to Python's dbscheme header comment
Reviewed changes
Copilot reviewed 21 out of 43 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| python/ql/lib/semmlecode.python.dbscheme | Added section headers and updated documentation for metadata/overlay tables |
| python/extractor/semmle/dbscheme_gen.py | Added dbscheme regeneration instruction to header template |
| python/extractor/semmle/dbscheme.template | Added section headers and updated documentation for metadata/overlay tables |
| javascript/ql/lib/semmlecode.javascript.dbscheme | Added section headers and updated documentation for metadata/overlay tables |
| cpp/ql/lib/semmlecode.cpp.dbscheme | Added section headers for metadata/overlay tables |
| python/ql/lib/upgrades/*/old.dbscheme | Historical dbscheme snapshots with new section organization |
| javascript/ql/lib/upgrades/*/old.dbscheme | Historical dbscheme snapshots with new section organization |
| python/downgrades/*/upgrade.properties | Upgrade metadata files for schema versioning |
| javascript/downgrades/*/upgrade.properties | Upgrade metadata files for schema versioning |
| cpp/downgrades/*/upgrade.properties | Upgrade metadata files for schema versioning |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
We now use the shared "Overlay support" and "Database metadata".
We now use the shared "Overlay support" and "Database metadata".
We now use the shared "Overlay support" and "Database metadata".
We now use the shared "Overlay support" and "Database metadata".
617e4f3 to
ed38609
Compare
This makes the
and
sections consistent between the languages.