feat(esm_catalog): PR-C2 — personal collections (storage + API routes)#1495
Open
siligam wants to merge 1 commit into
Open
feat(esm_catalog): PR-C2 — personal collections (storage + API routes)#1495siligam wants to merge 1 commit into
siligam wants to merge 1 commit into
Conversation
siligam
force-pushed
the
esm-catalog/pr-c1-middleware-export
branch
from
June 14, 2026 00:12
5f8f856 to
c06cb4f
Compare
siligam
force-pushed
the
esm-catalog/pr-c2-personal-collections
branch
from
June 14, 2026 00:13
986cbba to
422c646
Compare
siligam
force-pushed
the
esm-catalog/pr-c1-middleware-export
branch
from
June 17, 2026 12:14
c06cb4f to
a095781
Compare
siligam
force-pushed
the
esm-catalog/pr-c2-personal-collections
branch
from
June 17, 2026 12:14
422c646 to
e2e2e23
Compare
siligam
force-pushed
the
esm-catalog/pr-c1-middleware-export
branch
from
June 17, 2026 16:01
a095781 to
73dbc73
Compare
siligam
force-pushed
the
esm-catalog/pr-c2-personal-collections
branch
from
June 17, 2026 16:01
e2e2e23 to
4b1519f
Compare
siligam
force-pushed
the
esm-catalog/pr-c1-middleware-export
branch
from
June 17, 2026 16:34
73dbc73 to
96e0047
Compare
siligam
force-pushed
the
esm-catalog/pr-c2-personal-collections
branch
from
June 17, 2026 16:34
4b1519f to
57a7f07
Compare
Adds DuckDB-backed PersonalCollectionStore (CRUD for collections, items,
labels, tree, and shares), Pydantic models, and /users/{username}/...
REST API routes. Routes are wired into create_app() via try/except so
the API degrades gracefully if the DB is unavailable. Adds pytz to CI
and setup.py extras (required by DuckDB TIMESTAMPTZ columns). 25 new
tests, 162 total green.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
siligam
force-pushed
the
esm-catalog/pr-c1-middleware-export
branch
from
June 17, 2026 17:03
96e0047 to
5f389e0
Compare
siligam
force-pushed
the
esm-catalog/pr-c2-personal-collections
branch
from
June 17, 2026 17:03
57a7f07 to
2eec95a
Compare
Contributor
Author
|
Rebased onto the corrected PR-0 base (#1483) — test relocation to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
storage/personal.py:PersonalCollectionStore— DuckDB-backed per-user collections with RBAC (owner/maintainer/developer/viewer roles), item refs, labels, shared access, and sidebar treeapi/personal_models.py: Pydantic request/response models for all personal-collections endpointsapi/personal_routes.py:create_personal_router()— full CRUD under/users/{username}/...for collections, items, labels, shares, and tree; open-access (no auth required whenauthenticator=None)create_app()inside a try/except so the API degrades gracefully ifpersonal.duckdbis inaccessiblepytzto[catalog]extras and CI pip install line — required by DuckDB TIMESTAMPTZ column deserializationTest plan
pytest src/esm_catalog/tests/test_personal_collections.py -v— 25 passpytest src/esm_catalog/tests/— 162 total greenesm-catalog-testspasses on Python 3.9 + 3.12Stack position
release→ PR-0 → A1a → A1b-1 → A1b-2 → A2 → A3 → A4 → B1 → B2 → B3 → B4 → C1 → C2 (this PR)🤖 Generated with Claude Code