René's URL Explorer Experiment


Title: Reduce debug output in tests by sampart · Pull Request #75 · github/codeql-action · GitHub

Open Graph Title: Reduce debug output in tests by sampart · Pull Request #75 · github/codeql-action

X Title: Reduce debug output in tests by sampart · Pull Request #75 · github/codeql-action

Description: The full test output is long, so here's an example of a single test before and after. Before: $ npm test > codeql@0.0.0 test /Users/sam/code/codeql-action > ava src/fingerprints.test.ts --serial ⠸ hash ⠼ hash 1 passed::debug::Ignoring location URI "/src/foo/bar.js' as it is outside of the src root ::debug::Ignoring location URI "https:///Users/sam/code/codeql-action/lib/fingerprints.test.js' as the scheme is not recognised ::debug::Ignoring location URI "ftp:///Users/sam/code/codeql-action/lib/fingerprints.test.js' as the scheme is not recognised ::debug::Ignoring location as uri "1" is invalid ::debug::Ignoring location as uri "undefined" is invalid ::debug::Unable to compute fingerprint for non-existent file: /Users/sam/code/codeql-action/lib/fingerprints.test.js2 4 tests passed After: $ npm test > codeql@0.0.0 test /Users/sam/code/codeql-action > ava src/fingerprints.test.ts --serial 4 tests passed There's still a fair bit of noise that isn't caught by this (e.g. output from system calls), and the output could do with more cleaning generally, but this is a start, and provides a framework for further improvements. Thanks to @alexrford for pairing with me on much of this. Merge / deployment checklist Run test builds as necessary. Can be on this repository or elsewhere as needed in order to test the change - please include links to tests in other repos! CodeQL using init/analyze actions 3rd party tool using upload action Confirm this change is backwards compatible with existing workflows. Confirm the readme has been updated if necessary.

Open Graph Description: The full test output is long, so here's an example of a single test before and after. Before: $ npm test > codeql@0.0.0 test /Users/sam/code/codeql-action > ava src/fingerprints.test.ts ...

