Fix project favicon precedence - #93
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR implements provenance-aware icon metadata refresh on the server and client-side favicon probing with metadata fallback for project sidebar icons. The server tracks which projects have automatically-detected vs. manually-set icon metadata, uses this to skip unnecessary refresh on startup, and applies a configurable backfill limit. The client probes project favicons with caching and falls back to language metadata when unavailable. ChangesIcon Metadata Provenance & Favicon Fallback
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@apps/server/src/orchestration/Layers/OrchestrationEngine.ts`:
- Around line 676-677: During the reconcileReadModelAfterDispatchFailure
replay/publish path, call recordProjectIconMetadataProvenance with the event
before publishing so recovered automatic project.meta-updated events get the
correct provenance; specifically, add a
recordProjectIconMetadataProvenance(event) invocation in the
reconcileReadModelAfterDispatchFailure flow (the same place where
PubSub.publish/eventPubSub is used) so it mirrors the normal commit and
bootstrap replay behavior already present near
recordProjectIconMetadataProvenance and the bootstrap replay path.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 030bf1ee-d39c-4df7-83c7-a996cf0da962
📒 Files selected for processing (7)
apps/server/src/orchestration/Layers/OrchestrationEngine.test.tsapps/server/src/orchestration/Layers/OrchestrationEngine.tsapps/web/src/components/ProjectSidebarIcon.browser.tsxapps/web/src/components/ProjectSidebarIcon.test.tsxapps/web/src/components/ProjectSidebarIcon.tsxdocs/adr/0004-project-language-icons.mddocs/architecture/jcode-linguist.md
Summary
Verification
Summary by CodeRabbit
New Features
Bug Fixes
Tests
Documentation