René's URL Explorer Experiment


Title: Break out tracer-config.ts to its own file by robertbrignull · Pull Request #158 · github/codeql-action · GitHub

Open Graph Title: Break out tracer-config.ts to its own file by robertbrignull · Pull Request #158 · github/codeql-action

X Title: Break out tracer-config.ts to its own file by robertbrignull · Pull Request #158 · github/codeql-action

Description: Pulls a bunch of code from setup-tracer.ts to a new tracer-config.ts file. This is the code that generates the environment variables to be set when running later processes so that CodeQL can intercept the compiler commands. This is in preparation for chaning the behaviour when in CLI mode to output the env vars to a file instead of using core.exportVariable, while keeping all the code that generates the environment the same. Also while I'm doing it I've written tests for this code which was previously untested. Also reverts a bad change from a previous PR of mine. In https://github.com/github/codeql-action/pull/140/files#diff-244be00bfdf0600dd7b228caba9f8232L57 I changed the type of the argument from an object to an array because I thought it wouldn't make a difference, but I missed a call to Object.keys which then silently did the wrong thing of returning keys like 0, 1, 2, 3... This basically didn't make a difference thankfully so tracing still worked, and the only functionality that was broken by this was the requirement to put the spec from cpp at the end. Other than the above noted fix of a regression, this PR shouldn't make any changes to behaviour. @sampart do you have scope to review this? Merge / deployment checklist Confirm this change is backwards compatible with existing workflows. Confirm the readme has been updated if necessary.

Open Graph Description: Pulls a bunch of code from setup-tracer.ts to a new tracer-config.ts file. This is the code that generates the environment variables to be set when running later processes so that CodeQL can interc...

