René's URL Explorer Experiment


Title: fix: make agent scripts easier to troubleshoot by johnstcn · Pull Request #2922 · coder/coder · GitHub

Open Graph Title: fix: make agent scripts easier to troubleshoot by johnstcn · Pull Request #2922 · coder/coder

X Title: fix: make agent scripts easier to troubleshoot by johnstcn · Pull Request #2922 · coder/coder

Description: Secure environments for developers and their agents - fix: make agent scripts easier to troubleshoot by johnstcn · Pull Request #2922 · coder/coder

Open Graph Description: This PR makes the following changes: Adds distinct exit statuses to the bootstrap scripts Makes the bootstrap scripts loop forever trying to download the coder agent Surfaces and logs the status c...

X Description: This PR makes the following changes: Adds distinct exit statuses to the bootstrap scripts Makes the bootstrap scripts loop forever trying to download the coder agent Surfaces and logs the status c...

Opengraph URL: https://github.com/coder/coder/pull/2922

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:21297e84-342c-7dcc-b5ff-0926da6badc8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD866:2A5566:265C2E:326D3B:6B018BA0
html-safe-nonce360cbea3cfc546f1db7aed4c376632f9cb825ac8cad2dd559f9b531e489da642
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODY2OjJBNTU2NjoyNjVDMkU6MzI2RDNCOjZCMDE4QkEwIiwidmlzaXRvcl9pZCI6IjY4OTY3MjczMTc0MTA4NDM1NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1bc5f68c39e5c2e41d2043b75c522a8b09a12044bc617c14349c38a461ac336f
hovercard-subject-tagpull_request:994176618
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/coder/coder/2922/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d285a6cfeac57d9a460ec41b42b2c4aff40b6efec2c9d5db6f1f11cd1a29e1fb/coder/coder/pull/2922
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d285a6cfeac57d9a460ec41b42b2c4aff40b6efec2c9d5db6f1f11cd1a29e1fb/coder/coder/pull/2922
og:image:altThis PR makes the following changes: Adds distinct exit statuses to the bootstrap scripts Makes the bootstrap scripts loop forever trying to download the coder agent Surfaces and logs the status c...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejohnstcn
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/2922#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F2922
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%2Fcoder%2Fcoder%2Fpull%2F2922
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=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/2922
Reloadhttps://github.com/coder/coder/pull/2922
Reloadhttps://github.com/coder/coder/pull/2922
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
johnstcnhttps://github.com/johnstcn
mainhttps://github.com/coder/coder/tree/main
cj/gh-1544/agent-script-waithttps://github.com/coder/coder/tree/cj/gh-1544/agent-script-wait
Conversationhttps://github.com/coder/coder/pull/2922
Commits9 (9)https://github.com/coder/coder/pull/2922/commits
Checkshttps://github.com/coder/coder/pull/2922/checks
Files changedhttps://github.com/coder/coder/pull/2922/files
fix: make agent scripts easier to troubleshoothttps://github.com/coder/coder/pull/2922#top
johnstcnhttps://github.com/johnstcn
mainhttps://github.com/coder/coder/tree/main
cj/gh-1544/agent-script-waithttps://github.com/coder/coder/tree/cj/gh-1544/agent-script-wait
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jul 12, 2022https://github.com/coder/coder/pull/2922#issue-1301935023
Please reload this pagehttps://github.com/coder/coder/pull/2922
PSScriptAnalyzerhttps://github.com/PowerShell/PSScriptAnalyzer
Please reload this pagehttps://github.com/coder/coder/pull/2922
johnstcnhttps://github.com/johnstcn
July 12, 2022 11:21https://github.com/coder/coder/pull/2922#commits-pushed-ca8aac5
https://github.com/johnstcn
add sleeps to agent startup scripthttps://github.com/coder/coder/pull/2922/commits/ca8aac50965a4d33ffb3cd09f07717d6987775b4
ca8aac5https://github.com/coder/coder/pull/2922/commits/ca8aac50965a4d33ffb3cd09f07717d6987775b4
https://github.com/johnstcn
exit 1https://github.com/coder/coder/pull/2922/commits/51235b955a18c44f600cec277913aab3868a93c7
51235b9https://github.com/coder/coder/pull/2922/commits/51235b955a18c44f600cec277913aab3868a93c7
https://github.com/johnstcn
add more detailed exit statuseshttps://github.com/coder/coder/pull/2922/commits/1b9368fb065d6aded68e4a06849bc0588bf84f39
1b9368fhttps://github.com/coder/coder/pull/2922/commits/1b9368fb065d6aded68e4a06849bc0588bf84f39
https://github.com/johnstcn
quickhttps://github.com/coder/coder/pull/2922/commits/9586595a2720fd011c707a1d94dd096578507809
9586595https://github.com/coder/coder/pull/2922/commits/9586595a2720fd011c707a1d94dd096578507809
https://github.com/johnstcn
make scripts loop foreverhttps://github.com/coder/coder/pull/2922/commits/49423350420b53e16cf3b46fbc88907438fe9e44
4942335https://github.com/coder/coder/pull/2922/commits/49423350420b53e16cf3b46fbc88907438fe9e44
https://github.com/johnstcn
more shellcheckhttps://github.com/coder/coder/pull/2922/commits/38bb5f54df3be2469c56cb838357082cf303a7cb
38bb5f5https://github.com/coder/coder/pull/2922/commits/38bb5f54df3be2469c56cb838357082cf303a7cb
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jul 12, 2022https://github.com/coder/coder/pull/2922#event-6976847920
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
kylecarbshttps://github.com/kylecarbs
mafredrihttps://github.com/mafredri
July 12, 2022 11:35https://github.com/coder/coder/pull/2922#event-6976848342
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Jul 12, 2022 https://github.com/coder/coder/pull/2922#pullrequestreview-1035668989
View reviewed changes https://github.com/coder/coder/pull/2922/files/38bb5f54df3be2469c56cb838357082cf303a7cb
provisionersdk/scripts/bootstrap_linux.shhttps://github.com/coder/coder/pull/2922/files/38bb5f54df3be2469c56cb838357082cf303a7cb#diff-8f32fa8755205d761b0da691f9464bcb369283a235ea4f433875a1580b35d663
Please reload this pagehttps://github.com/coder/coder/pull/2922
provisionersdk/scripts/bootstrap_linux.shhttps://github.com/coder/coder/pull/2922/files/38bb5f54df3be2469c56cb838357082cf303a7cb#diff-8f32fa8755205d761b0da691f9464bcb369283a235ea4f433875a1580b35d663
Please reload this pagehttps://github.com/coder/coder/pull/2922
provisionersdk/scripts/bootstrap_linux.shhttps://github.com/coder/coder/pull/2922/files/38bb5f54df3be2469c56cb838357082cf303a7cb#diff-8f32fa8755205d761b0da691f9464bcb369283a235ea4f433875a1580b35d663
Please reload this pagehttps://github.com/coder/coder/pull/2922
provisionersdk/scripts/bootstrap_darwin.shhttps://github.com/coder/coder/pull/2922/files/38bb5f54df3be2469c56cb838357082cf303a7cb#diff-607c233c1b4c82dbf719adcc32a2507bfba86292133ecb57a03ec2eff71efbeb
Please reload this pagehttps://github.com/coder/coder/pull/2922
provisionersdk/scripts/bootstrap_darwin.shhttps://github.com/coder/coder/pull/2922/files/38bb5f54df3be2469c56cb838357082cf303a7cb#diff-607c233c1b4c82dbf719adcc32a2507bfba86292133ecb57a03ec2eff71efbeb
Please reload this pagehttps://github.com/coder/coder/pull/2922
provisionersdk/scripts/bootstrap_windows.ps1https://github.com/coder/coder/pull/2922/files/38bb5f54df3be2469c56cb838357082cf303a7cb#diff-ea20784ad6d43280e291b96b0a2f8c4e939a7afe94d21152a1ca5285568b4d56
Please reload this pagehttps://github.com/coder/coder/pull/2922
https://github.com/johnstcn
address PR commentshttps://github.com/coder/coder/pull/2922/commits/89f2f7ce89023de1f332a05bfd2cce6b34bfa082
89f2f7chttps://github.com/coder/coder/pull/2922/commits/89f2f7ce89023de1f332a05bfd2cce6b34bfa082
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jul 12, 2022 https://github.com/coder/coder/pull/2922#pullrequestreview-1035797531
View reviewed changes https://github.com/coder/coder/pull/2922/files/89f2f7ce89023de1f332a05bfd2cce6b34bfa082
provisionersdk/scripts/bootstrap_windows.ps1https://github.com/coder/coder/pull/2922/files/89f2f7ce89023de1f332a05bfd2cce6b34bfa082#diff-ea20784ad6d43280e291b96b0a2f8c4e939a7afe94d21152a1ca5285568b4d56
Please reload this pagehttps://github.com/coder/coder/pull/2922
https://github.com/johnstcn
Update provisionersdk/scripts/bootstrap_windows.ps1https://github.com/coder/coder/pull/2922/commits/5e315efece14f5c216acdeadea2e18a544f09460
5e315efhttps://github.com/coder/coder/pull/2922/commits/5e315efece14f5c216acdeadea2e18a544f09460
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jul 12, 2022 https://github.com/coder/coder/pull/2922#pullrequestreview-1035800728
View reviewed changes https://github.com/coder/coder/pull/2922/files/5e315efece14f5c216acdeadea2e18a544f09460
provisionersdk/scripts/bootstrap_windows.ps1https://github.com/coder/coder/pull/2922/files/5e315efece14f5c216acdeadea2e18a544f09460#diff-ea20784ad6d43280e291b96b0a2f8c4e939a7afe94d21152a1ca5285568b4d56
johnstcnhttps://github.com/johnstcn
Jul 12, 2022https://github.com/coder/coder/pull/2922#discussion_r918965455
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/2922
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jul 12, 2022https://github.com/coder/coder/pull/2922#event-6977851948
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Jul 12, 2022 https://github.com/coder/coder/pull/2922#pullrequestreview-1035856388
View reviewed changes https://github.com/coder/coder/pull/2922/files/5e315efece14f5c216acdeadea2e18a544f09460
mafredrihttps://github.com/mafredri
https://github.com/coder/coder/pull/2922#pullrequestreview-1035856388
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/2922
https://github.com/johnstcn
Merge branch 'main' into cj/https://github.com/coder/coder/pull/2922/commits/9f90ee39f0538ad9f59fa81796b700307511820a
gh-1544https://github.com/coder/coder/issues/1544
/agent-script-waithttps://github.com/coder/coder/pull/2922/commits/9f90ee39f0538ad9f59fa81796b700307511820a
9f90ee3https://github.com/coder/coder/pull/2922/commits/9f90ee39f0538ad9f59fa81796b700307511820a
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
0f5f30bhttps://github.com/coder/coder/commit/0f5f30b6f6574f787ced3143c20c35d1832dfab9
Jul 13, 2022https://github.com/coder/coder/pull/2922#event-6984261348
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
July 13, 2022 09:17https://github.com/coder/coder/pull/2922#event-6984261460
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jul 14, 2022 https://github.com/coder/coder/pull/2922#ref-issue-1239865105
Difficult to debug failures of agent init script in Docker provider #1544 https://github.com/coder/coder/issues/1544
https://github.co/hiddenchars
https://github.com/coder/coder/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%2Fcoder%2Fcoder%2Fpull%2F2922
https://github.com/mafredri
mafredri https://github.com/mafredri
https://github.com/coder/coder/pull/2922/files/5e315efece14f5c216acdeadea2e18a544f09460
https://github.com/kylecarbs
kylecarbs https://github.com/kylecarbs
Please reload this pagehttps://github.com/coder/coder/pull/2922
https://github.com/johnstcn
johnstcn https://github.com/johnstcn
Please reload this pagehttps://github.com/coder/coder/pull/2922
https://github.com/johnstcn
https://github.com/mafredri
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.