[PR #1403] [MERGED] [codex] Cover stringified Illustrator run data #5070

Closed
opened 2026-10-22 04:12:57 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1403
Author: @Xelvanis
Created: 5/27/2026
Status: ✅ Merged
Merged: 5/27/2026
Merged by: @Xelvanis

Base: refactor ← Head: codex/illustrator-string-resultdata-test


📝 Commits (1)

  • 42ed027 Cover stringified Illustrator run data

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 src/engine/generation/agent-runner.test.ts (+2 -2)

📄 Description

Linked issue

Follow-up to merged PR #1399. Related to #1329, which #1399 already closed.

Why this change

  • CodeRabbit left a nitpick on PR #1399 asking for coverage of imported Illustrator agent-runs rows where resultData is stored as a JSON string instead of an object.
  • The runtime parser already supports stringified JSON records; this PR locks that parity path into the cadence test suite.

What changed

  • Updated the legacy Illustrator cadence test to use resultData: JSON.stringify(illustratorDrawData).
  • Renamed the test to explicitly cover both legacy type fields and string-serialized result data.

Refactor impact

Primary owner:

  • Engine generation tests.

Impact areas reviewed:

  • Illustrator automatic run interval gating.
  • Legacy imported agent-runs row shapes.
  • Runtime record parsing for stringified JSON payloads.

Boundary notes:

  • Test-only change.
  • No app, feature UI, shared API, Rust, storage, or remote-runtime behavior changed.

Pressure points touched:

  • src/engine/generation/agent-runner.test.ts

Validation

  • pnpm check passes locally
  • pnpm typecheck passes locally
  • pnpm build passes locally
  • pnpm check:architecture passes locally
  • pnpm check:docs passes locally
  • cargo check --manifest-path src-tauri/Cargo.toml --workspace passes locally
  • Rust clippy/tests were run for Rust behavior changes
  • Browser or Tauri app manual verification completed
  • Playwright, screenshot, or recording evidence added for UI changes
  • Remote runtime smoke checked when relevant

Agent-run local proof:

  • pnpm test src/engine/generation/agent-runner.test.ts
  • pnpm typecheck
  • pnpm check:architecture

Manual verification notes

  • No manual UI verification needed; this is a test-only follow-up.

Docs and release impact

  • No docs changes needed
  • Updated README.md
  • Updated CONTRIBUTING.md
  • Updated docs/developer/
  • Updated repo skills or AGENTS.md
  • Confirmed this PR does not restore old staging/package-workspace/release claims

Notes:

  • No docs or changelog changes needed for this test-only follow-up.
  • This PR does not restore old staging/package-workspace/release claims.

UI evidence

N/A - no UI changes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/1403 **Author:** [@Xelvanis](https://github.com/Xelvanis) **Created:** 5/27/2026 **Status:** ✅ Merged **Merged:** 5/27/2026 **Merged by:** [@Xelvanis](https://github.com/Xelvanis) **Base:** `refactor` ← **Head:** `codex/illustrator-string-resultdata-test` --- ### 📝 Commits (1) - [`42ed027`](https://github.com/Pasta-Devs/Marinara-Engine/commit/42ed027b792a81130726db92864b0b9b5f5d70da) Cover stringified Illustrator run data ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/engine/generation/agent-runner.test.ts` (+2 -2) </details> ### 📄 Description <!-- Target branch: `refactor`. Change the base to `refactor` before submitting unless a maintainer explicitly asked for another base. --> <!-- Keep all checkboxes unchecked until a human has actually verified them. --> ## Linked issue Follow-up to merged PR #1399. Related to #1329, which #1399 already closed. ## Why this change - CodeRabbit left a nitpick on PR #1399 asking for coverage of imported Illustrator `agent-runs` rows where `resultData` is stored as a JSON string instead of an object. - The runtime parser already supports stringified JSON records; this PR locks that parity path into the cadence test suite. ## What changed - Updated the legacy Illustrator cadence test to use `resultData: JSON.stringify(illustratorDrawData)`. - Renamed the test to explicitly cover both legacy `type` fields and string-serialized result data. ## Refactor impact Primary owner: - Engine generation tests. Impact areas reviewed: - Illustrator automatic run interval gating. - Legacy imported `agent-runs` row shapes. - Runtime record parsing for stringified JSON payloads. Boundary notes: - Test-only change. - No app, feature UI, shared API, Rust, storage, or remote-runtime behavior changed. Pressure points touched: - `src/engine/generation/agent-runner.test.ts` ## Validation <!-- Check only what you personally ran or manually verified. Treat unchecked items as explicit TODOs. --> - [x] `pnpm check` passes locally - [x] `pnpm typecheck` passes locally - [x] `pnpm build` passes locally - [x] `pnpm check:architecture` passes locally - [x] `pnpm check:docs` passes locally - [ ] `cargo check --manifest-path src-tauri/Cargo.toml --workspace` passes locally - [ ] Rust clippy/tests were run for Rust behavior changes - [ ] Browser or Tauri app manual verification completed - [ ] Playwright, screenshot, or recording evidence added for UI changes - [ ] Remote runtime smoke checked when relevant Agent-run local proof: - `pnpm test src/engine/generation/agent-runner.test.ts` - `pnpm typecheck` - `pnpm check:architecture` ### Manual verification notes - No manual UI verification needed; this is a test-only follow-up. ## Docs and release impact - [x] No docs changes needed - [ ] Updated `README.md` - [ ] Updated `CONTRIBUTING.md` - [ ] Updated `docs/developer/` - [ ] Updated repo skills or `AGENTS.md` - [x] Confirmed this PR does not restore old staging/package-workspace/release claims Notes: - No docs or changelog changes needed for this test-only follow-up. - This PR does not restore old staging/package-workspace/release claims. ## UI evidence N/A - no UI changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:12:57 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#5070
No description provided.