René's URL Explorer Experiment


Title: Scripts: be more robust when parsing test logs by owen-mc · Pull Request #21160 · github/codeql · GitHub

Open Graph Title: Scripts: be more robust when parsing test logs by owen-mc · Pull Request #21160 · github/codeql

X Title: Scripts: be more robust when parsing test logs by owen-mc · Pull Request #21160 · github/codeql

Description: The script was falling over on this log, I believe because of the unexpected getSignatureParameterName line in this section: --- expected +++ actual @@ -135,6 +135,7 @@ | stl.h:678:33:678:38 | format | std | (format_string,Args &&) | | format | 0 | | stl.h:678:33:678:38 | format | std | (format_string,Args &&) | | format | 1 | | stl.h:678:33:678:38 | format | std | (format_string,Args &&) | | format | 1 | +| taint.cpp:735:7:735:12 | malloc | | (size_t) | | malloc | 0 | | taint.cpp:847:5:847:11 | toupper | | (int) | | toupper | 0 | | taint.cpp:848:5:848:11 | tolower | | (int) | | tolower | 0 | getSignatureParameterName Error: [3/3] [1477/2812 comp 17.7s eval 3.9s] FAILED(RESULT) /home/runner/work/semmle-code/semmle-code/ql/cpp/ql/test/library-tests/dataflow/taint-tests/test_mad-signatures.ql The terminal output was as follow: INFO: 'Java Language Tests Linux': Making patches INFO: 'CPP Language Tests Linux': Making patches Traceback (most recent call last): File "/Users/owen-mc/workspace/code/ql/misc/scripts/accept-expected-changes-from-ci.py", line 504, in main(pr_number, override_sha, force=args.force, wait_for_ci=args.wait_for_ci) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/owen-mc/workspace/code/ql/misc/scripts/accept-expected-changes-from-ci.py", line 392, in main patches = make_patches_from_log_file(log_content.splitlines()) File "/Users/owen-mc/workspace/code/ql/misc/scripts/accept-expected-changes-from-ci.py", line 132, in make_patches_from_log_file error_line = parse_log_line(next(lines)) ~~~~^^^^^^^ StopIteration I asked copilot to fix it and it added this try-except block so that at least other patches could be produced. Now when I run the script I get this output: INFO: 'Java Language Tests Linux': Making patches INFO: 'CPP Language Tests Linux': Making patches WARNING: Encountered unexpected end of logs while parsing failure block. INFO: 'C# Language Tests Linux': Making patches INFO: 'Go Language Tests Linux': Making patches (And then a C# patch failed to apply, but I assume that's unrelated.)

Open Graph Description: The script was falling over on this log, I believe because of the unexpected getSignatureParameterName line in this section: --- expected +++ actual @@ -135,6 +135,7 @@ | stl.h:678:33:678:38 | for...

X Description: The script was falling over on this log, I believe because of the unexpected getSignatureParameterName line in this section: --- expected +++ actual @@ -135,6 +135,7 @@ | stl.h:678:33:678:38 | for...