X Description: The full test output is long, so here's an example of a single test before and after. Before: $ npm test > codeql@0.0.0 test /Users/sam/code/codeql-action > ava src/fingerpri...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b6a0ee77-cf6b-f37d-f997-7cd1e6637bb6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id92AE:2DCEA7:2BA2CEF:3ACA6E5:6A53AF5B
html-safe-nonce3e32c779199689f4cecd05896caa9bcc2dceece12c4cbb71497eafa66dc566b7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkFFOjJEQ0VBNzoyQkEyQ0VGOjNBQ0E2RTU6NkE1M0FGNUIiLCJ2aXNpdG9yX2lkIjoiMzc0NjQ4ODcwODM4NTQ1MTg2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac017091f2f99f519d039035ff32f893bccc7ef772d3f9d349c695820f19b23c54
hovercard-subject-tagpull_request:438425292
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/75/files
twitter:imagehttps://avatars.githubusercontent.com/u/1507328?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1507328?s=400&v=4
og:image:altThe full test output is long, so here's an example of a single test before and after. Before: $ npm test > codeql@0.0.0 test /Users/sam/code/codeql-action > ava src/fingerprints.test.ts ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/75/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F75%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%2F75%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/75/files
Reloadhttps://github.com/github/codeql-action/pull/75/files
Reloadhttps://github.com/github/codeql-action/pull/75/files
Please reload this pagehttps://github.com/github/codeql-action/pull/75/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 156 https://github.com/github/codeql-action/issues
Pull requests 24 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
samparthttps://github.com/sampart
mainhttps://github.com/github/codeql-action/tree/main
quieten-test-outputhttps://github.com/github/codeql-action/tree/quieten-test-output
Conversation 5 https://github.com/github/codeql-action/pull/75
Findings https://github.com/github/codeql-action/pull/75/findings
Commits 4 https://github.com/github/codeql-action/pull/75/commits
Checks 0 https://github.com/github/codeql-action/pull/75/checks
Files changed https://github.com/github/codeql-action/pull/75/files
Please reload this pagehttps://github.com/github/codeql-action/pull/75/files
Reduce debug output in tests https://github.com/github/codeql-action/pull/75/files#top
Show all changes 4 commits https://github.com/github/codeql-action/pull/75/files
c0c67ce Reduce debug output in tests sampart Jun 22, 2020 https://github.com/github/codeql-action/pull/75/commits/c0c67ce80f53449380aa9de51ae7b2a115e853cb
8622312 Update JavaScript with newer comment sampart Jun 22, 2020 https://github.com/github/codeql-action/pull/75/commits/8622312249629d3ca06091732971bc6302b55513
a30a5ba Add silencing to additional test files sampart Jun 23, 2020 https://github.com/github/codeql-action/pull/75/commits/a30a5ba7888e7d66e2778d1d6c05913993fe2183
80ba7b2 Add transpiled javascript too sampart Jun 23, 2020 https://github.com/github/codeql-action/pull/75/commits/80ba7b2c1ad5b5de90309273ef8c889fc555552b
Clear filters https://github.com/github/codeql-action/pull/75/files
Please reload this pagehttps://github.com/github/codeql-action/pull/75/files
Please reload this pagehttps://github.com/github/codeql-action/pull/75/files
analysis-paths.test.js https://github.com/github/codeql-action/pull/75/files#diff-c34955d16f8d237ea2f635a9f48153decbffc33946b1c7cb822c37ce766da508
analysis-paths.test.js.map https://github.com/github/codeql-action/pull/75/files#diff-bd92077ca457d15f5ad8c1ad068978898ee44496c181fac590843485c57edf7b
config-utils.test.js https://github.com/github/codeql-action/pull/75/files#diff-d148ca8472e737b403ec8f50182b0c27ea9afdf10de4ea09c907563f7d9c7c34
config-utils.test.js.map https://github.com/github/codeql-action/pull/75/files#diff-4f9b8908c9b0a8133803f7740eaa7a0c93950f9809edb95f06c950dbab40c0f9
external-queries.test.js https://github.com/github/codeql-action/pull/75/files#diff-258bd6b704691025ace185f2e2981aee5db58e0a0a24c559af8355623aa429b6
external-queries.test.js.map https://github.com/github/codeql-action/pull/75/files#diff-c6d90f003c496d8742fe39d6074998cea3770c17e5b09fbf5f10ab33c4ed8f0b
fingerprints.test.js https://github.com/github/codeql-action/pull/75/files#diff-fae498a004f6e1749cad491be73042274156ae21d856c0f8d3c1c569def65e33
fingerprints.test.js.map https://github.com/github/codeql-action/pull/75/files#diff-aefebd94fc889f42f8a52d0e6727313c4247a257be1daa1687456a05ced16482
setup-tools.test.js https://github.com/github/codeql-action/pull/75/files#diff-70963bcad2214c40d7e8b4f585846fdaa17cdaf81d892835bb48f013603cffcd
setup-tools.test.js.map https://github.com/github/codeql-action/pull/75/files#diff-3a29f40e9c937b6f982d78631234e8a84e0c26f7724fba450905036f95f69dca
test-utils.js https://github.com/github/codeql-action/pull/75/files#diff-b4e13e8361b17599de94adfe650cc487e75eeef9cbb50730a742f356ce5e53a8
test-utils.js.map https://github.com/github/codeql-action/pull/75/files#diff-af29e38e29664e6ba07c4c094a1ebe4330e5f80ed25efb9c02482bb5307f38d4
testing-utils.js https://github.com/github/codeql-action/pull/75/files#diff-0d179c52d69fc5c41a7cbaea8dbb89ee4a97c30f27a7ee0ad6319411e6e324c1
testing-utils.js.map https://github.com/github/codeql-action/pull/75/files#diff-2011d4337fad4fbe50193d77415d9e1685ef85233d55aa71dcdbe4ee2ea5af76
upload-lib.test.js https://github.com/github/codeql-action/pull/75/files#diff-7dd6b61f4eb80d26226f73154c31ac1b08d62cadc013325ffbb8ffd3787c0f73
upload-lib.test.js.map https://github.com/github/codeql-action/pull/75/files#diff-9b048476005b7e31b7f9b56a1ff23f956db320b328db45ed3803ee3dfa607519
util.test.js https://github.com/github/codeql-action/pull/75/files#diff-141be3d78540748da20f193d2ef9e73b4db3315fa26088ae9672859887a0edba
util.test.js.map https://github.com/github/codeql-action/pull/75/files#diff-2ec6a6b1036bffea2092b87dabc38530948425542e6bbbea9d1d3be8dd96220a
analysis-paths.test.ts https://github.com/github/codeql-action/pull/75/files#diff-05162bce3b960838377f4966cd89d1553478f56a1aad56a16afac9845cbc0e9e
config-utils.test.ts https://github.com/github/codeql-action/pull/75/files#diff-b89137bd6c9c170b54007f695c569094adf83a0f79f9f29272cc1a801f34c3e0
external-queries.test.ts https://github.com/github/codeql-action/pull/75/files#diff-21d7423b129cce5b52ff1b7fc283a4e816db4bbffe98d5789a7518fe59b93d9f
fingerprints.test.ts https://github.com/github/codeql-action/pull/75/files#diff-f32e00d87704c20ad4542be5c016199bb062ef1adb5954b237a909ddaad9903c
setup-tools.test.ts https://github.com/github/codeql-action/pull/75/files#diff-61e360c3c2a01644847cc1c9cd2dea7e22e53f6109fd8797287c0b0374267883
testing-utils.ts https://github.com/github/codeql-action/pull/75/files#diff-b5e75f890eca9e7fbfff472427b39ce0f5628833109b50e7b2d165729bd8c124
upload-lib.test.ts https://github.com/github/codeql-action/pull/75/files#diff-eee20e48e4d2b7151c26bf260518384f70148a0e303d29fda22101860f722b6c
util.test.ts https://github.com/github/codeql-action/pull/75/files#diff-5b8db3845646ec2fda6f1a8fb2b5b8c67460b5070568f4be6320f344704969cd
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/analysis-paths.test.jshttps://github.com/github/codeql-action/pull/75/files#diff-c34955d16f8d237ea2f635a9f48153decbffc33946b1c7cb822c37ce766da508
View file https://github.com/github/codeql-action/blob/80ba7b2c1ad5b5de90309273ef8c889fc555552b/lib/analysis-paths.test.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/75/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/analysis-paths.test.js.maphttps://github.com/github/codeql-action/pull/75/files#diff-bd92077ca457d15f5ad8c1ad068978898ee44496c181fac590843485c57edf7b
View file https://github.com/github/codeql-action/blob/80ba7b2c1ad5b5de90309273ef8c889fc555552b/lib/analysis-paths.test.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/75/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/config-utils.test.jshttps://github.com/github/codeql-action/pull/75/files#diff-d148ca8472e737b403ec8f50182b0c27ea9afdf10de4ea09c907563f7d9c7c34
View file https://github.com/github/codeql-action/blob/80ba7b2c1ad5b5de90309273ef8c889fc555552b/lib/config-utils.test.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/75/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/config-utils.test.js.maphttps://github.com/github/codeql-action/pull/75/files#diff-4f9b8908c9b0a8133803f7740eaa7a0c93950f9809edb95f06c950dbab40c0f9
View file https://github.com/github/codeql-action/blob/80ba7b2c1ad5b5de90309273ef8c889fc555552b/lib/config-utils.test.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/75/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/external-queries.test.jshttps://github.com/github/codeql-action/pull/75/files#diff-258bd6b704691025ace185f2e2981aee5db58e0a0a24c559af8355623aa429b6
View file https://github.com/github/codeql-action/blob/80ba7b2c1ad5b5de90309273ef8c889fc555552b/lib/external-queries.test.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/75/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/external-queries.test.js.maphttps://github.com/github/codeql-action/pull/75/files#diff-c6d90f003c496d8742fe39d6074998cea3770c17e5b09fbf5f10ab33c4ed8f0b
View file https://github.com/github/codeql-action/blob/80ba7b2c1ad5b5de90309273ef8c889fc555552b/lib/external-queries.test.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/75/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/fingerprints.test.jshttps://github.com/github/codeql-action/pull/75/files#diff-fae498a004f6e1749cad491be73042274156ae21d856c0f8d3c1c569def65e33
View file https://github.com/github/codeql-action/blob/80ba7b2c1ad5b5de90309273ef8c889fc555552b/lib/fingerprints.test.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/75/files
Please reload this pagehttps://github.com/github/codeql-action/pull/75/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.