Skip to content

[Bug]: GENERATION_FAILED (fp: c36fc904) #365

@ArnabXD

Description

@ArnabXD

Description

I am designing existing astro+react codebase. On first attempt it runs smpoothly, but whenever I try to reiterate or mention specific issue to get fixed, it throws an error. There is no App.jsx, my assumption is it is calling any tool.

My preview mode is Connected URL, pointed to http://localhost:4321

Code: GENERATION_FAILED
Scope: generate
Run id: mpkr45zr-hqc3n1
Fingerprint: c36fc904
Message: Error invoking remote method 'codesign:v1:generate': CodesignError: Generation incomplete: workspace App.jsx is missing or empty and no done() target file is available.

Steps to reproduce

  • Open up any astro codebase (I tried my three different projects, one was very minimal as a fresh template)
  • make any initial change
  • ask it to rework on anything, or mention any file name/path/add-to-context

Expected behavior

It should work on existing files, not look for App.jsx everywhere.

Actual behavior

Error invoking remote method 'codesign:v1:generate': CodesignError: Generation incomplete: workspace App.jsx is missing or empty and no done() target file is available. — user notes: I am trying to refactor an astro website
It did work fine for a file, when I am asking to fix something, it keeps looking for App.jsx somehow

open-codesign version

0.2.1

Platform

Linux

OS version

OS: Fedora Linux 44 (Workstation Edition) x864 (Linux 7.0.9-205.fc44.x86_64_

Model provider (if relevant)

Other

Error code

GENERATION_FAILED

Diagnostics bundle

Bundle saved locally at ~/Downloads/open-codesign-diagnostics-2026-05-24T13-57-30.zip. Attach it to this issue after submitting.

Logs

[2026-05-24 19:26:59.387] [info]   (main:ipc) agent.tool_start {
  runId: 'mpjucq5e-bwifml',
  generationId: 'mpjucq5e-bwifml',
  tool: 'inspect_workspace'
}
[2026-05-24 19:26:59.411] [info]   (main:ipc) agent.tool_end {
  runId: 'mpjucq5e-bwifml',
  generationId: 'mpjucq5e-bwifml',
  tool: 'inspect_workspace',
  isError: false,
  status: 'done'
}
[2026-05-24 19:26:59.411] [info]   (main:ipc) agent.turn_end {
  runId: 'mpjucq5e-bwifml',
  generationId: 'mpjucq5e-bwifml',
  deltas: 1,
  tools: 1
}
[2026-05-24 19:26:59.411] [info]   (main:ipc) agent.turn_start { runId: 'mpjucq5e-bwifml', generationId: 'mpjucq5e-bwifml' }
[2026-05-24 19:27:02.930] [info]   (main:ipc) agent.turn_end {
  runId: 'mpjucq5e-bwifml',
  generationId: 'mpjucq5e-bwifml',
  deltas: 1,
  tools: 0
}
[2026-05-24 19:27:02.930] [info]   (main:ipc) agent.end { runId: 'mpjucq5e-bwifml', generationId: 'mpjucq5e-bwifml' }
[2026-05-24 19:27:02.930] [info]   (main:ipc) [generate] step=send_request.ok {
  runId: 'mpjucq5e-bwifml',
  generationId: 'mpjucq5e-bwifml',
  provider: 'custom-minimax-5ku9',
  modelId: 'MiniMax-M2.7',
  ms: 11273
}
[2026-05-24 19:27:02.930] [info]   (main:ipc) [generate] step=parse_response {
  runId: 'mpjucq5e-bwifml',
  generationId: 'mpjucq5e-bwifml',
  provider: 'custom-minimax-5ku9',
  modelId: 'MiniMax-M2.7'
}
[2026-05-24 19:27:02.930] [error]  (main:ipc) generate.fail {
  runId: 'mpjucq5e-bwifml',
  generationId: 'mpjucq5e-bwifml',
  ms: 14774,
  provider: 'custom-minimax-5ku9',
  modelId: 'MiniMax-M2.7',
  baseUrl: '[url omitted]',
  message: 'Generation incomplete: workspace App.jsx is missing or empty and no done() target file is available.',
  code: 'GENERATION_INCOMPLETE'
}
[2026-05-24 19:27:02.953] [error]  (renderer:console) [store] applyGenerateError {"generationId":"mpjucq5e-bwifml","designId":"3dff0e79-597d-4a60-87f7-a4b396264036","message":"Error invoking remote method 'codesign:v1:generate': CodesignError: Generation incomplete: workspace App.jsx is missing or empty and no done() target file is available."} {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageAwaiting maintainer review

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions