René's URL Explorer Experiment


Title: Rust: Simplify extractor command-line option parsing by paldepind · Pull Request #23054 · github/codeql · GitHub

Open Graph Title: Rust: Simplify extractor command-line option parsing by paldepind · Pull Request #23054 · github/codeql

X Title: Rust: Simplify extractor command-line option parsing by paldepind · Pull Request #23054 · github/codeql

Description: Summary Replace macro-generated CLI options with explicit support for --file-list, --qltest, and --logging-verbosity, the flags used by the extractor pack. Preserve the full configuration through environment variables and options.yml, including defaults, custom deserialization, and override precedence. Remove the macro crate and serde_with, and regenerate Cargo/Bazel metadata to prune unused dependencies without upgrading packages. Add focused regression tests for removed flags and preserved configuration behavior. Validation cargo test --locked -p codeql-rust config::tests (4 passed) cargo clippy --locked -p codeql-rust --all-targets --no-deps -- -D warnings cargo fmt --package codeql-rust --check bazel build --nobuild //rust/extractor:single_arch/extractor (dependency analysis) git diff --check

Open Graph Description: Summary Replace macro-generated CLI options with explicit support for --file-list, --qltest, and --logging-verbosity, the flags used by the extractor pack. Preserve the full configuration through ...

X Description: Summary Replace macro-generated CLI options with explicit support for --file-list, --qltest, and --logging-verbosity, the flags used by the extractor pack. Preserve the full configuration through ...

