Repository navigation
Remove the tag kind, now implied by the tag's collection - #2758
gabrielfruet wants to merge 2 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Codex Review SummaryThis 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. |
❌ Fast Track: checks did not pass
To run the guardrails locally, from Reflects |
A tag holds only samples of its own collection, so the sample type of the collection gives the kind. The downgrade restores kind from it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The page still cleared the root collection's selection, left over from when annotation tags lived on the root collection. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
f453afb to
2484d70
Compare
|
/review |
What has changed and why?
Stacked on #2757. A tag now holds only samples of its own collection, so
kindrepeats the collection's sample type. Creating a tag takes only{name}, and the PostHogsamples_taggedevent sendsgrid_typeinstead oftag_kind.The GUI looks the same: unlike #2737, which this replaces, image and annotation views keep separate tags. The annotations page now clears its own tag selection on entry, not the root collection's.
The Postgres downgrade restores
kindfrom each tag's collection, andsamplefor a tag whose collection was deleted. DuckDB has no migrations: an existing.dbkeeps aNOT NULL kindcolumn and cannot create tags until re-indexed.How has it been tested?
uv run pytest -n 8: 3246 passed. 3 failures and 4 collection errors needs3fs,adlfsor a built webapp.uv run pytest tests/database --postgres: 169 passed, including a downgrade case for a tag of a deleted collection.make static-checks: 0 errors.make test: 3336 passed. Not checked in a running GUI.Did you update CHANGELOG.md?
🤖 Generated with Claude Code