René's URL Explorer Experiment


Title: treaty: doctor's tool check passes on a version read from a failed command's output · Issue #528 · cloudfall-dev/cloudfall · GitHub

Open Graph Title: treaty: doctor's tool check passes on a version read from a failed command's output · Issue #528 · cloudfall-dev/cloudfall

X Title: treaty: doctor's tool check passes on a version read from a failed command's output · Issue #528 · cloudfall-dev/cloudfall

Description: treaty's doctor tool check passes on a version read from a failed command's output. It holds no issue: #527 works around it for cloudfall doctor's ansible-playbook entry (#524), but a nonzero exit still never fails a tool check by itself...

Open Graph Description: treaty's doctor tool check passes on a version read from a failed command's output. It holds no issue: #527 works around it for cloudfall doctor's ansible-playbook entry (#524), but a nonzero exit ...

X Description: treaty's doctor tool check passes on a version read from a failed command's output. It holds no issue: #527 works around it for cloudfall doctor's ansible-playbook entry (#524), but a n...

Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/528

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"treaty: doctor's tool check passes on a version read from a failed command's output","articleBody":"treaty's doctor tool check passes on a version read from a failed command's output. It holds no issue: #527 works around it for `cloudfall doctor`'s `ansible-playbook` entry (#524), but a nonzero exit still never fails a tool check by itself.\n\n## Reproduce\n\nWith treaty 1.1.0, declare a tool in `required_tools` whose `--version` fails at start and prints a traceback naming a Python version. On Python 3.15 with ansible-core 2.21.0, `uv run --python 3.15 --with ansible-core==2.21.0 cloudfall doctor` on main before #527 reported the `ansible-playbook` entry as `\"ok\": true, \"version\": \"3.15\"` while ansible raised `AttributeError: module 'dataclasses' has no attribute '_is_type'`.\n\n## Touches\n\nThe `treaty` package 1.1.0: `doctor`'s tool checks, for every `required_tools` entry and every `Dependency`\n\n## Suspected code\n\n`treaty/_deps.py` `find(argv, pattern, ctx)` runs `ctx.run(list(argv), check=False)` and searches `stdout + stderr` for the version pattern without looking at `done.returncode`. `treaty/_builtins.py` `register_doctor` uses it for every `required_tools` entry with the generic `(\\d+(?:\\.\\d+)+)`, and for every `Dependency` with its own `version_regex`. A `Dependency(version_regex=...)` narrows the parse (what #527 does), but nothing makes a nonzero exit fail.\n\nProposed shape: in `find`, return a not-found result naming the exit status (`\u003cargv> exited \u003ccode>`) when `done.returncode != 0`, before the regex search. For a tool whose `--version` legitimately exits nonzero, an opt-out such as `Dependency(accept_exit_codes=(0, 1))`. Optionally, a per-tool regex on `required_tools`, so an app needn't declare a `Dependency` only to narrow the parse.\n\n\u003c!-- shipmill:agent -->\n","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-17T18:35:32Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/528"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ed883ad7-4b9e-8602-27ed-c4e24deed337
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC136:2D8E06:E19069:133B72F:6B0554C7
html-safe-nonceb7d6c9425c6b7593f5aa854150afd0165db0365833e0afe30a86493482e8ba42
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTM2OjJEOEUwNjpFMTkwNjk6MTMzQjcyRjo2QjA1NTRDNyIsInZpc2l0b3JfaWQiOiIxMDUyOTkwNjgyNzE0OTUyOTAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac72f3dd463565d67df94b76992e1ca91deb8efeeb2ae40739ddec99ae38133eb8
hovercard-subject-tagissue:6451507099
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/cloudfall-dev/cloudfall/528/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7f978c89a444e84d249ba5ee3072ee2eb21b826c09bee4bc07ce7fbfafc3be6c/cloudfall-dev/cloudfall/issues/528
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7f978c89a444e84d249ba5ee3072ee2eb21b826c09bee4bc07ce7fbfafc3be6c/cloudfall-dev/cloudfall/issues/528
og:image:alttreaty's doctor tool check passes on a version read from a failed command's output. It holds no issue: #527 works around it for cloudfall doctor's ansible-playbook entry (#524), but a nonzero exit ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameshipmill-romamo[bot]
hostnamegithub.com
expected-hostnamegithub.com
None854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b
turbo-cache-controlno-preview
go-importgithub.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git
octolytics-dimension-user_id339512759
octolytics-dimension-user_logincloudfall-dev
octolytics-dimension-repository_id1360999777
octolytics-dimension-repository_nwocloudfall-dev/cloudfall
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1360999777
octolytics-dimension-repository_network_root_nwocloudfall-dev/cloudfall
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
release220e980097d94ce616d5d11fbd5316d208e3fc93
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/cloudfall-dev/cloudfall/issues/528#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fissues%2F528
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%2Fcloudfall-dev%2Fcloudfall%2Fissues%2F528
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=cloudfall-dev%2Fcloudfall
Reloadhttps://github.com/cloudfall-dev/cloudfall/issues/528
Reloadhttps://github.com/cloudfall-dev/cloudfall/issues/528
Reloadhttps://github.com/cloudfall-dev/cloudfall/issues/528
cloudfall-devhttps://github.com/cloudfall-dev
cloudfallhttps://github.com/cloudfall-dev/cloudfall
Codehttps://github.com/cloudfall-dev/cloudfall
Issues78 (78)https://github.com/cloudfall-dev/cloudfall/issues
Pull requests10 (10)https://github.com/cloudfall-dev/cloudfall/pulls
Discussionshttps://github.com/cloudfall-dev/cloudfall/discussions
Actionshttps://github.com/cloudfall-dev/cloudfall/actions
Security and qualityhttps://github.com/cloudfall-dev/cloudfall/security
Insightshttps://github.com/cloudfall-dev/cloudfall/insights
https://github.com/cloudfall-dev/cloudfall
New issuehttps://github.com/login?return_to=https://github.com/cloudfall-dev/cloudfall/issues/528
New issuehttps://github.com/login?return_to=https://github.com/cloudfall-dev/cloudfall/issues/528
treaty: doctor's tool check passes on a version read from a failed command's outputhttps://github.com/cloudfall-dev/cloudfall/issues/528#top
upstreamhttps://github.com/cloudfall-dev/cloudfall/issues?q=state%3Aopen%20label%3A%22upstream%22
https://github.com/apps/shipmill-romamo
shipmill-romamohttps://github.com/apps/shipmill-romamo
on Nov 17, 2026https://github.com/cloudfall-dev/cloudfall/issues/528#issue-6451507099
#527https://github.com/cloudfall-dev/cloudfall/pull/527
#524https://github.com/cloudfall-dev/cloudfall/issues/524
#527https://github.com/cloudfall-dev/cloudfall/pull/527
#527https://github.com/cloudfall-dev/cloudfall/pull/527
shipmill-romamohttps://github.com/apps/shipmill-romamo
upstreamhttps://github.com/cloudfall-dev/cloudfall/issues?q=state%3Aopen%20label%3A%22upstream%22
on Nov 17, 2026https://github.com/cloudfall-dev/cloudfall/issues/528#event-36441570853
Sign up for freehttps://github.com/signup?return_to=https://github.com/cloudfall-dev/cloudfall/issues/528
Sign in to commenthttps://github.com/login?return_to=https://github.com/cloudfall-dev/cloudfall/issues/528
upstreamhttps://github.com/cloudfall-dev/cloudfall/issues?q=state%3Aopen%20label%3A%22upstream%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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.