René's URL Explorer Experiment


Title: Only output anything from tests when there's a failure by robertbrignull · Pull Request #79 · github/codeql-action · GitHub

Open Graph Title: Only output anything from tests when there's a failure by robertbrignull · Pull Request #79 · github/codeql-action

X Title: Only output anything from tests when there's a failure by robertbrignull · Pull Request #79 · github/codeql-action

Description: This is an alternative / builds upon #75 The extra bits are: Run ava in verbose mode. This disables the fancy spinner and means that printing doesn't mess it up. I think ava is also doing some kind of output suppression but I haven't been able to fully verify, but anyway this turns it off. Instead of only suppressing some output, forward all of it to a string in memory, and then only print it all if the test fails. I think this gives a nice user experience by being very minimal when everything passes but giving you all the information when something fails. Uses typedTest.afterEach.always instead of typedTest.afterEach because the latter only runs on passing tests. 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: This is an alternative / builds upon #75 The extra bits are: Run ava in verbose mode. This disables the fancy spinner and means that printing doesn't mess it up. I think ava is also doing some...

X Description: This is an alternative / builds upon #75 The extra bits are: Run ava in verbose mode. This disables the fancy spinner and means that printing doesn't mess it up. I think ava is also doing ...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:bc9a4fd2-b4f1-b4e3-fa28-41aa60552e66
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEAA4:3161F8:1290AB0:18A8C53:6A542928
html-safe-nonceb1b29c5d9fdd019c8961d50d6e8b0efdbcff930f5de6874e68f7a24f9fd13a45
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUE0OjMxNjFGODoxMjkwQUIwOjE4QThDNTM6NkE1NDI5MjgiLCJ2aXNpdG9yX2lkIjoiNTU0OTMzOTQxNzQzNTcxMTc4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6463d4530aa0fa45104929b422cd55df8842d2fde1e8119db8f8689f639c2bab
hovercard-subject-tagpull_request:438579312
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/79/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:altThis is an alternative / builds upon #75 The extra bits are: Run ava in verbose mode. This disables the fancy spinner and means that printing doesn't mess it up. I think ava is also doing some...
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/79/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F79%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%2F79%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/79/files
Reloadhttps://github.com/github/codeql-action/pull/79/files
Reloadhttps://github.com/github/codeql-action/pull/79/files
Please reload this pagehttps://github.com/github/codeql-action/pull/79/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
robertbrignullhttps://github.com/robertbrignull
mainhttps://github.com/github/codeql-action/tree/main
only-output-on-failurehttps://github.com/github/codeql-action/tree/only-output-on-failure
Conversation 7 https://github.com/github/codeql-action/pull/79
Findings https://github.com/github/codeql-action/pull/79/findings
Commits 12 https://github.com/github/codeql-action/pull/79/commits
Checks 0 https://github.com/github/codeql-action/pull/79/checks
Files changed https://github.com/github/codeql-action/pull/79/files
Please reload this pagehttps://github.com/github/codeql-action/pull/79/files
Only output anything from tests when there's a failure https://github.com/github/codeql-action/pull/79/files#top
Show all changes 12 commits https://github.com/github/codeql-action/pull/79/files
c0c67ce Reduce debug output in tests sampart Jun 22, 2020 https://github.com/github/codeql-action/pull/79/commits/c0c67ce80f53449380aa9de51ae7b2a115e853cb
8622312 Update JavaScript with newer comment sampart Jun 22, 2020 https://github.com/github/codeql-action/pull/79/commits/8622312249629d3ca06091732971bc6302b55513
a30a5ba Add silencing to additional test files sampart Jun 23, 2020 https://github.com/github/codeql-action/pull/79/commits/a30a5ba7888e7d66e2778d1d6c05913993fe2183
56f06c7 add calls robertbrignull Jun 23, 2020 https://github.com/github/codeql-action/pull/79/commits/56f06c77fd577f01006076a5351f11058d3c5e1d
66be268 run verbose robertbrignull Jun 23, 2020 https://github.com/github/codeql-action/pull/79/commits/66be268a094e01d028837d624d8b09ea1ad3e4b6
0277624 Only output on failing tests robertbrignull Jun 23, 2020 https://github.com/github/codeql-action/pull/79/commits/02776246bfd05400520c3ab682246e24576c8366
bd40428 Merge remote-tracking branch 'origin/main' into only-output-on-failure robertbrignull Jun 23, 2020 https://github.com/github/codeql-action/pull/79/commits/bd4042802dc04ddf5337ddb8f9a16e6af4e7550e
350bf48 add semicolon robertbrignull Jun 23, 2020 https://github.com/github/codeql-action/pull/79/commits/350bf488da3b589a8b9781fb796fde48b9ee001a
52e5243 handle Uint8Array robertbrignull Jun 23, 2020 https://github.com/github/codeql-action/pull/79/commits/52e52435f75b99055a91c23ed6489f41cc43ea3c
403832b Merge remote-tracking branch 'origin/main' into only-output-on-failure robertbrignull Jun 23, 2020 https://github.com/github/codeql-action/pull/79/commits/403832b950e4d648c2d3a78afeddb79038e913d6
cb384e7 fix indentation robertbrignull Jun 23, 2020 https://github.com/github/codeql-action/pull/79/commits/cb384e776bbf3310b1e6fd71debaaf625b624dcd
b3ffa76 Merge branch 'main' into only-output-on-failure robertbrignull Jun 24, 2020 https://github.com/github/codeql-action/pull/79/commits/b3ffa760ab6c7daf768c21ef048ca982e80620fd
Clear filters https://github.com/github/codeql-action/pull/79/files
Please reload this pagehttps://github.com/github/codeql-action/pull/79/files
Please reload this pagehttps://github.com/github/codeql-action/pull/79/files
analysis-paths.test.js https://github.com/github/codeql-action/pull/79/files#diff-c34955d16f8d237ea2f635a9f48153decbffc33946b1c7cb822c37ce766da508
analysis-paths.test.js.map https://github.com/github/codeql-action/pull/79/files#diff-bd92077ca457d15f5ad8c1ad068978898ee44496c181fac590843485c57edf7b
config-utils.test.js https://github.com/github/codeql-action/pull/79/files#diff-d148ca8472e737b403ec8f50182b0c27ea9afdf10de4ea09c907563f7d9c7c34
config-utils.test.js.map https://github.com/github/codeql-action/pull/79/files#diff-4f9b8908c9b0a8133803f7740eaa7a0c93950f9809edb95f06c950dbab40c0f9
external-queries.test.js https://github.com/github/codeql-action/pull/79/files#diff-258bd6b704691025ace185f2e2981aee5db58e0a0a24c559af8355623aa429b6
external-queries.test.js.map https://github.com/github/codeql-action/pull/79/files#diff-c6d90f003c496d8742fe39d6074998cea3770c17e5b09fbf5f10ab33c4ed8f0b
fingerprints.test.js https://github.com/github/codeql-action/pull/79/files#diff-fae498a004f6e1749cad491be73042274156ae21d856c0f8d3c1c569def65e33
fingerprints.test.js.map https://github.com/github/codeql-action/pull/79/files#diff-aefebd94fc889f42f8a52d0e6727313c4247a257be1daa1687456a05ced16482
setup-tools.test.js https://github.com/github/codeql-action/pull/79/files#diff-70963bcad2214c40d7e8b4f585846fdaa17cdaf81d892835bb48f013603cffcd
setup-tools.test.js.map https://github.com/github/codeql-action/pull/79/files#diff-3a29f40e9c937b6f982d78631234e8a84e0c26f7724fba450905036f95f69dca
test-utils.js https://github.com/github/codeql-action/pull/79/files#diff-b4e13e8361b17599de94adfe650cc487e75eeef9cbb50730a742f356ce5e53a8
test-utils.js.map https://github.com/github/codeql-action/pull/79/files#diff-af29e38e29664e6ba07c4c094a1ebe4330e5f80ed25efb9c02482bb5307f38d4
testing-utils.js https://github.com/github/codeql-action/pull/79/files#diff-0d179c52d69fc5c41a7cbaea8dbb89ee4a97c30f27a7ee0ad6319411e6e324c1
testing-utils.js.map https://github.com/github/codeql-action/pull/79/files#diff-2011d4337fad4fbe50193d77415d9e1685ef85233d55aa71dcdbe4ee2ea5af76
upload-lib.test.js https://github.com/github/codeql-action/pull/79/files#diff-7dd6b61f4eb80d26226f73154c31ac1b08d62cadc013325ffbb8ffd3787c0f73
upload-lib.test.js.map https://github.com/github/codeql-action/pull/79/files#diff-9b048476005b7e31b7f9b56a1ff23f956db320b328db45ed3803ee3dfa607519
util.test.js https://github.com/github/codeql-action/pull/79/files#diff-141be3d78540748da20f193d2ef9e73b4db3315fa26088ae9672859887a0edba
util.test.js.map https://github.com/github/codeql-action/pull/79/files#diff-2ec6a6b1036bffea2092b87dabc38530948425542e6bbbea9d1d3be8dd96220a
package.json https://github.com/github/codeql-action/pull/79/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
analysis-paths.test.ts https://github.com/github/codeql-action/pull/79/files#diff-05162bce3b960838377f4966cd89d1553478f56a1aad56a16afac9845cbc0e9e
config-utils.test.ts https://github.com/github/codeql-action/pull/79/files#diff-b89137bd6c9c170b54007f695c569094adf83a0f79f9f29272cc1a801f34c3e0
external-queries.test.ts https://github.com/github/codeql-action/pull/79/files#diff-21d7423b129cce5b52ff1b7fc283a4e816db4bbffe98d5789a7518fe59b93d9f
fingerprints.test.ts https://github.com/github/codeql-action/pull/79/files#diff-f32e00d87704c20ad4542be5c016199bb062ef1adb5954b237a909ddaad9903c
setup-tools.test.ts https://github.com/github/codeql-action/pull/79/files#diff-61e360c3c2a01644847cc1c9cd2dea7e22e53f6109fd8797287c0b0374267883
testing-utils.ts https://github.com/github/codeql-action/pull/79/files#diff-b5e75f890eca9e7fbfff472427b39ce0f5628833109b50e7b2d165729bd8c124
upload-lib.test.ts https://github.com/github/codeql-action/pull/79/files#diff-eee20e48e4d2b7151c26bf260518384f70148a0e303d29fda22101860f722b6c
util.test.ts https://github.com/github/codeql-action/pull/79/files#diff-5b8db3845646ec2fda6f1a8fb2b5b8c67460b5070568f4be6320f344704969cd
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/analysis-paths.test.jshttps://github.com/github/codeql-action/pull/79/files#diff-c34955d16f8d237ea2f635a9f48153decbffc33946b1c7cb822c37ce766da508
View file https://github.com/github/codeql-action/blob/b3ffa760ab6c7daf768c21ef048ca982e80620fd/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/79/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/analysis-paths.test.js.maphttps://github.com/github/codeql-action/pull/79/files#diff-bd92077ca457d15f5ad8c1ad068978898ee44496c181fac590843485c57edf7b
View file https://github.com/github/codeql-action/blob/b3ffa760ab6c7daf768c21ef048ca982e80620fd/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/79/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/config-utils.test.jshttps://github.com/github/codeql-action/pull/79/files#diff-d148ca8472e737b403ec8f50182b0c27ea9afdf10de4ea09c907563f7d9c7c34
View file https://github.com/github/codeql-action/blob/b3ffa760ab6c7daf768c21ef048ca982e80620fd/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/79/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/config-utils.test.js.maphttps://github.com/github/codeql-action/pull/79/files#diff-4f9b8908c9b0a8133803f7740eaa7a0c93950f9809edb95f06c950dbab40c0f9
View file https://github.com/github/codeql-action/blob/b3ffa760ab6c7daf768c21ef048ca982e80620fd/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/79/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/external-queries.test.jshttps://github.com/github/codeql-action/pull/79/files#diff-258bd6b704691025ace185f2e2981aee5db58e0a0a24c559af8355623aa429b6
View file https://github.com/github/codeql-action/blob/b3ffa760ab6c7daf768c21ef048ca982e80620fd/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/79/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/external-queries.test.js.maphttps://github.com/github/codeql-action/pull/79/files#diff-c6d90f003c496d8742fe39d6074998cea3770c17e5b09fbf5f10ab33c4ed8f0b
View file https://github.com/github/codeql-action/blob/b3ffa760ab6c7daf768c21ef048ca982e80620fd/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/79/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/fingerprints.test.jshttps://github.com/github/codeql-action/pull/79/files#diff-fae498a004f6e1749cad491be73042274156ae21d856c0f8d3c1c569def65e33
View file https://github.com/github/codeql-action/blob/b3ffa760ab6c7daf768c21ef048ca982e80620fd/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/79/files
Please reload this pagehttps://github.com/github/codeql-action/pull/79/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.