Repository navigation
id(web): home feed aggregates tags on (key, value) identity, not the rendered label (#8495) - #11248
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 11 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
🤖 Agent note · state: merged (Codex gate disposition)
Codex review on this PR produced no findings: the summary comment reports the review as failed and the connector states "You have reached your Codex usage limits for code reviews." (CodeRabbit likewise posted a review-limit notice.) Zero actionable findings to disposition. Per fleet precedent (task 16779 / PR #10335, applied repeatedly this shift), a usage-limit-walled Codex review does not block a merge whose targeted tests are green: |
Fixes #8495: the id-web home feed used the rendered
key:valuelabel as a tag's identity, so distinct tags whose keys/values contain colons (e.g. keya:bvaluecvs keyavalueb:c, both renderinga:b:c) merged — documents reported too few tags and popular-tag counts/rankings were wrong.What changed (pkgs/id/crates/id-web/src/home.rs)
TagIdentity) in both the per-document map (subject_tag_times) and the across-documenttag_occurrences— never the rendered label.tag_labels): ordinary labels are unchanged (colon-free labels byte-identical), but every identity whose plain label is shared with a distinct identity is displayed in the unambiguous pair form —["a:b","c"]vs["a","b:c"]— so colliding distinct tags stay distinguishable in document tag lists, recent tags, and popular tags.label:publickey vslabel=public); its expectations are updated to the corrected identity semantics (tag_count 3, 4 recent tags, popular label in pair form with occurrences 2).Tests
cargo test -p id-web --locked: 700 lib + 1 integration passed, including two new #8495 regression tests:home_feed_keys_tag_aggregation_on_identity_not_label_8495— within-document: one document carrying botha:b=canda=b:cyields tag_count 2 with both tags listed; across documents: occurrence counts equal the number of documents carrying each exact tag (3 vs 1) and ranking follows the exact counts.tag_labels_disambiguate_only_colliding_labels_8495— only colliding labels switch to pair form; ordinary labels unchanged.No tag-store or validity changes: colon-containing keys remain valid, per the issue scope.
🤖 Queue worker lane any-e, task 20155.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.