Title: A granted run whose record save fails mid-run reports nothing to the agent, and the record stays running · Issue #496 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: A granted run whose record save fails mid-run reports nothing to the agent, and the record stays running · Issue #496 · cloudfall-dev/cloudfall
X Title: A granted run whose record save fails mid-run reports nothing to the agent, and the record stays running · Issue #496 · cloudfall-dev/cloudfall
Description: Found while reviewing #491 (#489). When a granted MCP run's agent record can't be saved after the run started (between the first engine step and the settle), #491 attaches the store error to the run's own exception as a Python exception ...
Open Graph Description: Found while reviewing #491 (#489). When a granted MCP run's agent record can't be saved after the run started (between the first engine step and the settle), #491 attaches the store error to the ru...
X Description: Found while reviewing #491 (#489). When a granted MCP run's agent record can't be saved after the run started (between the first engine step and the settle), #491 attaches the store error t...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/496
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"A granted run whose record save fails mid-run reports nothing to the agent, and the record stays running","articleBody":"Found while reviewing #491 (#489).\n\nWhen a granted MCP run's agent record can't be saved after the run started (between the first engine step and the settle), #491 attaches the store error to the run's own exception as a Python exception note (`add_note`). treaty builds the error envelope from `str(exc)` and drops notes, so the agent never sees it:\n\n- For a `CliExit` (an ordinary failed run), the note is lost entirely\n- For any other error, it reaches only the server's stderr traceback\n\nThe record then stays `running` on disk, and nothing tells the agent or the person that it was lost. That breaks Q-1: the record claims a run that is still going.\n\n## Expected\n\nThe error the agent receives says the agent record could not be saved, names the store folder and the record, and keeps the run's own exit code and message. For example, a `context.record_lost` field carries the store error.\n\n## Touches\n\n- `sdk/src/cloudfall/app.py` (`_granted`), `sdk/src/cloudfall/agent_gate.py` (`GrantedRun`)\n\n\u003c!-- shipmill:agent -->\n","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-17T12:25:28Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/496"}
| 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:2c24bcc2-8ae7-823b-0790-3c10c063ed30 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D8AA:25853D:27B2A66:33D96B1:6B05567C |
| html-safe-nonce | a6d3e7d4ac1afb6ec275f3dbe9271a20da06b3c4050b92ca524e503b94adaf9e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEFBOjI1ODUzRDoyN0IyQTY2OjMzRDk2QjE6NkIwNTU2N0MiLCJ2aXNpdG9yX2lkIjoiOTA0NTgyMjk1MjUzNjYyNjgxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0bd002961bb4a08f1e05e4045eeed2f8312833b5a6b111eef6943a042a0479bf |
| hovercard-subject-tag | issue:6444478836 |
| 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/496/issue_layout |
| twitter:image | https://opengraph.githubassets.com/015df044a7e153bf2aa63dd50ee0ae1a2271b0d22df780b91b88365d12db2325/cloudfall-dev/cloudfall/issues/496 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/015df044a7e153bf2aa63dd50ee0ae1a2271b0d22df780b91b88365d12db2325/cloudfall-dev/cloudfall/issues/496 |
| og:image:alt | Found while reviewing #491 (#489). When a granted MCP run's agent record can't be saved after the run started (between the first engine step and the settle), #491 attaches the store error to the ru... |
| 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