Opengraph URL: https://github.com/github/codeql/pull/21160

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:2b895d88-fd6f-2920-4455-40698c4ad99a
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-id9F0A:36133E:782E96A:9F9EF9F:696DF491
html-safe-nonce9c79037968449720b33f317f5d4b75950fd5766c68c67ee0515d0b2f39647554
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjBBOjM2MTMzRTo3ODJFOTZBOjlGOUVGOUY6Njk2REY0OTEiLCJ2aXNpdG9yX2lkIjoiNzgxNjg3NzIxNTM0NDA5NjQwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac496d61b78c32e4fa95eb5ea395455755bc9c9de96b1993e12ab49e5b66e9d343
hovercard-subject-tagpull_request:3169395348
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/github/codeql/pull/21160/checks
twitter:imagehttps://avatars.githubusercontent.com/u/62447351?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/62447351?s=400&v=4
og:image:altThe script was falling over on this log, I believe because of the unexpected getSignatureParameterName line in this section: --- expected +++ actual @@ -135,6 +135,7 @@ | stl.h:678:33:678:38 | for...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064
turbo-cache-controlno-cache
go-importgithub.com/github/codeql git https://github.com/github/codeql.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id143040428
octolytics-dimension-repository_nwogithub/codeql
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143040428
octolytics-dimension-repository_network_root_nwogithub/codeql
turbo-body-classeslogged-out env-production page-responsive full-width full-width-p-0
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7e5ae23c70136152637ceee8d6faceb35596ec46
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/github/codeql/pull/21160/checks#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F21160%2Fchecks
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F21160%2Fchecks
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=github%2Fcodeql
Reloadhttps://patch-diff.githubusercontent.com/github/codeql/pull/21160/checks
Reloadhttps://patch-diff.githubusercontent.com/github/codeql/pull/21160/checks
Reloadhttps://patch-diff.githubusercontent.com/github/codeql/pull/21160/checks
github https://patch-diff.githubusercontent.com/github
codeqlhttps://patch-diff.githubusercontent.com/github/codeql
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub%2Fcodeql
Fork 1.9k https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub%2Fcodeql
Star 9.1k https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub%2Fcodeql
Code https://patch-diff.githubusercontent.com/github/codeql
Issues 918 https://patch-diff.githubusercontent.com/github/codeql/issues
Pull requests 367 https://patch-diff.githubusercontent.com/github/codeql/pulls
Discussions https://patch-diff.githubusercontent.com/github/codeql/discussions
Actions https://patch-diff.githubusercontent.com/github/codeql/actions
Projects 0 https://patch-diff.githubusercontent.com/github/codeql/projects
Models https://patch-diff.githubusercontent.com/github/codeql/models
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/github/codeql/security
Please reload this pagehttps://patch-diff.githubusercontent.com/github/codeql/pull/21160/checks
Insights https://patch-diff.githubusercontent.com/github/codeql/pulse
Code https://patch-diff.githubusercontent.com/github/codeql
Issues https://patch-diff.githubusercontent.com/github/codeql/issues
Pull requests https://patch-diff.githubusercontent.com/github/codeql/pulls
Discussions https://patch-diff.githubusercontent.com/github/codeql/discussions
Actions https://patch-diff.githubusercontent.com/github/codeql/actions
Projects https://patch-diff.githubusercontent.com/github/codeql/projects
Models https://patch-diff.githubusercontent.com/github/codeql/models
Security https://patch-diff.githubusercontent.com/github/codeql/security
Insights https://patch-diff.githubusercontent.com/github/codeql/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose
owen-mchttps://patch-diff.githubusercontent.com/owen-mc
github:mainhttps://patch-diff.githubusercontent.com/github/codeql/tree/main
owen-mc:scripts/accept-ci-changes-more-robusthttps://patch-diff.githubusercontent.com/owen-mc/codeql/tree/scripts/accept-ci-changes-more-robust
Conversation 2 https://patch-diff.githubusercontent.com/github/codeql/pull/21160
Commits 1 https://patch-diff.githubusercontent.com/github/codeql/pull/21160/commits
Checks 6 https://patch-diff.githubusercontent.com/github/codeql/pull/21160/checks
Files changed 1 https://patch-diff.githubusercontent.com/github/codeql/pull/21160/files
Please reload this pagehttps://patch-diff.githubusercontent.com/github/codeql/pull/21160/checks
Sign in for the full log viewhttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F21160%2Fchecks
Scripts: be more robust when parsing test logs https://patch-diff.githubusercontent.com/github/codeql/pull/21160/checks#top
Please reload this pagehttps://patch-diff.githubusercontent.com/github/codeql/pull/21160/checks
Pull Request Labeler on: pull_request_target https://patch-diff.githubusercontent.com/github/codeql/actions/runs/20955483432
triage https://patch-diff.githubusercontent.com/github/codeql/actions/runs/20955483432/job/60218941261?pr=21160
Ruby: Run RTJO Language Tests on: pull_request https://patch-diff.githubusercontent.com/github/codeql/actions/runs/20955483890
qltest-rtjo https://patch-diff.githubusercontent.com/github/codeql/actions/runs/20955483890/job/60218942783?pr=21160
Check overlay annotations on: pull_request https://patch-diff.githubusercontent.com/github/codeql/actions/runs/20955483914
sync https://patch-diff.githubusercontent.com/github/codeql/actions/runs/20955483914/job/60218942788?pr=21160
Run QL for QL on: pull_request https://patch-diff.githubusercontent.com/github/codeql/actions/runs/20955483940
analyze https://patch-diff.githubusercontent.com/github/codeql/actions/runs/20955483940/job/60218942916?pr=21160
Check synchronized files on: pull_request https://patch-diff.githubusercontent.com/github/codeql/actions/runs/20955483982
sync https://patch-diff.githubusercontent.com/github/codeql/actions/runs/20955483982/job/60218943073?pr=21160
CodeQL https://patch-diff.githubusercontent.com/github/codeql/pull/21160/checks?check_run_id=60219197494
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.