René's URL Explorer Experiment


Title: Bot failing to start: `TypeError: glob.sync is not a function` · Issue #376 · nodejs/github-bot · GitHub

Open Graph Title: Bot failing to start: `TypeError: glob.sync is not a function` · Issue #376 · nodejs/github-bot

X Title: Bot failing to start: `TypeError: glob.sync is not a function` · Issue #376 · nodejs/github-bot

Description: @tniessen reports that Jenkins status is still not being posted to pull requests. Looking at https://ci.nodejs.org/job/post-build-status-update runs, e.g. https://ci.nodejs.org/job/post-build-status-update/1837783/flowGraphTable/, I can ...

Open Graph Description: @tniessen reports that Jenkins status is still not being posted to pull requests. Looking at https://ci.nodejs.org/job/post-build-status-update runs, e.g. https://ci.nodejs.org/job/post-build-statu...

X Description: @tniessen reports that Jenkins status is still not being posted to pull requests. Looking at https://ci.nodejs.org/job/post-build-status-update runs, e.g. https://ci.nodejs.org/job/post-build-statu...

Opengraph URL: https://github.com/nodejs/github-bot/issues/376

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bot failing to start: `TypeError: glob.sync is not a function`","articleBody":"@tniessen [reports](https://openjs-foundation.slack.com/archives/C03BJP63CH0/p1678138229956679?thread_ts=1678104091.867669\u0026cid=C03BJP63CH0) that Jenkins status is still not being posted to pull requests. \r\n\r\nLooking at https://ci.nodejs.org/job/post-build-status-update runs, e.g. https://ci.nodejs.org/job/post-build-status-update/1837783/flowGraphTable/, I can see that although the jobs are green, the HTTP request to the bot has failed:\r\n![image](https://user-images.githubusercontent.com/5445507/223419928-cb5b0042-2c89-4ff5-9c59-cad0e69eb2dc.png)\r\n\r\nhttps://ci.nodejs.org/job/post-build-status-update/1837783/execution/node/17/\r\n```console\r\nhudson.AbortException: Fail: Status code 408 is not in the accepted range: 100:399\r\n```\r\n\r\nIf I log into the server for the github-bot, I can see that the service isn't running:\r\n```console\r\nroot@infra-rackspace-debian8-x64-1:~# systemctl status github-bot\r\n● github-bot.service - github-bot\r\n   Loaded: loaded (/lib/systemd/system/github-bot.service; enabled)\r\n   Active: activating (auto-restart) (Result: exit-code) since Tue 2023-03-07 12:19:55 UTC; 41ms ago\r\n  Process: 25524 ExecStart=/usr/bin/node server.js (code=exited, status=1/FAILURE)\r\n Main PID: 25524 (code=exited, status=1/FAILURE)\r\n\r\nMar 07 12:19:55 infra-rackspace-debian8-x64-1 systemd[1]: github-bot.service: main process exited, code=exited, status=1/FAILURE\r\nMar 07 12:19:55 infra-rackspace-debian8-x64-1 systemd[1]: Unit github-bot.service entered failed state.\r\nroot@infra-rackspace-debian8-x64-1:~#\r\n```\r\n\r\nand from the syslog:\r\n\r\n```console\r\nMar  7 12:13:26 infra-rackspace-debian8-x64-1 systemd[1]: Started github-bot.\r\nMar  7 12:13:26 infra-rackspace-debian8-x64-1 node[24754]: /home/iojs/github-bot/server.js:13\r\nMar  7 12:13:26 infra-rackspace-debian8-x64-1 node[24754]: glob.sync(scriptsToLoad).forEach((file) =\u003e {\r\nMar  7 12:13:26 infra-rackspace-debian8-x64-1 node[24754]: ^\r\nMar  7 12:13:26 infra-rackspace-debian8-x64-1 node[24754]: TypeError: glob.sync is not a function\r\nMar  7 12:13:26 infra-rackspace-debian8-x64-1 node[24754]: at Object.\u003canonymous\u003e (/home/iojs/github-bot/server.js:13:6)\r\nMar  7 12:13:26 infra-rackspace-debian8-x64-1 node[24754]: at Module._compile (internal/modules/cjs/loader.js:1063:30)\r\nMar  7 12:13:26 infra-rackspace-debian8-x64-1 node[24754]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)\r\nMar  7 12:13:26 infra-rackspace-debian8-x64-1 node[24754]: at Module.load (internal/modules/cjs/loader.js:928:32)\r\nMar  7 12:13:26 infra-rackspace-debian8-x64-1 node[24754]: at Function.Module._load (internal/modules/cjs/loader.js:769:14)\r\nMar  7 12:13:26 infra-rackspace-debian8-x64-1 node[24754]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)\r\nMar  7 12:13:26 infra-rackspace-debian8-x64-1 node[24754]: at internal/main/run_main_module.js:17:47\r\nMar  7 12:13:26 infra-rackspace-debian8-x64-1 systemd[1]: github-bot.service: main process exited, code=exited, status=1/FAILURE\r\nMar  7 12:13:26 infra-rackspace-debian8-x64-1 systemd[1]: Unit github-bot.service entered failed state.\r\n```","author":{"url":"https://github.com/richardlau","@type":"Person","name":"richardlau"},"datePublished":"2023-03-07T12:20:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/376/github-bot/issues/376"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:56e80823-f31c-d8c1-226e-d59a399fd443
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB482:10A5B6:DF4EC7:132613A:6969EF1C
html-safe-noncecf014a3f23edb5e7ca31e7e580e9fe5b95d340a0adc4e2e2eacc0c241f12a9c5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDgyOjEwQTVCNjpERjRFQzc6MTMyNjEzQTo2OTY5RUYxQyIsInZpc2l0b3JfaWQiOiI1Nzk2MTY0OTU1OTIzOTM1MDA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1155daf85fbe724491fedeab58ac8dbaccfed907b332eba3ce042782f9fa85b6
hovercard-subject-tagissue:1613331906
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/nodejs/github-bot/376/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f0364a7346140d618b4046e4852f502d91cba1b7106605a7f1a9fef213ede0bf/nodejs/github-bot/issues/376
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f0364a7346140d618b4046e4852f502d91cba1b7106605a7f1a9fef213ede0bf/nodejs/github-bot/issues/376
og:image:alt@tniessen reports that Jenkins status is still not being posted to pull requests. Looking at https://ci.nodejs.org/job/post-build-status-update runs, e.g. https://ci.nodejs.org/job/post-build-statu...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerichardlau
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
turbo-cache-controlno-preview
go-importgithub.com/nodejs/github-bot git https://github.com/nodejs/github-bot.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id55435270
octolytics-dimension-repository_nwonodejs/github-bot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id55435270
octolytics-dimension-repository_network_root_nwonodejs/github-bot
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
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/github-bot/issues/376#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fgithub-bot%2Fissues%2F376
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fgithub-bot%2Fissues%2F376
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=nodejs%2Fgithub-bot
Reloadhttps://github.com/nodejs/github-bot/issues/376
Reloadhttps://github.com/nodejs/github-bot/issues/376
Reloadhttps://github.com/nodejs/github-bot/issues/376
nodejs https://github.com/nodejs
github-bothttps://github.com/nodejs/github-bot
Please reload this pagehttps://github.com/nodejs/github-bot/issues/376
Notifications https://github.com/login?return_to=%2Fnodejs%2Fgithub-bot
Fork 131 https://github.com/login?return_to=%2Fnodejs%2Fgithub-bot
Star 295 https://github.com/login?return_to=%2Fnodejs%2Fgithub-bot
Code https://github.com/nodejs/github-bot
Issues 19 https://github.com/nodejs/github-bot/issues
Pull requests 3 https://github.com/nodejs/github-bot/pulls
Actions https://github.com/nodejs/github-bot/actions
Projects 0 https://github.com/nodejs/github-bot/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/nodejs/github-bot/security
Please reload this pagehttps://github.com/nodejs/github-bot/issues/376
Insights https://github.com/nodejs/github-bot/pulse
Code https://github.com/nodejs/github-bot
Issues https://github.com/nodejs/github-bot/issues
Pull requests https://github.com/nodejs/github-bot/pulls
Actions https://github.com/nodejs/github-bot/actions
Projects https://github.com/nodejs/github-bot/projects
Security https://github.com/nodejs/github-bot/security
Insights https://github.com/nodejs/github-bot/pulse
New issuehttps://github.com/login?return_to=https://github.com/nodejs/github-bot/issues/376
New issuehttps://github.com/login?return_to=https://github.com/nodejs/github-bot/issues/376
#377https://github.com/nodejs/github-bot/pull/377
Bot failing to start: TypeError: glob.sync is not a functionhttps://github.com/nodejs/github-bot/issues/376#top
#377https://github.com/nodejs/github-bot/pull/377
https://github.com/richardlau
https://github.com/richardlau
richardlauhttps://github.com/richardlau
on Mar 7, 2023https://github.com/nodejs/github-bot/issues/376#issue-1613331906
@tniessenhttps://github.com/tniessen
reportshttps://openjs-foundation.slack.com/archives/C03BJP63CH0/p1678138229956679?thread_ts=1678104091.867669&cid=C03BJP63CH0
https://ci.nodejs.org/job/post-build-status-updatehttps://ci.nodejs.org/job/post-build-status-update
https://ci.nodejs.org/job/post-build-status-update/1837783/flowGraphTable/https://ci.nodejs.org/job/post-build-status-update/1837783/flowGraphTable/
https://user-images.githubusercontent.com/5445507/223419928-cb5b0042-2c89-4ff5-9c59-cad0e69eb2dc.png
https://ci.nodejs.org/job/post-build-status-update/1837783/execution/node/17/https://ci.nodejs.org/job/post-build-status-update/1837783/execution/node/17/
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.