Repository navigation
[Bug]: GENERATION_FAILED (fp: bcb438c0) #455
Description
Activity
- addedbugSomething isn't workingSomething isn't workingtriageAwaiting maintainer reviewAwaiting maintainer review
on Sep 30, 2026 github-actions commented
on Sep 30, 2026 on Sep 30, 2026 – with GitHub ActionsContributorMore actionsThanks for the detailed report, and for attaching the diagnostics bundle in the follow-up comment — that saves a round trip.
Your log shows the model call itself succeeded, and the failure is in the post-generation verification step, not in
App.jsx:[generate] step=send_request.ok— providercustom-greenpt-pyma, modelIdglm-5.2-honey, ~99s, 180 streamed deltas and 1 tool call. So your custom OpenAI-compatible endpoint and BYOK config look healthy at the wire level; this is very unlikely to be a provider/model/settings problem.[generate] step=verify.fail { path: 'App.jsx', errorCount: 2, repairLimitReached: false }— the agent finished its turn, ran thedoneself-check, and the check failed with 2 errors, both of which point at the verifier harness document itself, not at anything the model wrote:resource failed: net::ERR_FILE_NOT_FOUND [file:///tmp/codesign-done-verify-7WVzvK/verify.html]runtime verifier load failed: net::ERR_FILE_NOT_FOUND at file:///tmp/codesign-done-verify-7WVzvK/verify.html
generate.failthen reportscode: 'GENERATION_INCOMPLETE'(surfaced in the UI asGENERATION_FAILED), andsnapshot.createdfires straight after, so your workspace and the initial snapshot were preserved. Nothing you generated was destroyed.
net::ERR_FILE_NOT_FOUNDis a Chromium file-URL error, so the verifier harness is being written under$TMPDIR(/tmp/codesign-done-verify-*) and then loaded in a Chromium-backed surface that could not find it at load time. That is consistent with a Linux-side verifier infrastructure failure — e.g. the temp harness not existing yet when navigation starts, or/tmpas seen by the loading process being different from the one the file was written into (sandboxed installs such as Snap/Flatpak, or aTMPDIRmismatch between the main process and the verification browser). I could not confirm which of those it is from the log alone.One observation worth confirming:
repairLimitReached: falsemeans the auto-repair loop had not exhausted its budget, yet generation aborted. Since both errors are in the harness rather than inApp.jsx, there was likely nothing in the user code for the repair pass to fix — which is another sign this is verifier plumbing, not a bad generation.Workaround in the meantime: open the design from the hub and use Files/Preview on the kept workspace. If the preview renders, the design is intact and only the verify step failed. The public README notes that "Preview and final verification resolve local assets relative to the source file inside the bound workspace. Missing assets and paths outside that workspace remain verification errors" (
README.md, "See it generate"), so retrying the same prompt is the fastest way to tell whether this is intermittent or deterministic.Need more info:
- How did you install the app on Linux — AppImage,
.deb, Snap, Flatpak, or from source viapnpm dev? Sandboxed packages can give the app a private/tmpthat the verification browser cannot see. - Does re-running the same prompt reproduce the identical
codesign-done-verify-*/ERR_FILE_NOT_FOUNDfailure, or does it sometimes complete? - Does Preview of the kept workspace render correctly, and does a PDF/PNG export (which also uses a Chromium surface) fail the same way?
- What does
echo $TMPDIRprint in the shell you launch the app from, and is/tmpwritable and not full on your machine?
Open-CoDesign Bot
- added a commit that references this issue
on Oct 5, 2026
Description
I entered a basic prompt, it created a design then gave me this error.
Steps to reproduce
Expected behavior
No error.
Actual behavior
Error invoking remote method 'codesign:v1:generate': CodesignError: Design verification failed for App.jsx.
The workspace files have been kept, but the design is not ready. Fix the errors and retry.
resource failed: net::ERR_FILE_NOT_FOUND [file:///tmp/codesign-done-verify-7WVzvK/verify.html]
runtime verifier load failed: net::ERR_FILE_NOT_FOUND at file:///tmp/codesign-done-verify-7WVzvK/verify.html [file:///tmp/codesign-done-verify-7WVzvK/verify.html]
open-codesign version
0.2.2
Platform
Linux
OS version
7.0.0-30-generic
Model provider (if relevant)
Other
Error code
GENERATION_FAILED
Diagnostics bundle
Bundle saved locally at ~/Downloads/open-codesign-diagnostics-2026-09-30T21-46-59.zip. Attach it to this issue after submitting.
Logs
} [2026-09-30 22:46:04.591] [info] (main:ipc) agent.turn_end { runId: 'muomv2kz-25wwle', generationId: 'muomv2kz-25wwle', deltas: 16, tools: 1 } [2026-09-30 22:46:04.591] [info] (main:ipc) agent.turn_start { runId: 'muomv2kz-25wwle', generationId: 'muomv2kz-25wwle' } [2026-09-30 22:46:12.079] [info] (main:ipc) agent.turn_end { runId: 'muomv2kz-25wwle', generationId: 'muomv2kz-25wwle', deltas: 164, tools: 0 } [2026-09-30 22:46:12.079] [info] (main:ipc) agent.end { runId: 'muomv2kz-25wwle', generationId: 'muomv2kz-25wwle' } [2026-09-30 22:46:12.079] [info] (main:ipc) [generate] step=send_request.ok { runId: 'muomv2kz-25wwle', generationId: 'muomv2kz-25wwle', provider: 'custom-greenpt-pyma', modelId: 'glm-5.2-honey', ms: 99413 } [2026-09-30 22:46:12.079] [error] (main:ipc) [generate] step=verify.fail { runId: 'muomv2kz-25wwle', generationId: 'muomv2kz-25wwle', provider: 'custom-greenpt-pyma', modelId: 'glm-5.2-honey', path: 'App.jsx', errorCount: 2, repairLimitReached: false } [2026-09-30 22:46:12.080] [error] (main:ipc) generate.fail { runId: 'muomv2kz-25wwle', generationId: 'muomv2kz-25wwle', ms: 102417, provider: 'custom-greenpt-pyma', modelId: 'glm-5.2-honey', baseUrl: 'https://api.greenpt.ai/v1', message: 'Design verification failed for App.jsx.\n' + 'The workspace files have been kept, but the design is not ready. Fix the errors and retry.\n' + 'resource failed: net::ERR_FILE_NOT_FOUND [file:///tmp/codesign-done-verify-7WVzvK/verify.html]\n' + 'runtime verifier load failed: net::ERR_FILE_NOT_FOUND at file:///tmp/codesign-done-verify-7WVzvK/verify.html [file:///tmp/codesign-done-verify-7WVzvK/verify.html]', code: 'GENERATION_INCOMPLETE' } [2026-09-30 22:46:12.084] [error] (renderer:console) [store] applyGenerateError {"generationId":"muomv2kz-25wwle","designId":"81acb1cc-ae0b-4bdc-9f64-bf2652b9144b","message":"Error invoking remote method 'codesign:v1:generate': CodesignError: Design verification failed for App.jsx.\nThe workspace files have been kept, but the design is not ready. Fix the errors and retry.\nresource failed: net::ERR_FILE_NOT_FOUND [file:///tmp/codesign-done-verify-7WVzvK/verify.html]\nruntime verifier load failed: net::ERR_FILE_NOT_FOUND at file:///tmp/codesign-done-verify-7WVzvK/verify.html [file:///tmp/codesign-done-verify-7WVzvK/verify.html]"} {} [2026-09-30 22:46:12.274] [info] (snapshots-ipc) snapshot.created { id: '549adc20-a1f2-4617-b3ff-17cb141ff671', type: 'initial', designId: '81acb1cc-ae0b-4bdc-9f64-bf2652b9144b' }