René's URL Explorer Experiment


Title: Fingerprinting in the upload-sarif action fails with directories · Issue #478 · github/codeql-action · GitHub

Open Graph Title: Fingerprinting in the upload-sarif action fails with directories · Issue #478 · github/codeql-action

X Title: Fingerprinting in the upload-sarif action fails with directories · Issue #478 · github/codeql-action

Description: The Android linter started supporting sarif files in the latest version (4.2). When trying it out in one of my projects (https://github.com/jellyfin/jellyfin-androidtv) it failed uploading the artifact. This is because one of the linter ...

Open Graph Description: The Android linter started supporting sarif files in the latest version (4.2). When trying it out in one of my projects (https://github.com/jellyfin/jellyfin-androidtv) it failed uploading the arti...

X Description: The Android linter started supporting sarif files in the latest version (4.2). When trying it out in one of my projects (https://github.com/jellyfin/jellyfin-androidtv) it failed uploading the arti...

Opengraph URL: https://github.com/github/codeql-action/issues/478

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fingerprinting in the upload-sarif action fails with directories","articleBody":"The Android linter started supporting sarif files in the latest version (4.2). When trying it out in one of my projects (https://github.com/jellyfin/jellyfin-androidtv) it failed uploading the artifact. This is because one of the linter rules adds a directory as uri in the locations object. The fingerprinting code assumes it is a file and tries to fingerprint the directory. The specification says that an uri should be pointing to a file (https://rawgit.com/sarif-standard/sarif-spec/master/Static Analysis Results Interchange Format (SARIF).html#fileformat-uriproperties) but I don't expect this action to fail.\r\n\r\nError:\r\n\r\n```\r\nRun github/codeql-action/upload-sarif@v1\r\n  with:\r\n    sarif_file: .\r\n    checkout_path: /home/runner/work/jellyfin-androidtv/jellyfin-androidtv\r\n    token: ***\r\n    matrix: null\r\n  env:\r\n    JAVA_HOME: /opt/hostedtoolcache/Java_Adopt_jdk/11.0.10-9/x64\r\nUploading sarif files: [\"/home/runner/work/jellyfin-androidtv/jellyfin-androidtv/app/build/reports/detekt/detekt.sarif\",\"/home/runner/work/jellyfin-androidtv/jellyfin-androidtv/app/build/reports/lint-results.sarif\"]\r\nError: EISDIR: illegal operation on a directory, read\r\nError: EISDIR: illegal operation on a directory, read\r\n    at Object.readSync (fs.js:506:3)\r\n    at tryReadSync (fs.js:331:20)\r\n    at Object.readFileSync (fs.js:368:19)\r\n    at Object.addFingerprints (/home/runner/work/_actions/github/codeql-action/v1/lib/fingerprints.js:239:33)\r\n    at uploadFiles (/home/runner/work/_actions/github/codeql-action/v1/lib/upload-lib.js:249:33)\r\n    at Object.uploadFromActions (/home/runner/work/_actions/github/codeql-action/v1/lib/upload-lib.js:123:18)\r\n    at async run (/home/runner/work/_actions/github/codeql-action/v1/lib/upload-sarif-action.js:34:29)\r\n    at async runWrapper (/home/runner/work/_actions/github/codeql-action/v1/lib/upload-sarif-action.js:46:9) {\r\n  errno: -21,\r\n  syscall: 'read',\r\n  code: 'EISDIR'\r\n}\r\n```\r\n\r\nFile that should reproduce the issue:\r\n\r\n[android-lint.sarif.txt](https://github.com/github/codeql-action/files/6429409/android-lint.sarif.txt)","author":{"url":"https://github.com/nielsvanvelzen","@type":"Person","name":"nielsvanvelzen"},"datePublished":"2021-05-05T18:28:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/478/codeql-action/issues/478"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:659758d2-a774-007f-2962-8187a06836fc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idECA6:17CF54:1C46503:26913E7:6A5400A5
html-safe-nonce013f80fadff44098bbafe1abce4821628029ea157f7943efda2d8d680661aa41
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0E2OjE3Q0Y1NDoxQzQ2NTAzOjI2OTEzRTc6NkE1NDAwQTUiLCJ2aXNpdG9yX2lkIjoiMjM3MDM4NzA4ODAzMjEzNzM4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca6404297d49724aff5c3b55fdaddd410c57f2fb63e0b1cd565c892f8322619bc
hovercard-subject-tagissue:876724894
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/codeql-action/478/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5ce34bbeb34b01311af3af3c3869db3d0c5ef22c6cdd15539fed0d7d8c05a2ec/github/codeql-action/issues/478
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5ce34bbeb34b01311af3af3c3869db3d0c5ef22c6cdd15539fed0d7d8c05a2ec/github/codeql-action/issues/478
og:image:altThe Android linter started supporting sarif files in the latest version (4.2). When trying it out in one of my projects (https://github.com/jellyfin/jellyfin-androidtv) it failed uploading the arti...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenielsvanvelzen
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/issues/478#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fissues%2F478
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%2Fissues%2F478
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%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=github%2Fcodeql-action
Reloadhttps://github.com/github/codeql-action/issues/478
Reloadhttps://github.com/github/codeql-action/issues/478
Reloadhttps://github.com/github/codeql-action/issues/478
Please reload this pagehttps://github.com/github/codeql-action/issues/478
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
#479https://github.com/github/codeql-action/pull/479
aliscco/codeql-action#426https://github.com/aliscco/codeql-action/pull/426
Fingerprinting in the upload-sarif action fails with directorieshttps://github.com/github/codeql-action/issues/478#top
#479https://github.com/github/codeql-action/pull/479
aliscco/codeql-action#426https://github.com/aliscco/codeql-action/pull/426
https://github.com/aeisenberg
bugSomething isn't workinghttps://github.com/github/codeql-action/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/nielsvanvelzen
nielsvanvelzenhttps://github.com/nielsvanvelzen
on May 5, 2021https://github.com/github/codeql-action/issues/478#issue-876724894
https://github.com/jellyfin/jellyfin-androidtvhttps://github.com/jellyfin/jellyfin-androidtv
https://rawgit.com/sarif-standard/sarif-spec/master/Statichttps://rawgit.com/sarif-standard/sarif-spec/master/Static
android-lint.sarif.txthttps://github.com/github/codeql-action/files/6429409/android-lint.sarif.txt
aeisenberghttps://github.com/aeisenberg
bugSomething isn't workinghttps://github.com/github/codeql-action/issues?q=state%3Aopen%20label%3A%22bug%22
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.