Opengraph URL: https://github.com/github/codeql/pull/23054

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:90d02df8-0071-6b42-0372-2d29fa735c0f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA1EE:37BD05:13F6216:1A6C6B1:6AF891C8
html-safe-noncef24efca01c8418fa699d3ddd0e7dfb01d4651f90b9a09f857c8edfb3bd8d1e4b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUVFOjM3QkQwNToxM0Y2MjE2OjFBNkM2QjE6NkFGODkxQzgiLCJ2aXNpdG9yX2lkIjoiODkwNzA2NTE3MzUyMDk3ODM3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace013e0333f9fa5fba4694d936101161ab1e50a450edf117c21347493b0b97109
hovercard-subject-tagpull_request:5223663479
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/github/codeql/pull/23054/files
twitter:imagehttps://avatars.githubusercontent.com/u/521604?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/521604?s=400&v=4
og:image:altSummary Replace macro-generated CLI options with explicit support for --file-list, --qltest, and --logging-verbosity, the flags used by the extractor pack. Preserve the full configuration through ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/github/codeql git https://github.com/github/codeql.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id143040428
octolytics-dimension-repository_nwogithub/codeql
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143040428
octolytics-dimension-repository_network_root_nwogithub/codeql
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql/pull/23054/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F23054%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F23054%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=github%2Fcodeql
Reloadhttps://github.com/github/codeql/pull/23054/files
Reloadhttps://github.com/github/codeql/pull/23054/files
Reloadhttps://github.com/github/codeql/pull/23054/files
githubhttps://github.com/github
codeqlhttps://github.com/github/codeql
Codehttps://github.com/github/codeql
Issues1k (1k)https://github.com/github/codeql/issues
Pull requests516 (516)https://github.com/github/codeql/pulls
Discussionshttps://github.com/github/codeql/discussions
Actionshttps://github.com/github/codeql/actions
Projectshttps://github.com/github/codeql/projects
Security and qualityhttps://github.com/github/codeql/security
Insightshttps://github.com/github/codeql/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose
paldepindhttps://github.com/paldepind
mainhttps://github.com/github/codeql/tree/main
rust/extractor-cli-argshttps://github.com/github/codeql/tree/rust/extractor-cli-args
Conversation 0 https://github.com/github/codeql/pull/23054
Commits 2 https://github.com/github/codeql/pull/23054/commits
Checks 24 https://github.com/github/codeql/pull/23054/checks
Findings https://github.com/github/codeql/pull/23054/findings
Files changed https://github.com/github/codeql/pull/23054/files
Please reload this pagehttps://github.com/github/codeql/pull/23054/files
Rust: Simplify extractor command-line option parsing https://github.com/github/codeql/pull/23054/files#top
Show all changes 2 commits https://github.com/github/codeql/pull/23054/files
1a78acc Rust: simplify extractor command-line options paldepind Nov 9, 2026 https://github.com/github/codeql/pull/23054/commits/1a78acc230af6c6016ae50fbfcd60b129003bb72
2430806 Rust: regenerate Bazel dependency metadata paldepind Nov 9, 2026 https://github.com/github/codeql/pull/23054/commits/243080601f314770e8e8c4dd38c4401a9736b176
Clear filters https://github.com/github/codeql/pull/23054/files
Please reload this pagehttps://github.com/github/codeql/pull/23054/files
Please reload this pagehttps://github.com/github/codeql/pull/23054/files
Cargo.lock https://github.com/github/codeql/pull/23054/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87e
Cargo.toml https://github.com/github/codeql/pull/23054/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
MODULE.bazel https://github.com/github/codeql/pull/23054/files#diff-6136fc12446089c3db7360e923203dd114b6a1466252e71667c6791c20fe6bdc
BUILD.base64-0.23.1.bazel https://github.com/github/codeql/pull/23054/files#diff-286406a94797ed281d23e72b6d0919078bb6728f0205d5255f69bc1349ba3e50
BUILD.bazel https://github.com/github/codeql/pull/23054/files#diff-bf2e2857efbea5a330ea72a86c5eba3847cd4bfe975af49f9ef2b43315a4156f
BUILD.bitflags-1.3.2.bazel https://github.com/github/codeql/pull/23054/files#diff-11e48640b821205e6af8df3f8a7569d122b857a223de76458b26a480edddc2c8
BUILD.bs58-0.5.1.bazel https://github.com/github/codeql/pull/23054/files#diff-6009308ce807f1fef847d1805b50db881e0f97d66febe5bb904a9fd5e6813c9a
BUILD.darling-0.24.1.bazel https://github.com/github/codeql/pull/23054/files#diff-ed9708c348069be3c0e1a384f89c58bdf04ba00631ce38da3018c440b6c6ebd3
BUILD.darling_core-0.24.1.bazel https://github.com/github/codeql/pull/23054/files#diff-7a5e30082ad14e4acb7d1dda7c66ba7f49bdee2e12d74f395337364832d22281
BUILD.darling_macro-0.24.1.bazel https://github.com/github/codeql/pull/23054/files#diff-09a98e8184a2481985b2dc9772eddf3ee2b10e2d8cc26aa679b767b2cab12a64
BUILD.defmt-1.1.1.bazel https://github.com/github/codeql/pull/23054/files#diff-8e37040f68efd5889a7d36fc147d5f66396b40c6c4f287307a0f53f697a5879e
BUILD.defmt-macros-1.1.1.bazel https://github.com/github/codeql/pull/23054/files#diff-58656be46482817a5b11cb54433add504b2f8dab80132556de05cf724208ea3c
BUILD.defmt-parser-1.0.0.bazel https://github.com/github/codeql/pull/23054/files#diff-0c3551e27ddccf33e1b70bb0954a0ca334af31f859f8cbf63ecc919d264a2d03
BUILD.dyn-clone-1.0.20.bazel https://github.com/github/codeql/pull/23054/files#diff-78fa0d64b8a40e1cebd777ce135bae16c1da043565828c6df2cb6607ef37494c
BUILD.hashbrown-0.12.3.bazel https://github.com/github/codeql/pull/23054/files#diff-cc0f0544ae28e2db8578c0335a303348c159c76d04104bc03865e25fea3015f0
BUILD.hex-0.4.3.bazel https://github.com/github/codeql/pull/23054/files#diff-647af37c2e4e6322c17c92b7081667f8aacacf64453cfc0e72e3e40636c529c5
BUILD.ident_case-1.0.1.bazel https://github.com/github/codeql/pull/23054/files#diff-1e24440b4566359aadbdc8070f90b64b7ee6748dcd75a8b67a87dc4893eb416d
BUILD.indexmap-1.9.3.bazel https://github.com/github/codeql/pull/23054/files#diff-a98ed0b61290697253a28cc059b4cdd22c4bb7c5a46f1237892df65f43143c17
BUILD.jiff-0.2.37.bazel https://github.com/github/codeql/pull/23054/files#diff-fe6799d37b3a18fd9a60c5e3458aa18cdaf65db3733a095180f401199dccfe40
BUILD.jiff-core-0.1.1.bazel https://github.com/github/codeql/pull/23054/files#diff-2b02a941a4535be6c2b30d0f802077c64d7def4615bbe8f904c6da268f62b928
BUILD.jiff-static-0.2.37.bazel https://github.com/github/codeql/pull/23054/files#diff-252adcf16fb38f7d90e8e59611002b306404560955af13a9c0a8f233a1af80a5
BUILD.jiff-tzdb-0.1.8.bazel https://github.com/github/codeql/pull/23054/files#diff-ff431f15e40261794092f7be8c7e94378f07081634f722ff0b77779d14e40a07
BUILD.jiff-tzdb-platform-0.1.3.bazel https://github.com/github/codeql/pull/23054/files#diff-dedf6d74a3ce8d8d60eb5fa533b51279a91a0757c7434a2e029ba3644569cc42
BUILD.portable-atomic-util-0.2.7.bazel https://github.com/github/codeql/pull/23054/files#diff-d0207960480bc162cdd802e9ff7ad70429f37e842395433d994ed7f42634c19b
BUILD.ref-cast-1.0.26.bazel https://github.com/github/codeql/pull/23054/files#diff-fd84e599aa84c86a917f09ee0ad1643d9937f5deb3003c0d85fa62bf122e6b2f
BUILD.ref-cast-impl-1.0.26.bazel https://github.com/github/codeql/pull/23054/files#diff-8c8dc0b79337eaf2f00db09033e16fe1579611ea15cfcad74d44c670d15f94b5
BUILD.schemars-0.9.0.bazel https://github.com/github/codeql/pull/23054/files#diff-11d59bed5d57b6e5838300f81233306c39dd1a2e1ed30e5e573e3b7b540a8401
BUILD.schemars-1.2.2.bazel https://github.com/github/codeql/pull/23054/files#diff-c3b6b9d2f7a570b335cd53b3ba880134045fc900af0cee77e295f5306af95e13
BUILD.serde_with-3.24.0.bazel https://github.com/github/codeql/pull/23054/files#diff-f6b82cfcf39d92adebd466d75385aaedfc616967cbce2063c3f9c12337af07fd
BUILD.serde_with_macros-3.24.0.bazel https://github.com/github/codeql/pull/23054/files#diff-88fe377ee9d864989fe17fb38e812eaa8cb5d745f849204a09bd43c7ac3ae50b
BUILD.tinyvec-1.13.3.bazel https://github.com/github/codeql/pull/23054/files#diff-fdc6d67cec407ef1580316f4e517fb9e2f7f76cfdfd1e57ab5a831a54bd7b4dc
crates.bzl https://github.com/github/codeql/pull/23054/files#diff-e1f9504620a2879b3afd0c3c31d4b2add56d3de4c8cd5c206c38ac641bd7bad8
BUILD.bazel https://github.com/github/codeql/pull/23054/files#diff-4a5cc7382b61454facf385688e1f15598f6186b252c02284113337b15b4212a1
BUILD.bazel https://github.com/github/codeql/pull/23054/files#diff-1d98bc1223b465d794319e6b7194663ab8ec4d25413b639d9ff666df5d0f0001
BUILD.bazel https://github.com/github/codeql/pull/23054/files#diff-4846f075a2f82d73f67268e033e9851bd2afeea6e943a5143f02b74d24c10d4b
Cargo.toml https://github.com/github/codeql/pull/23054/files#diff-ec4af0c567d31de802979ee938a9d5746d0e807920946f1773b73c7676d965d5
BUILD.bazel https://github.com/github/codeql/pull/23054/files#diff-3c44e47485b828e34535cdba3da1a3d389d5c3a4ef801f17e9e8c5ec3a7c7ec3
Cargo.toml https://github.com/github/codeql/pull/23054/files#diff-245ed3b50260412dadc46fce38a8cdfedbc9eac090d796be9f2c69c8b9792deb
lib.rs https://github.com/github/codeql/pull/23054/files#diff-26ec9c9a1f91c51685c692a4f441365378f0df65228d4bb97029350ae66353fa
config.rs https://github.com/github/codeql/pull/23054/files#diff-f018dc11e378d441c36c11b990a28d33011b6f7ff6e3f1ae4897dee1a303b4d5
https://github.com/github/codeql/blob/main/CODEOWNERS#L2
Cargo.lockhttps://github.com/github/codeql/pull/23054/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87e
View file https://github.com/github/codeql/blob/243080601f314770e8e8c4dd38c4401a9736b176/Cargo.lock
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/github/codeql/pull/23054/files
https://github.com/github/codeql/blob/main/CODEOWNERS#L2
Cargo.tomlhttps://github.com/github/codeql/pull/23054/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
View file https://github.com/github/codeql/blob/243080601f314770e8e8c4dd38c4401a9736b176/Cargo.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/23054/{{ revealButtonHref }}
https://github.com/github/codeql/pull/23054/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
https://github.com/github/codeql/blob/main/CODEOWNERS#L50
MODULE.bazelhttps://github.com/github/codeql/pull/23054/files#diff-6136fc12446089c3db7360e923203dd114b6a1466252e71667c6791c20fe6bdc
View file https://github.com/github/codeql/blob/243080601f314770e8e8c4dd38c4401a9736b176/MODULE.bazel
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/23054/{{ revealButtonHref }}
https://github.com/github/codeql/pull/23054/files#diff-6136fc12446089c3db7360e923203dd114b6a1466252e71667c6791c20fe6bdc
https://github.com/github/codeql/pull/23054/files#diff-6136fc12446089c3db7360e923203dd114b6a1466252e71667c6791c20fe6bdc
https://github.com/github/codeql/blob/main/CODEOWNERS#L2
misc/bazel/3rdparty/tree_sitter_extractors_deps/BUILD.base64-0.23.1.bazelhttps://github.com/github/codeql/pull/23054/files#diff-286406a94797ed281d23e72b6d0919078bb6728f0205d5255f69bc1349ba3e50
View file https://github.com/github/codeql/blob/96852dad0ad1e629c6c1e1e19e45de4057bf1399/misc/bazel/3rdparty/tree_sitter_extractors_deps/BUILD.base64-0.23.1.bazel
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/github/codeql/pull/23054/files
https://github.com/github/codeql/blob/main/CODEOWNERS#L2
misc/bazel/3rdparty/tree_sitter_extractors_deps/BUILD.bazelhttps://github.com/github/codeql/pull/23054/files#diff-bf2e2857efbea5a330ea72a86c5eba3847cd4bfe975af49f9ef2b43315a4156f
View file https://github.com/github/codeql/blob/243080601f314770e8e8c4dd38c4401a9736b176/misc/bazel/3rdparty/tree_sitter_extractors_deps/BUILD.bazel
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/github/codeql/pull/23054/files
https://github.com/github/codeql/blob/main/CODEOWNERS#L2
misc/bazel/3rdparty/tree_sitter_extractors_deps/BUILD.bitflags-1.3.2.bazelhttps://github.com/github/codeql/pull/23054/files#diff-11e48640b821205e6af8df3f8a7569d122b857a223de76458b26a480edddc2c8
View file https://github.com/github/codeql/blob/96852dad0ad1e629c6c1e1e19e45de4057bf1399/misc/bazel/3rdparty/tree_sitter_extractors_deps/BUILD.bitflags-1.3.2.bazel
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/github/codeql/pull/23054/files
https://github.com/github/codeql/blob/main/CODEOWNERS#L2
misc/bazel/3rdparty/tree_sitter_extractors_deps/BUILD.bs58-0.5.1.bazelhttps://github.com/github/codeql/pull/23054/files#diff-6009308ce807f1fef847d1805b50db881e0f97d66febe5bb904a9fd5e6813c9a
View file https://github.com/github/codeql/blob/96852dad0ad1e629c6c1e1e19e45de4057bf1399/misc/bazel/3rdparty/tree_sitter_extractors_deps/BUILD.bs58-0.5.1.bazel
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/github/codeql/pull/23054/files
Please reload this pagehttps://github.com/github/codeql/pull/23054/files
Please reload this pagehttps://github.com/github/codeql/pull/23054/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.