René's URL Explorer Experiment


Title: Add more strongly typed wrapper around `test.macro` by mbg · Pull Request #3883 · github/codeql-action · GitHub

Open Graph Title: Add more strongly typed wrapper around `test.macro` by mbg · Pull Request #3883 · github/codeql-action

X Title: Add more strongly typed wrapper around `test.macro` by mbg · Pull Request #3883 · github/codeql-action

Description: When defining a test macro using test.macro, the argument types are not strongly enforced when the macro is used with test, test.serial, etc. This PR adds a makeMacro helper which returns a wrapper around a macro that enforces the argument types. Replaces #3873. Risk assessment For internal use only. Please select the risk level of this change: Low risk: Changes are fully under feature flags, or have been fully tested and validated in pre-production environments and are highly observable, or are documentation or test only. Which use cases does this change impact? Environments: Testing/None - This change does not impact any CodeQL workflows in production. How did/will you validate this change? Unit tests - I am depending on unit test coverage (i.e. tests in .test.ts files). If something goes wrong after this change is released, what are the mitigation and rollback strategies? Development/testing only - This change cannot cause any failures in production. How will you know if something goes wrong after this change is released? Other - Please provide details. Are there any special considerations for merging or releasing this change? No special considerations - This change can be merged at any time. Merge / deployment checklist Confirm this change is backwards compatible with existing workflows. Consider adding a changelog entry for this change. Confirm the readme and docs have been updated if necessary.

Open Graph Description: When defining a test macro using test.macro, the argument types are not strongly enforced when the macro is used with test, test.serial, etc. This PR adds a makeMacro helper which returns a wrapper...

X Description: When defining a test macro using test.macro, the argument types are not strongly enforced when the macro is used with test, test.serial, etc. This PR adds a makeMacro helper which returns a wrapper...

