Skip to content

fix: resolve deserialization error in PromptorPlugin test runner#17

Merged
valorisa merged 8 commits intomainfrom
feature/v2.2.1-stability-enhancements
Apr 5, 2026
Merged

fix: resolve deserialization error in PromptorPlugin test runner#17
valorisa merged 8 commits intomainfrom
feature/v2.2.1-stability-enhancements

Conversation

@valorisa
Copy link
Copy Markdown
Owner

@valorisa valorisa commented Apr 5, 2026

Summary

  • Fix deserialization error in Node.js test runner for \PromptorPlugin.test.ts\
  • Replace \�s any\ casts with explicit \Record<string, unknown>> typing and type checks
  • Add explicit return type to \�xecute()> method in \PromptorPlugin.ts\ to ensure serializable output

Root Cause

The test runner's IPC channel failed to serialize test results when using \�s any> type assertions on complex objects returned by \plugin.execute(). This caused \Error: Unable to deserialize cloned data due to invalid or unsupported version\ in CI.

Changes

  • \PromptorPlugin.test.ts: explicit type-safe assertions
  • \PromptorPlugin.ts>: typed return type + \String()> wrapper for matrix property

@gemini-code-assist
Copy link
Copy Markdown

Important

Installation incomplete: to start using Gemini Code Assist, please ask the organization owner(s) to visit the Gemini Code Assist Admin Console and sign the Terms of Services.

@valorisa valorisa merged commit f857c3b into main Apr 5, 2026
7 checks passed
@valorisa valorisa deleted the feature/v2.2.1-stability-enhancements branch April 5, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant