René's URL Explorer Experiment


Title: Add an option to allow waiting until an analysis has been processed before finishing the Action. by chrisgavin · Pull Request #781 · github/codeql-action · GitHub

Open Graph Title: Add an option to allow waiting until an analysis has been processed before finishing the Action. by chrisgavin · Pull Request #781 · github/codeql-action

X Title: Add an option to allow waiting until an analysis has been processed before finishing the Action. by chrisgavin · Pull Request #781 · github/codeql-action

Description: This adds an option to allow waiting until the analysis has succeeded before continuing. This will be used to allow surfacing errors that have occurred while processing the uploaded SARIF file. When this option is enabled, after uploading the SARIF file the Action will call the status endpoint every 5 seconds until the processing is complete. After 2 minutes, it will give up and continue anyway. I felt that there should be a timeout in case there is some issue with processing and that it shouldn't fail the Action since it's possible the analysis will eventually be processed. I've not added the option to enable this behavior to the readme, as our hope is to test this out a bit and eventually make it the default at which point we'll remove the option. Merge / deployment checklist Confirm this change is backwards compatible with existing workflows. Confirm the readme has been updated if necessary. Confirm the changelog has been updated if necessary.

Open Graph Description: This adds an option to allow waiting until the analysis has succeeded before continuing. This will be used to allow surfacing errors that have occurred while processing the uploaded SARIF file. Whe...