X Description: Pulls a bunch of code from setup-tracer.ts to a new tracer-config.ts file. This is the code that generates the environment variables to be set when running later processes so that CodeQL can interc...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:bc8e6084-2c4f-4123-7c24-43921ffd9e68
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC790:3FB6B5:65A900:88EB68:6A56E6B4
html-safe-nonceb06ce4141d44032ba48f1a817a9f02278e855b8bb190621ae3f8629d3d25068e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzkwOjNGQjZCNTo2NUE5MDA6ODhFQjY4OjZBNTZFNkI0IiwidmlzaXRvcl9pZCI6IjkwNTU0NzM0MjE5MTY3NTk3MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8828e26688781a8935a26e228a2ce491c1a25c2ad94abd7bab6a8c8d0e96c074
hovercard-subject-tagpull_request:472467072
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/158/files
twitter:imagehttps://avatars.githubusercontent.com/u/3749000?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3749000?s=400&v=4
og:image:altPulls a bunch of code from setup-tracer.ts to a new tracer-config.ts file. This is the code that generates the environment variables to be set when running later processes so that CodeQL can interc...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5220a278731283038daf0ed00b41f06ef7ff9539020ecc806c5c5a0fb6bda25a
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
release8684ae1a81cd3e4ef219b241179982bbda1a5b1f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/158/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F158%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/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/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/enterprise/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%2F158%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/158/files
Reloadhttps://github.com/github/codeql-action/pull/158/files
Reloadhttps://github.com/github/codeql-action/pull/158/files
Please reload this pagehttps://github.com/github/codeql-action/pull/158/files
github https://github.com/github
codeql-actionhttps://github.com/github/codeql-action
Notifications https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Fork 472 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 157 https://github.com/github/codeql-action/issues
Pull requests 28 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
robertbrignullhttps://github.com/robertbrignull
mainhttps://github.com/github/codeql-action/tree/main
tracer-confighttps://github.com/github/codeql-action/tree/tracer-config
Conversation 28 https://github.com/github/codeql-action/pull/158
Findings https://github.com/github/codeql-action/pull/158/findings
Commits 4 https://github.com/github/codeql-action/pull/158/commits
Checks 0 https://github.com/github/codeql-action/pull/158/checks
Files changed https://github.com/github/codeql-action/pull/158/files
Please reload this pagehttps://github.com/github/codeql-action/pull/158/files
Break out tracer-config.ts to its own file https://github.com/github/codeql-action/pull/158/files#top
Show all changes 4 commits https://github.com/github/codeql-action/pull/158/files
407ef0a Break out tracer-config.ts robertbrignull Aug 24, 2020 https://github.com/github/codeql-action/pull/158/commits/407ef0ac11b5171c3f5e3d712a98b83a67945f81
82fb31e make tests clearer robertbrignull Aug 25, 2020 https://github.com/github/codeql-action/pull/158/commits/82fb31ed5ec3606aefb7db453b24a3cefdbd7d3a
8efabe9 Merge branch 'main' into tracer-config robertbrignull Aug 25, 2020 https://github.com/github/codeql-action/pull/158/commits/8efabe9ec958149f819da742e447a7767dd21de9
2df51e0 Merge branch 'main' into tracer-config robertbrignull Aug 25, 2020 https://github.com/github/codeql-action/pull/158/commits/2df51e04f796d48fa3a96cc466b47ebbfcc93d02
Clear filters https://github.com/github/codeql-action/pull/158/files
Please reload this pagehttps://github.com/github/codeql-action/pull/158/files
Please reload this pagehttps://github.com/github/codeql-action/pull/158/files
analyze-action.js https://github.com/github/codeql-action/pull/158/files#diff-4926d6bcb92a4de805ceb8d280f31c24cffa2445b3a36cc658e5032a0910ed15
analyze-action.js.map https://github.com/github/codeql-action/pull/158/files#diff-bf22fdf4a2955a82f610cba9e999765d28a3da4f592c5511f2b731a1822fe648
codeql.js https://github.com/github/codeql-action/pull/158/files#diff-5bd808ec74194675da6319beb80c228163039f26c9ddf1b8bf3eef9b12c9341b
codeql.js.map https://github.com/github/codeql-action/pull/158/files#diff-325a6cb428a1dafbcfbd43461aa4ae95826c648a3f9a7d7b6e6bf05878152d64
init-action.js https://github.com/github/codeql-action/pull/158/files#diff-bd9b22d62f144e71ae32a07c7c5151e30b31cd76d22303745df64c9886d81342
init-action.js.map https://github.com/github/codeql-action/pull/158/files#diff-5ef0c9fa0ac79e7feadfa9b57bdadeb73adb061144109851651f2aa22197f700
tracer-config.js https://github.com/github/codeql-action/pull/158/files#diff-aecbdd7b1078a73b29ff4cc7045c81f9eebdeb51d264261df1b22ff32fe3207e
tracer-config.js.map https://github.com/github/codeql-action/pull/158/files#diff-6b3f57a553c198c226273cad36c8bc8a188a7a6a053b819ec736053f6843597b
tracer-config.test.js https://github.com/github/codeql-action/pull/158/files#diff-5ef65bf2e83a6a3c57434fcfe1b265b8a259d9bdadda2b0bd4337cc93eb65446
tracer-config.test.js.map https://github.com/github/codeql-action/pull/158/files#diff-2a5c510e8ceb0e1b10c609aa442902d0503ebea54b48d68f1b15c95f8644d61e
util.js https://github.com/github/codeql-action/pull/158/files#diff-3fb720f70ea34fb2975fd6c38ac4b6b6131373be2abfa4760dfaae8a25daaee2
util.js.map https://github.com/github/codeql-action/pull/158/files#diff-709978ba6652a9d1f2f2cfb89f74b8743ec9a8aac0470253725ecf2c62a1651e
analyze-action.ts https://github.com/github/codeql-action/pull/158/files#diff-c659460f1608e167fc5bef89e07b4c7db2d8cdf80e542ec788c969a6ed987d34
codeql.ts https://github.com/github/codeql-action/pull/158/files#diff-473ad8cf33ad034dc4f9ae468a3ce5d87106ace4f96f6a23a000261d46efaa60
init-action.ts https://github.com/github/codeql-action/pull/158/files#diff-87bf9e0a2a9244ba1f26eb01d404deaccbc9580479d2e2530a4ff2fd5bd91565
tracer-config.test.ts https://github.com/github/codeql-action/pull/158/files#diff-639453fa7639afbacb1eb69252a70a9020305ba20c6518ea7ed99f8d8ab83631
tracer-config.ts https://github.com/github/codeql-action/pull/158/files#diff-753757df60d60e5da91ac81477fa5671067782aab5d167bc076a90fe8ea179f9
util.ts https://github.com/github/codeql-action/pull/158/files#diff-3294a832ea2276e554177e0b3007cc2d401c082912c7fbde49fa09141bf1aed1
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/analyze-action.jshttps://github.com/github/codeql-action/pull/158/files#diff-4926d6bcb92a4de805ceb8d280f31c24cffa2445b3a36cc658e5032a0910ed15
View file https://github.com/github/codeql-action/blob/2df51e04f796d48fa3a96cc466b47ebbfcc93d02/lib/analyze-action.js
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-action/pull/158/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/analyze-action.js.maphttps://github.com/github/codeql-action/pull/158/files#diff-bf22fdf4a2955a82f610cba9e999765d28a3da4f592c5511f2b731a1822fe648
View file https://github.com/github/codeql-action/blob/2df51e04f796d48fa3a96cc466b47ebbfcc93d02/lib/analyze-action.js.map
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-action/pull/158/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/codeql.jshttps://github.com/github/codeql-action/pull/158/files#diff-5bd808ec74194675da6319beb80c228163039f26c9ddf1b8bf3eef9b12c9341b
View file https://github.com/github/codeql-action/blob/2df51e04f796d48fa3a96cc466b47ebbfcc93d02/lib/codeql.js
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-action/pull/158/files
Please reload this pagehttps://github.com/github/codeql-action/pull/158/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.