Title: Tests copy config/examples with its ignored tmp/, so the suite fails on a checkout that has rendered inventory · Issue #226 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Tests copy config/examples with its ignored tmp/, so the suite fails on a checkout that has rendered inventory · Issue #226 · cloudfall-dev/cloudfall
X Title: Tests copy config/examples with its ignored tmp/, so the suite fails on a checkout that has rendered inventory · Issue #226 · cloudfall-dev/cloudfall
Description: Problem Several tests copy config/examples into a temporary project with shutil.copytree(EXAMPLES, project) and no ignore pattern (sdk/tests/test_domains_observe.py, sdk/tests/test_domains_apply.py, engine/tests/test_examples_render_unch...
Open Graph Description: Problem Several tests copy config/examples into a temporary project with shutil.copytree(EXAMPLES, project) and no ignore pattern (sdk/tests/test_domains_observe.py, sdk/tests/test_domains_apply.py...
X Description: Problem Several tests copy config/examples into a temporary project with shutil.copytree(EXAMPLES, project) and no ignore pattern (sdk/tests/test_domains_observe.py, sdk/tests/test_domains_apply.py...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/226
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tests copy config/examples with its ignored tmp/, so the suite fails on a checkout that has rendered inventory","articleBody":"## Problem\n\nSeveral tests copy `config/examples` into a temporary project with `shutil.copytree(EXAMPLES, project)` and no ignore pattern (`sdk/tests/test_domains_observe.py`, `sdk/tests/test_domains_apply.py`, `engine/tests/test_examples_render_unchanged.py`). On a working checkout `config/examples/tmp/` exists, because the Taskfile and CI's own \"Render Ansible inventory\" step write there, so the copy carries runtime state into the test project.\n\nOn a checkout that has rendered inventory once, 12 to 17 tests fail (for example the assertion that the project has no `tmp/`), while CI on a fresh clone is green. `sdk/tests/test_logging_deploy.py` already copies with `ignore_patterns(\"tmp\")`.\n\n## Proposal\n\n- One shared fixture that copies the examples without `tmp/`, used by every test that needs a project\n- The Taskfile and CI render their inventory outside `config/examples`\n","author":{"url":"https://github.com/romamo","@type":"Person","name":"romamo"},"datePublished":"2026-11-13T08:19:36Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/226"}
| 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:bf29db85-de9c-24fc-27ca-fe592b742151 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9928:B4606:E3D5F6:1399470:6B055976 |
| html-safe-nonce | d1b76eef94f239e6a5b0121fb136484f1752dfd2acebf42deff83fa63e1bca67 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTI4OkI0NjA2OkUzRDVGNjoxMzk5NDcwOjZCMDU1OTc2IiwidmlzaXRvcl9pZCI6IjU0NjU5NTk2MTk2MDIyNDE5MTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ff6eb8f1409ad91fe762d5ffe8c0b9e6846b7135073bd2c729f57b5b67b02a10 |
| hovercard-subject-tag | issue:6367606152 |
| 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/226/issue_layout |
| twitter:image | https://opengraph.githubassets.com/31edca421109a2233f538560c91fa14ed5e9e3bb8895030f4cc9e180e13fa209/cloudfall-dev/cloudfall/issues/226 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/31edca421109a2233f538560c91fa14ed5e9e3bb8895030f4cc9e180e13fa209/cloudfall-dev/cloudfall/issues/226 |
| og:image:alt | Problem Several tests copy config/examples into a temporary project with shutil.copytree(EXAMPLES, project) and no ignore pattern (sdk/tests/test_domains_observe.py, sdk/tests/test_domains_apply.py... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | romamo |
| 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