Why is the api-gateway returning 502s since this morning?
ChatBubble
moleculesOne conversation line: a role-tinted bubble with a timestamped meta row, markdown body, footer stats, copy and actions, delivery state and clamp-and-expand.
Support thread
markdown body, timestamp in the meta row, copyText adds a copy button, footer carries latency and tokens, actions holds per-message buttons.
The 502s come from cache-01: it ran out of memory at 08:39 and restarted.
- Raise
maxmemoryto 6 GB - Enable
allkeys-lru
Want me to open the PR?
Roles and alignment
role="user" | "assistant" | "system" | "tool" | "mcp" tints the bubble and pill; roleLabel renames the pill; align overrides the side.
Rerun the failing test on worker-02.
Rerunning tests/demo-render.test.js…
node --test tests/demo-render.test.js → 3 passed
Updated TSU-251 to In progress.
Context compacted (184k → 22k tokens).
Group chats keep everyone on the start side.
States
state="sending" and "failed" with onretry, clamp={3} with the expand toggle, selected, and a long unbroken token that must wrap inside the bubble.
Ship the release notes.
Deploy 0.62.1 to production.
Pipeline report:
- step 1: lint passed
- step 2: typecheck passed
- step 3: unit passed
- step 4: build passed
- step 5: e2e passed
- step 6: deploy passed
- step 7: smoke passed
- step 8: notify passed
This message is selected for a reply.
sha256:9f12e485513e4d6eb987d81a95cead559f12e485513e4d6eb987d81a95cead55a95cead559f12e485
Custom body and meta
children replaces markdown (here Prose with renderMarkdown and an attachment row); meta adds to the pill row.
Here is the quarterly report and the raw export. Draft final version.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
role | 'user' | 'assistant' | 'system' | 'tool' | 'mcp' | 'assistant' | |
roleLabel | string | — | Text of the role pill; defaults to the role name. |
align | 'start' | 'end' | — | Defaults to `end` for the user, `start` otherwise. |
timestamp | TimeInput | — | Rendered as a `Timestamp` after the role pill. |
meta | Snippet | — | |
footer | Snippet | — | Muted row under the body: durations, token usage, file info. |
markdown | string | — | Rendered through `renderTrustedMarkdown` into `Prose` when `children` is absent. |
actions | Snippet | — | |
state | 'sending' | 'failed' | — | |
onretry | () => void | — | |
retryLabel | string | 'Retry' | |
clamp | number | — | Max visible lines before an expand toggle appears. |
expandLabel | string | 'Show more' | |
collapseLabel | string | 'Show less' | |
selected | boolean | false | |
copyText | string | — | Renders a CopyButton in the actions row. |
children | Snippet | — | |
class | string | '' | |
style | string | '' |