Opengraph URL: https://github.com/github/codeql-action/pull/3883

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:dc375057-317f-b402-40a8-29a6774908d2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id94CC:282357:2FE3DF6:43B3C09:6A4D001D
html-safe-noncefd7d35f9a81e7831d883b0014843f58dd3f76b09a44be31a6456c9432ba53cf0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NENDOjI4MjM1NzoyRkUzREY2OjQzQjNDMDk6NkE0RDAwMUQiLCJ2aXNpdG9yX2lkIjoiMjEyNTY5MTU2NTU0NDExMjE1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac555677eed8d7947313e0aae74149799e48fe34c153c726a4be23a279d53e6d25
hovercard-subject-tagpull_request:3643554666
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-action/pull/3883/files
twitter:imagehttps://avatars.githubusercontent.com/u/278086?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/278086?s=400&v=4
og:image:altWhen defining a test macro using test.macro, the argument types are not strongly enforced when the macro is used with test, test.serial, etc. This PR adds a makeMacro helper which returns a wrapper...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None31e4db13a9e20081f2fac78f441659a6576e582bbb15e153f9c7fb6473aa29f5
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/github/codeql-action git https://github.com/github/codeql-action.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id259445878
octolytics-dimension-repository_nwogithub/codeql-action
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id259445878
octolytics-dimension-repository_network_root_nwogithub/codeql-action
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
releasefb70bd3c4b2bec429781b65419e912c66e2d5581
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/3883/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F3883%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F3883%2Ffiles
Sign up https://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-action
Reloadhttps://github.com/github/codeql-action/pull/3883/files
Reloadhttps://github.com/github/codeql-action/pull/3883/files
Reloadhttps://github.com/github/codeql-action/pull/3883/files
Please reload this pagehttps://github.com/github/codeql-action/pull/3883/files
github https://github.com/github
codeql-actionhttps://github.com/github/codeql-action
Notifications https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Fork 470 https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Star 1.6k https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Code https://github.com/github/codeql-action
Issues 156 https://github.com/github/codeql-action/issues
Pull requests 27 https://github.com/github/codeql-action/pulls
Actions https://github.com/github/codeql-action/actions
Models https://github.com/github/codeql-action/models
Security and quality 2 https://github.com/github/codeql-action/security
Insights https://github.com/github/codeql-action/pulse
Code https://github.com/github/codeql-action
Issues https://github.com/github/codeql-action/issues
Pull requests https://github.com/github/codeql-action/pulls
Actions https://github.com/github/codeql-action/actions
Models https://github.com/github/codeql-action/models
Security and quality https://github.com/github/codeql-action/security
Insights https://github.com/github/codeql-action/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fgithub%2Fcodeql-action%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-action%2Fissues%2Fnew%2Fchoose
mbghttps://github.com/mbg
mainhttps://github.com/github/codeql-action/tree/main
mbg/test/macro-wrapperhttps://github.com/github/codeql-action/tree/mbg/test/macro-wrapper
Conversation 4 https://github.com/github/codeql-action/pull/3883
Findings https://github.com/github/codeql-action/pull/3883/findings
Commits 3 https://github.com/github/codeql-action/pull/3883/commits
Checks 225 https://github.com/github/codeql-action/pull/3883/checks
Files changed https://github.com/github/codeql-action/pull/3883/files
Please reload this pagehttps://github.com/github/codeql-action/pull/3883/files
Add more strongly typed wrapper around test.macro https://github.com/github/codeql-action/pull/3883/files#top
Show all changes 3 commits https://github.com/github/codeql-action/pull/3883/files
6e3f985 Add wrapper for `test.macro` mbg May 7, 2026 https://github.com/github/codeql-action/pull/3883/commits/6e3f985e4fc409a188c7701b68c4dec158c9ced3
df77e87 Update test macro snippet mbg May 7, 2026 https://github.com/github/codeql-action/pull/3883/commits/df77e87896689b5c736433984c5df14d86c63d56
922d6fb Use `makeMacro` instead of `test.macro` mbg May 7, 2026 https://github.com/github/codeql-action/pull/3883/commits/922d6fb888d665134eb982b150b8912dbd48e21a
Clear filters https://github.com/github/codeql-action/pull/3883/files
Please reload this pagehttps://github.com/github/codeql-action/pull/3883/files
Please reload this pagehttps://github.com/github/codeql-action/pull/3883/files
tests.code-snippets https://github.com/github/codeql-action/pull/3883/files#diff-e9c7f9a88028ec20ed6910bb849340c99b9ba58d9d200abbba63b81cf5c50e26
codeql.test.ts https://github.com/github/codeql-action/pull/3883/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
config-utils.test.ts https://github.com/github/codeql-action/pull/3883/files#diff-b89137bd6c9c170b54007f695c569094adf83a0f79f9f29272cc1a801f34c3e0
db-config.test.ts https://github.com/github/codeql-action/pull/3883/files#diff-ba12aaa1fc4def7c73526f07f752661695230fef982cf09913478e22b0cba93f
diff-informed-analysis-utils.test.ts https://github.com/github/codeql-action/pull/3883/files#diff-91a6dc82e562c079131b57769330bf8d07116dc612e63e2594738b8184648a3f
init-action-post-helper.test.ts https://github.com/github/codeql-action/pull/3883/files#diff-62c5bc1fe681a41f34d74ef117f4aa52ae21023a6f78abe2655e635afa48b08a
init.test.ts https://github.com/github/codeql-action/pull/3883/files#diff-e9ca4ddfe776c556d152d103079dd18a74759ec91dc1e97858b43ef0a71f22ba
caching.test.ts https://github.com/github/codeql-action/pull/3883/files#diff-df4484bd2f1357aa9235df17739453b3541d742b6b005ab06cccf8897a1b5694
setup-codeql.test.ts https://github.com/github/codeql-action/pull/3883/files#diff-f306d28dd1b1b19631643393e111cbf6e6dad30ad83d9eca67f08a64e5e8c324
start-proxy.test.ts https://github.com/github/codeql-action/pull/3883/files#diff-01b1815e9fb7bc72e2a49034f8d40ac9a9cee8eb1bafef7192ae1c78ec8bc456
status-report.test.ts https://github.com/github/codeql-action/pull/3883/files#diff-44a2bef6bc136c39f466778dd810cd95fa5015d3bf9b0b6afdc8f94a13b75667
testing-utils.ts https://github.com/github/codeql-action/pull/3883/files#diff-b5e75f890eca9e7fbfff472427b39ce0f5628833109b50e7b2d165729bd8c124
upload-sarif.test.ts https://github.com/github/codeql-action/pull/3883/files#diff-485c95cedf5bbfd8a5c4ceb315f66e43575dee6139e177f2850802c35eaaa246
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
.vscode/tests.code-snippetshttps://github.com/github/codeql-action/pull/3883/files#diff-e9c7f9a88028ec20ed6910bb849340c99b9ba58d9d200abbba63b81cf5c50e26
View file https://github.com/github/codeql-action/blob/922d6fb888d665134eb982b150b8912dbd48e21a/.vscode/tests.code-snippets
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/3883/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/3883/files#diff-e9c7f9a88028ec20ed6910bb849340c99b9ba58d9d200abbba63b81cf5c50e26
https://github.com/github/codeql-action/pull/3883/files#diff-e9c7f9a88028ec20ed6910bb849340c99b9ba58d9d200abbba63b81cf5c50e26
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
src/codeql.test.tshttps://github.com/github/codeql-action/pull/3883/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
View file https://github.com/github/codeql-action/blob/922d6fb888d665134eb982b150b8912dbd48e21a/src/codeql.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/3883/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/3883/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
https://github.com/github/codeql-action/pull/3883/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
https://github.com/github/codeql-action/pull/3883/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
https://github.com/github/codeql-action/pull/3883/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
https://github.com/github/codeql-action/pull/3883/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
https://github.com/github/codeql-action/pull/3883/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
https://github.com/github/codeql-action/pull/3883/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
https://github.com/github/codeql-action/pull/3883/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
https://github.com/github/codeql-action/pull/3883/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
https://github.com/github/codeql-action/pull/3883/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
https://github.com/github/codeql-action/pull/3883/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
https://github.com/github/codeql-action/pull/3883/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
https://github.com/github/codeql-action/pull/3883/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
https://github.com/github/codeql-action/pull/3883/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
https://github.com/github/codeql-action/pull/3883/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
https://github.com/github/codeql-action/pull/3883/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
Please reload this pagehttps://github.com/github/codeql-action/pull/3883/files
Please reload this pagehttps://github.com/github/codeql-action/pull/3883/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.