Repository navigation
fix(chat): a runtime notice is titled by what it says, not always "Background result delivered" - #418
Conversation
…ckground result delivered" Carried from #344, which also changed how OmO's lead line is shown; this is the notice-title half only. Co-authored-by: haeminway <[email protected]>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 🧰 Additional context used📚 Code guidelines (1)No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (6)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughNotice parts now retain optional runtime source values. The chat view uses the source and notice text to choose a label, with long labels truncated to fit. ChangesRuntime notices
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to Runtime notices retain the source needed for content-based titles, and long titles remain clipped within the chat row; no user-visible regression is identified. Security Architecture ReviewSecurity architecture risk: ⚪ Minimal · up to The new notice field affects display labels, not permissions or executable behavior. Existing notice visibility checks remain intact, and responses without the field retain their previous label. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Bumps package.json and herdr-plugin.toml to 0.3.49 and moves the Unreleased notes under [0.3.49] - 2026-10-04, with the compare link. Every entry already carries its PR link and contributor credit. Raises the remote PC bundle to 16: a runtime notice is titled by its own first line on a remote PC too (`source` on the notice part, #418), and the Antigravity meter reads the token file on a Linux PC (#399). Push the `remote-v16` tag and let the bundle workflow publish before running release.yml. Carries #357, #399, #411, #413, #415, #414, #416, #417, #418, #346.
Carries the notice-title half of #344 by @Haeminway1. The other half of that PR (OmO's "I read this as" lead line) is not included and stays in #344.
Change
Every runtime notice in the chat lens was titled Background result delivered, also ones that are not a background result: OmO's
omo-model-profile:unavailablewarning and gjc'sirc:incomingmessages.shared/protocol.ts: thenoticepart gets an optionalsource, the runtime's own name for the notice (pi'scustomType).server/transcript-records.ts:piNoticereturns the part and setssourcewhen the record has acustomType.src/components/ChatView.tsx: a notice with no source, orasync-result, keeps the old title. Any other is titled by its first non-empty line, cut to one line (96 characters, and an ellipsis in CSS where the row is narrower).No new string, no new endpoint, and an older remote-PC bridge that sends no
sourcekeeps the old title.Validation
bun run typecheck: pass.HERDR_TEST_MODE=unit bun test ./server/conversation.test.ts: 38 pass. The existing gjc test now expectssource: "async-result", and a new one covers a notice with anothercustomTypeand one with none.bun run test:unit: 1151 pass, 3 skip, 0 fail.bun run build: pass.