mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #93] [MERGED] fix: Unbreak client build and server Docker build on main #4459
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#4459
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/93
Author: @LukaTheHero
Created: 4/16/2026
Status: ✅ Merged
Merged: 4/16/2026
Merged by: @LukaTheHero
Base:
main← Head:fix/conversation-surface-missing-select-props📝 Commits (2)
dc89344fix(chat): Pass bulk-select props to conversation surface691ba8afix(server): Close create() payload before timestampOverrides arg📊 Changes
2 files changed (+4 additions, -0 deletions)
View changed files
📝
packages/client/src/components/chat/ChatArea.tsx(+3 -0)📝
packages/server/src/services/import/st-prompt.importer.ts(+1 -0)📄 Description
Summary
Main is currently broken in two places after PR #85/#86 merged alongside PR #91. This patch restores it.
1. Client build (
TS2739inChatArea.tsx)PR #91 added three new props to `ChatConversationSurface`. PR #85/#86's rewrite of `ChatArea.tsx` landed after mine, and git's auto-merge kept the new prop-passes on the roleplay surface but dropped them on the conversation surface call site. The conversation-surface type still requires them, so `pnpm check` and `pnpm build` fail with:
```
TS2739: Type '{ ... }' is missing the following properties from type 'ConversationSurfaceProps':
onUnselectAllMessages, onSelectAllAboveSelection, onSelectAllBelowSelection
```
Fix: Re-add the three prop lines on the conversation call site (handlers already exist, no logic change).
2. Server build (
TS1005/TS1136inst-prompt.importer.ts)From PR #86. In `importSTPreset`, the inner `parameters` object closes but the outer first-arg object literal to `storage.create(...)` never does. The parser then reads `options?.timestampOverrides,` as a malformed property assignment:
```ts
await storage.create(
{
name: ...,
...
parameters: { ... },
}, // <-- this closing brace was missing
options?.timestampOverrides,
);
```
This breaks both `pnpm check` (lint job) and the Docker release build (`pnpm build` at image build time).
Fix: One-line addition of the missing closing brace.
Why this shipped broken
Each PR passed CI at open time, but CI never re-ran against the post-merge tip of main after both landed. So the parallel-merge conflicts slipped through.
Test plan
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.