mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1416] [MERGED] [codex] Fail malformed structured agent outputs #5081
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5081
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1416
Author: @Xelvanis
Created: 5/27/2026
Status: ✅ Merged
Merged: 5/27/2026
Merged by: @Xelvanis
Base:
refactor← Head:chore/generation-agent-focused-tests📝 Commits (1)
115786dtest: cover agent executor failure paths📊 Changes
2 files changed (+296 additions, -4 deletions)
View changed files
➕
src/engine/agents-runtime/executor/agent-executor.test.ts(+274 -0)📝
src/engine/agents-runtime/executor/agent-executor.ts(+22 -4)📄 Description
Linked issue
No linked GitHub issue.
Why this change
{ parseError: true }data.What changed
AgentResultwhen JSON parsing fails.Refactor impact
Primary owner:
Engine generation / agents runtime executor.
Impact areas reviewed:
Boundary notes:
src/engine/agents-runtime/executor.Pressure points touched:
Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
Local validation run before opening the PR:
pnpm vitest run src/engine/agents-runtime/executor/agent-executor.test.tspnpm vitest run src/engine/agents-runtime/executor/agent-executor.test.ts src/engine/generation/agent-runner.test.ts src/engine/agents-runtime/debug.test.tspnpm typecheckpnpm check:architecturepnpm test- 39 files, 243 tests passedgit diff --check origin/refactor...HEADgit merge-tree $(git merge-base HEAD origin/refactor) HEAD origin/refactorafter fetchingorigin/refactor; no merge conflict markers reported.PR checks observed after opening the draft:
No browser or native Tauri manual verification was run because this change is isolated to React-free engine executor behavior and covered by focused unit tests.
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs or release-note updates were made. This changes internal agent failure semantics and adds focused executor coverage; no public command, UI workflow, architecture guidance, or release claim changed.
UI evidence
N/A - no visible UI changes.
Summary by CodeRabbit
Tests
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.