fix: normalize Goosed reply payload and restart agent-run worker on release
Add id/created defaults for user_message, ensure metadata in agent-run gateway before submit, and kickstart the agent-run worker after portal deploy so queued page-generation runs use the latest runtime bundle. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -9,6 +9,8 @@ test('ensureGooseUserMessageMetadata adds required visibility flags', () => {
|
||||
});
|
||||
assert.equal(normalized.metadata.userVisible, true);
|
||||
assert.equal(normalized.metadata.agentVisible, true);
|
||||
assert.equal(typeof normalized.created, 'number');
|
||||
assert.ok(normalized.id);
|
||||
});
|
||||
|
||||
test('ensureGooseUserMessageMetadata preserves existing metadata fields', () => {
|
||||
|
||||
Reference in New Issue
Block a user