Title: cloudfall doctor's ansible-playbook check reports ok with a version read from a traceback · Issue #524 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: cloudfall doctor's ansible-playbook check reports ok with a version read from a traceback · Issue #524 · cloudfall-dev/cloudfall
X Title: cloudfall doctor's ansible-playbook check reports ok with a version read from a traceback · Issue #524 · cloudfall-dev/cloudfall
Description: Found while reviewing #518 (#514). cloudfall doctor's ansible-playbook tool check reports success when ansible-playbook fails to start: it reads a version number from whatever the command prints, and a traceback that names python3.15 giv...
Open Graph Description: Found while reviewing #518 (#514). cloudfall doctor's ansible-playbook tool check reports success when ansible-playbook fails to start: it reads a version number from whatever the command prints, a...
X Description: Found while reviewing #518 (#514). cloudfall doctor's ansible-playbook tool check reports success when ansible-playbook fails to start: it reads a version number from whatever the command print...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/524
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"cloudfall doctor's ansible-playbook check reports ok with a version read from a traceback","articleBody":"Found while reviewing #518 (#514).\n\n`cloudfall doctor`'s `ansible-playbook` tool check reports success when `ansible-playbook` fails to start: it reads a version number from whatever the command prints, and a traceback that names `python3.15` gives it one. That breaks Q-1 (never report success it cannot prove).\n\n## Reproduce\n\nOn Python 3.15 with ansible-core 2.21.0, where ansible fails at start with `AttributeError: module 'dataclasses' has no attribute '_is_type'`:\n\n```console\n$ uv run --python 3.15 --with ansible-core==2.21.0 cloudfall doctor\n```\n\nThe `ansible-playbook` entry in `data.checks` reads `\"ok\": true, \"version\": \"3.15\"`. The `ansible-start` check #518 adds reports the failure correctly, so doctor still exits 4, but the tool check itself claims a version that isn't ansible's.\n\n## Expected\n\nThe tool check fails when the command exits nonzero, and reads the version only from ansible's own `ansible-playbook [core X.Y.Z]` line.\n\n## Touches\n\n- The tool check behind `cloudfall doctor`'s `ansible-playbook` entry: the reviewer traced it to treaty's doctor tool check, so the fix may belong upstream in treaty; confirm where the version is parsed first\n\n## Suspected code\n\ntreaty's doctor tool-version check, as configured from `sdk/src/cloudfall/app.py`\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-17T15:52:54Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/524"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:17b58d70-f10e-0621-b3ff-94c62e16b538 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D20E:392C58:1DA7FF9:27FC8A4:6B055973 |
| html-safe-nonce | e942817e880692306e42a442053116a12229982c30352f7596a2964a4fdec40e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjBFOjM5MkM1ODoxREE3RkY5OjI3RkM4QTQ6NkIwNTU5NzMiLCJ2aXNpdG9yX2lkIjoiNzU5OTk2NzE0MzY1MzIwODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e03ef3e44259f4ee25dd0acf115a71cc5c37c75516b7f1fe6e2f43551d230e29 |
| hovercard-subject-tag | issue:6448475009 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/524/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dec710c15a3f69b0bce981a28b145084d9ca0dba85de6de94f58ef54c2931837/cloudfall-dev/cloudfall/issues/524 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dec710c15a3f69b0bce981a28b145084d9ca0dba85de6de94f58ef54c2931837/cloudfall-dev/cloudfall/issues/524 |
| og:image:alt | Found while reviewing #518 (#514). cloudfall doctor's ansible-playbook tool check reports success when ansible-playbook fails to start: it reads a version number from whatever the command prints, a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shipmill-romamo[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | a79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080 |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 10dff83edfd4f3617a7792a152d44991587b434c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width