René's URL Explorer Experiment


Title: Add context to JSON parse errors by mbg · Pull Request #4161 · github/codeql-action · GitHub

Open Graph Title: Add context to JSON parse errors by mbg · Pull Request #4161 · github/codeql-action

X Title: Add context to JSON parse errors by mbg · Pull Request #4161 · github/codeql-action

Description: Actions for running CodeQL analysis. Contribute to github/codeql-action development by creating an account on GitHub.

Open Graph Description: This PR wraps a few existing JSON.parse calls in try/catch blocks in order to (essentially) re-throw errors with more context added to them about the specific JSON.parse call that failed. That can ...

X Description: This PR wraps a few existing JSON.parse calls in try/catch blocks in order to (essentially) re-throw errors with more context added to them about the specific JSON.parse call that failed. That can ...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:5ec3f555-143f-7294-4c84-d498b54aafa9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD410:5463F:55D2E5:745854:6AED1FE5
html-safe-noncea11cc665ae63ac1bfe9f80e359140b0b2f02386058251f90ff9283ff6ee250bf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDEwOjU0NjNGOjU1RDJFNTo3NDU4NTQ6NkFFRDFGRTUiLCJ2aXNpdG9yX2lkIjoiNTg4MzkxNjUzNjU4MDQ4MDk5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace65db078308921e5c64f203fc8ae0601bd06eb31f7366d102d687eedd2605ce7
hovercard-subject-tagpull_request:4605196764
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/github/codeql-action/4161/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2187e3290d19eb5d08063bfc070417cc4428a523f2fb084e0ac84d6435fc352c/github/codeql-action/pull/4161
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2187e3290d19eb5d08063bfc070417cc4428a523f2fb084e0ac84d6435fc352c/github/codeql-action/pull/4161
og:image:altThis PR wraps a few existing JSON.parse calls in try/catch blocks in order to (essentially) re-throw errors with more context added to them about the specific JSON.parse call that failed. That can ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamembg
hostnamegithub.com
expected-hostnamegithub.com
Nonee3e0f7f63e50c6fe879198a93a0a023a648ecc0a5e9bc3b5e033ac57172237e6
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release707a24b346ac8a82878b9c084efaa38a997660cb
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/4161#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F4161
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F4161
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=github%2Fcodeql-action
Reloadhttps://github.com/github/codeql-action/pull/4161
Reloadhttps://github.com/github/codeql-action/pull/4161
Reloadhttps://github.com/github/codeql-action/pull/4161
githubhttps://github.com/github
codeql-actionhttps://github.com/github/codeql-action
Codehttps://github.com/github/codeql-action
Issues164 (164)https://github.com/github/codeql-action/issues
Pull requests41 (41)https://github.com/github/codeql-action/pulls
Actionshttps://github.com/github/codeql-action/actions
Security and quality2 (2)https://github.com/github/codeql-action/security
Insightshttps://github.com/github/codeql-action/pulse
https://github.com/github/codeql-action
mbghttps://github.com/mbg
mainhttps://github.com/github/codeql-action/tree/main
mbg/improve-json-failureshttps://github.com/github/codeql-action/tree/mbg/improve-json-failures
Conversationhttps://github.com/github/codeql-action/pull/4161
Commits12 (12)https://github.com/github/codeql-action/pull/4161/commits
Checkshttps://github.com/github/codeql-action/pull/4161/checks
Files changedhttps://github.com/github/codeql-action/pull/4161/files
Add context to JSON parse errorshttps://github.com/github/codeql-action/pull/4161#top
mbghttps://github.com/mbg
mainhttps://github.com/github/codeql-action/tree/main
mbg/improve-json-failureshttps://github.com/github/codeql-action/tree/mbg/improve-json-failures
https://github.com/mbg
mbghttps://github.com/mbg
Sep 22, 2026https://github.com/github/codeql-action/pull/4161#issue-5543254900
changeloghttps://github.com/github/codeql-action/blob/main/CHANGELOG.md
readmehttps://github.com/github/codeql-action/blob/main/README.md
Please reload this pagehttps://github.com/github/codeql-action/pull/4161
mbghttps://github.com/mbg
September 22, 2026 18:40https://github.com/github/codeql-action/pull/4161#commits-pushed-f042742
https://github.com/mbg
Wrap JSON parse errors in resolveExtractor with contexthttps://github.com/github/codeql-action/pull/4161/commits/f042742baf35d884f8d502e842ed0f927071edbf
f042742https://github.com/github/codeql-action/pull/4161/commits/f042742baf35d884f8d502e842ed0f927071edbf
https://github.com/mbg
Wrap JSON parse errors in restoreInputs with contexthttps://github.com/github/codeql-action/pull/4161/commits/a5c2338ec0c8df37f677f9e61b6ea99820253bcc
a5c2338https://github.com/github/codeql-action/pull/4161/commits/a5c2338ec0c8df37f677f9e61b6ea99820253bcc
https://github.com/mbg
Wrap JSON parse errors in getTracerConfigForCluster with contexthttps://github.com/github/codeql-action/pull/4161/commits/c0369726eea406aff976ade45ef6382836cbbdaa
c036972https://github.com/github/codeql-action/pull/4161/commits/c0369726eea406aff976ade45ef6382836cbbdaa
https://github.com/mbg
Wrap JSON parse errors in parseMatrixInput with contexthttps://github.com/github/codeql-action/pull/4161/commits/2294a7a8b133c56c46ad0e19037584d196c43c16
2294a7ahttps://github.com/github/codeql-action/pull/4161/commits/2294a7a8b133c56c46ad0e19037584d196c43c16
https://github.com/mbg
Wrap JSON parse errors in cloneObject with contexthttps://github.com/github/codeql-action/pull/4161/commits/8e36092a163a5263056b109fa4fc3dd0862c8ac8
8e36092https://github.com/github/codeql-action/pull/4161/commits/8e36092a163a5263056b109fa4fc3dd0862c8ac8
https://github.com/mbg
Wrap JSON parse errors in readSarifFile with contexthttps://github.com/github/codeql-action/pull/4161/commits/fe0a932a6a287152f436400a01d897aec8210ebe
fe0a932https://github.com/github/codeql-action/pull/4161/commits/fe0a932a6a287152f436400a01d897aec8210ebe
https://github.com/mbg
Fix formattinghttps://github.com/github/codeql-action/pull/4161/commits/660f7c5f24a5addd7edc96c50399529d4800ef5d
660f7c5https://github.com/github/codeql-action/pull/4161/commits/660f7c5f24a5addd7edc96c50399529d4800ef5d
https://github.com/mbg
mbghttps://github.com/mbg
henrymercerhttps://github.com/henrymercer
September 22, 2026 17:58https://github.com/github/codeql-action/pull/4161#event-31620371606
https://github.com/mbg
mbghttps://github.com/mbg
code ownerhttps://github.com/github/codeql-action/blob/33141e5cce18b86dcd9e03298ac9a7284c1f9962/CODEOWNERS#L1
September 22, 2026 17:58https://github.com/github/codeql-action/pull/4161#event-31620372729
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
September 22, 2026 17:58https://github.com/github/codeql-action/pull/4161#event-31620372864
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
size/S https://github.com/github/codeql-action/issues?q=state%3Aopen%20label%3Asize%2FS
Sep 22, 2026https://github.com/github/codeql-action/pull/4161#event-31620402986
started reviewinghttps://github.com/github/codeql-action/sessions/f1146a4b-2464-4345-a7f7-43caedb9cd8f
mbghttps://github.com/mbg
September 22, 2026 17:59https://github.com/github/codeql-action/pull/4161#event-31620420160
View session https://github.com/github/codeql-action/sessions/f1146a4b-2464-4345-a7f7-43caedb9cd8f
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Sep 22, 2026 https://github.com/github/codeql-action/pull/4161#pullrequestreview-5281768472
View reviewed changes https://github.com/github/codeql-action/pull/4161/files/660f7c5f24a5addd7edc96c50399529d4800ef5d
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/github/codeql-action/pull/4161#pullrequestreview-5281768472
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Excluding content from Copilothttps://docs.github.com/en/copilot/how-tos/configure-content-exclusion/exclude-content-from-copilot
Guard against parsing empty persisted statehttps://github.com/github/codeql-action/pull/4161#discussion_r4074763957
Add a code-review agent skillhttps://github.com/github/codeql-action/new/main?filename=.github/skills/code-review/SKILL.md
Learn more in the docs.https://docs.github.com/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review?tool=webui#mcp-servers-and-agent-skills
Please reload this pagehttps://github.com/github/codeql-action/pull/4161
src/actions-util.tshttps://github.com/github/codeql-action/pull/4161/files/660f7c5f24a5addd7edc96c50399529d4800ef5d#diff-272a83a2815879238f61d8c6a4358a34cf98138946d7e7e950851282d8ca0b7d
Please reload this pagehttps://github.com/github/codeql-action/pull/4161
https://github.com/mbg
Restore previous restoreInputs behaviourhttps://github.com/github/codeql-action/pull/4161/commits/fa4712895bf510badfee5b98edde9378f80e6dde
fa47128https://github.com/github/codeql-action/pull/4161/commits/fa4712895bf510badfee5b98edde9378f80e6dde
https://github.com/mbg
mbghttps://github.com/mbg
Sep 23, 2026https://github.com/github/codeql-action/pull/4161#issuecomment-5794169919
we now get the missing contexthttps://github.com/github/codeql-action/actions/runs/35765510016/job/106873900151?pr=4161#step:9:1078
Please reload this pagehttps://github.com/github/codeql-action/pull/4161
mbghttps://github.com/mbg
September 24, 2026 11:34https://github.com/github/codeql-action/pull/4161#commits-pushed-b5f938c
https://github.com/mbg
Log error in restoreInputs instead of re-throwing ithttps://github.com/github/codeql-action/pull/4161/commits/b5f938c947412bd5d6ad60b72c4f25b991740adf
b5f938chttps://github.com/github/codeql-action/pull/4161/commits/b5f938c947412bd5d6ad60b72c4f25b991740adf
https://github.com/mbg
Merge remote-tracking branch 'origin/main' into mbg/improve-json-fail…https://github.com/github/codeql-action/pull/4161/commits/aa2cb993a1c45572002691738627435f1eac7e7b
aa2cb99https://github.com/github/codeql-action/pull/4161/commits/aa2cb993a1c45572002691738627435f1eac7e7b
https://github.com/mbg
Log error in getTracerConfigForCluster instead of re-throwing ithttps://github.com/github/codeql-action/pull/4161/commits/19aa55de51e0d269aac6e00e337be7c5eaa1b575
19aa55dhttps://github.com/github/codeql-action/pull/4161/commits/19aa55de51e0d269aac6e00e337be7c5eaa1b575
https://github.com/mbg
Merge remote-tracking branch 'origin/main' into mbg/improve-json-fail…https://github.com/github/codeql-action/pull/4161/commits/38c1d74ffa696a4f4ed1012102deab69d134cfed
38c1d74https://github.com/github/codeql-action/pull/4161/commits/38c1d74ffa696a4f4ed1012102deab69d134cfed
https://github.com/henrymercer
henrymercerhttps://github.com/henrymercer
Sep 24, 2026 https://github.com/github/codeql-action/pull/4161#pullrequestreview-5303576449
View reviewed changes https://github.com/github/codeql-action/pull/4161/files/38c1d74ffa696a4f4ed1012102deab69d134cfed
https://github.com/mbg
mbghttps://github.com/mbg
September 24, 2026 11:11https://github.com/github/codeql-action/pull/4161#event-31750402932
https://github.com/mbg
mbghttps://github.com/mbg
merge queuehttps://github.com/github/codeql-action/queue/main
Sep 24, 2026https://github.com/github/codeql-action/pull/4161#event-31750853565
fa8392bhttps://github.com/github/codeql-action/commit/fa8392b7e54a5d74a53270a4aa7defa307aa415c
Sep 24, 2026https://github.com/github/codeql-action/pull/4161#event-31751572681
Please reload this pagehttps://github.com/github/codeql-action/pull/4161
https://github.com/mbg
mbghttps://github.com/mbg
September 24, 2026 11:30https://github.com/github/codeql-action/pull/4161#event-31751576080
Merge main into releases/v4 #4214 https://github.com/github/codeql-action/pull/4214
Merge releases/v4 into releases/v3 #4216 https://github.com/github/codeql-action/pull/4216
https://github.com/shyouhei
shyouheihttps://github.com/shyouhei
Oct 16, 2026 https://github.com/github/codeql-action/pull/4161#ref-pullrequest-5868645792
ci: bump github/codeql-action/upload-sarif from 4.38.2 to 4.38.3 sacloud/sacloud-sdk-go#289 https://github.com/sacloud/sacloud-sdk-go/pull/289
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F4161
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/github/codeql-action/pull/4161/files/660f7c5f24a5addd7edc96c50399529d4800ef5d
https://github.com/henrymercer
henrymercer https://github.com/henrymercer
https://github.com/github/codeql-action/pull/4161/files/38c1d74ffa696a4f4ed1012102deab69d134cfed
Please reload this pagehttps://github.com/github/codeql-action/pull/4161
size/S https://github.com/github/codeql-action/issues?q=state%3Aopen%20label%3Asize%2FS
Please reload this pagehttps://github.com/github/codeql-action/pull/4161
https://github.com/mbg
https://github.com/henrymercer
https://github.com/apps/copilot-pull-request-reviewer
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.