X Description: This adds an option to allow waiting until the analysis has succeeded before continuing. This will be used to allow surfacing errors that have occurred while processing the uploaded SARIF file. Whe...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:1b9d4f42-0a93-bf86-b063-99cb839a919a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD7A4:3F84A9:74A65A:9E6915:6A580EE2
html-safe-noncece4638979df125ed609075941ad3f035d41fa189ecdd787f7e31a80954a21828
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0E0OjNGODRBOTo3NEE2NUE6OUU2OTE1OjZBNTgwRUUyIiwidmlzaXRvcl9pZCI6IjEzMDc3NDc5NDM0NzExMjQxOTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac12ac25608fd4825d7bea1e7180a810b3b2bb7ee9a2cf13019dc08d24940aac18
hovercard-subject-tagpull_request:760373583
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/781/files
twitter:imagehttps://avatars.githubusercontent.com/u/5584439?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5584439?s=400&v=4
og:image:altThis adds an option to allow waiting until the analysis has succeeded before continuing. This will be used to allow surfacing errors that have occurred while processing the uploaded SARIF file. Whe...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None49c8c15fabcbf356d607a90ca115c13b273e42ff8b74155de050fd229a9b0121
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
release3fb1f684e7a833eb1b2d01d39875a2b52cb4fe9b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/781/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F781%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%2F781%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/781/files
Reloadhttps://github.com/github/codeql-action/pull/781/files
Reloadhttps://github.com/github/codeql-action/pull/781/files
Please reload this pagehttps://github.com/github/codeql-action/pull/781/files
github https://github.com/github
codeql-actionhttps://github.com/github/codeql-action
Notifications https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Fork 473 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 32 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
chrisgavinhttps://github.com/chrisgavin
mainhttps://github.com/github/codeql-action/tree/main
wait-for-processinghttps://github.com/github/codeql-action/tree/wait-for-processing
Conversation 22 https://github.com/github/codeql-action/pull/781
Findings https://github.com/github/codeql-action/pull/781/findings
Commits 8 https://github.com/github/codeql-action/pull/781/commits
Checks 0 https://github.com/github/codeql-action/pull/781/checks
Files changed https://github.com/github/codeql-action/pull/781/files
Please reload this pagehttps://github.com/github/codeql-action/pull/781/files
Add an option to allow waiting until an analysis has been processed before finishing the Action. https://github.com/github/codeql-action/pull/781/files#top
Show all changes 8 commits https://github.com/github/codeql-action/pull/781/files
316ad9d Add an option to allow waiting until an analysis has been processed b… chrisgavin Oct 18, 2021 https://github.com/github/codeql-action/pull/781/commits/316ad9d9199e32dd349010cd2e0b9a976f068818
21a786f Improve a log message. chrisgavin Nov 17, 2021 https://github.com/github/codeql-action/pull/781/commits/21a786fda029c8e08b6f4d40e174c01911ae77f7
49fc4c9 Reduce log message level. chrisgavin Nov 17, 2021 https://github.com/github/codeql-action/pull/781/commits/49fc4c9b401696cf4e1dc32d588246c6b9c8d78e
823bb21 Add a default value for `wait-for-processing`. chrisgavin Nov 17, 2021 https://github.com/github/codeql-action/pull/781/commits/823bb21bbb40122f973611cde5cb38833b672135
e0b9b9a Check for errors in the analysis status response. chrisgavin Nov 17, 2021 https://github.com/github/codeql-action/pull/781/commits/e0b9b9a24813092ed9abbfac8b144567539618d5
4eef7ef Split out waiting for processing. chrisgavin Nov 17, 2021 https://github.com/github/codeql-action/pull/781/commits/4eef7ef32c610353f513f96b015d3d095efd935d
215c4f5 Move the delay to the end of the loop. chrisgavin Nov 17, 2021 https://github.com/github/codeql-action/pull/781/commits/215c4f5ff5ad210ca1604f6e5380603d1bb9d115
b9bd459 Add a clarifying comment to a `break`. chrisgavin Nov 17, 2021 https://github.com/github/codeql-action/pull/781/commits/b9bd459b702e6a1d8b495713a3204a92f8183d06
Clear filters https://github.com/github/codeql-action/pull/781/files
Please reload this pagehttps://github.com/github/codeql-action/pull/781/files
Please reload this pagehttps://github.com/github/codeql-action/pull/781/files
action.yml https://github.com/github/codeql-action/pull/781/files#diff-4f56858a6f315f152438a0c59f0d9e316f7065c75079efd37f54a28728fe14e4
analyze-action.js https://github.com/github/codeql-action/pull/781/files#diff-4926d6bcb92a4de805ceb8d280f31c24cffa2445b3a36cc658e5032a0910ed15
analyze-action.js.map https://github.com/github/codeql-action/pull/781/files#diff-bf22fdf4a2955a82f610cba9e999765d28a3da4f592c5511f2b731a1822fe648
upload-lib.js https://github.com/github/codeql-action/pull/781/files#diff-8ea2623264a4246323c551f1b018e163d8ea00c2fed5c4f4ead1c5b9d036cfd6
upload-lib.js.map https://github.com/github/codeql-action/pull/781/files#diff-4860f509f2ff29c051b04b72ffabea4f0eb9eaff65a43777a170f288fd32c851
upload-sarif-action.js https://github.com/github/codeql-action/pull/781/files#diff-5d3767541163ba07f1a1928ef585f505845a68d6a46a26fb68fa41e19786111b
upload-sarif-action.js.map https://github.com/github/codeql-action/pull/781/files#diff-040d2fc3b9cb9096ae7e926bb7edb1d4ae0e9947ce5961f468a8a2e66468a3e7
util.js https://github.com/github/codeql-action/pull/781/files#diff-3fb720f70ea34fb2975fd6c38ac4b6b6131373be2abfa4760dfaae8a25daaee2
util.js.map https://github.com/github/codeql-action/pull/781/files#diff-709978ba6652a9d1f2f2cfb89f74b8743ec9a8aac0470253725ecf2c62a1651e
analyze-action.ts https://github.com/github/codeql-action/pull/781/files#diff-c659460f1608e167fc5bef89e07b4c7db2d8cdf80e542ec788c969a6ed987d34
upload-lib.ts https://github.com/github/codeql-action/pull/781/files#diff-9c600636c759380cf603b7cb23771d1fe5b3cf73df63a71bd566c0cf34fa6b38
upload-sarif-action.ts https://github.com/github/codeql-action/pull/781/files#diff-8f3f1d0ae3f1ff6da6f40febfbdbdb1ee0a734bcd42dee83d7d5909a2b712aed
util.ts https://github.com/github/codeql-action/pull/781/files#diff-3294a832ea2276e554177e0b3007cc2d401c082912c7fbde49fa09141bf1aed1
action.yml https://github.com/github/codeql-action/pull/781/files#diff-ef14ee9b7621f93092c02c8eedf5033c4a7c02eeb549ce928be5f14d36f2d07a
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
analyze/action.ymlhttps://github.com/github/codeql-action/pull/781/files#diff-4f56858a6f315f152438a0c59f0d9e316f7065c75079efd37f54a28728fe14e4
View file https://github.com/github/codeql-action/blob/b9bd459b702e6a1d8b495713a3204a92f8183d06/analyze/action.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/781/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/781/files#diff-4f56858a6f315f152438a0c59f0d9e316f7065c75079efd37f54a28728fe14e4
Please reload this pagehttps://github.com/github/codeql-action/pull/781/files
cannisthttps://github.com/cannist
Nov 17, 2021https://github.com/github/codeql-action/pull/781/files#r751230553
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/781/files
chrisgavinhttps://github.com/chrisgavin
Nov 17, 2021https://github.com/github/codeql-action/pull/781/files#r751375131
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/781/files
cannisthttps://github.com/cannist
Nov 17, 2021https://github.com/github/codeql-action/pull/781/files#r751511017
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
docshttps://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#inputs
Please reload this pagehttps://github.com/github/codeql-action/pull/781/files
chrisgavinhttps://github.com/chrisgavin
Nov 17, 2021https://github.com/github/codeql-action/pull/781/files#r751712628
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
other docshttps://docs.github.com/en/actions/creating-actions/creating-a-composite-action#creating-an-action-metadata-file
Please reload this pagehttps://github.com/github/codeql-action/pull/781/files
cannisthttps://github.com/cannist
Nov 18, 2021https://github.com/github/codeql-action/pull/781/files#r752099949
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/781/files
https://github.com/github/codeql-action/pull/781/files#diff-4f56858a6f315f152438a0c59f0d9e316f7065c75079efd37f54a28728fe14e4
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/analyze-action.jshttps://github.com/github/codeql-action/pull/781/files#diff-4926d6bcb92a4de805ceb8d280f31c24cffa2445b3a36cc658e5032a0910ed15
View file https://github.com/github/codeql-action/blob/b9bd459b702e6a1d8b495713a3204a92f8183d06/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/781/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/analyze-action.js.maphttps://github.com/github/codeql-action/pull/781/files#diff-bf22fdf4a2955a82f610cba9e999765d28a3da4f592c5511f2b731a1822fe648
View file https://github.com/github/codeql-action/blob/b9bd459b702e6a1d8b495713a3204a92f8183d06/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/781/files
Please reload this pagehttps://github.com/github/codeql-action/pull/781/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.