Repository navigation
Conversation
Swap stage of the zero-downtime int->bigint widening, on top of the expand stage in 0167: - Drop the mirror trigger and the int column, rename file_size_bigint onto file_size, and rename its index onto the vacated name. All metadata-only, in one transaction. - Keep the shadow index's partial predicate, and filter file_size IS NOT NULL in the dedupe-then-Sum queries so they stay eligible for it. Sum already ignores NULLs, so the totals are unchanged. - Read file_size directly when publishing; Kolibri's LocalFile keeps its own 32-bit column and bigint shadow. - Retire the backfill deploy-migrate step. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015PZU9jWMFWezWayyhuSkyL
The linter runs git diff --relative from --project-root-path and only treats a changed file as a migration when its path contains /migrations/. Defaulting to the settings directory truncated every path past that segment, so the step has never linted anything. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015PZU9jWMFWezWayyhuSkyL
Describe the procedure in terms of any field and its shadow, with the file_size widening as the worked example rather than the subject. Add the shadow-index rule the swap depends on, and correct the linter escape hatch: IgnoreMigration imports a dev-only dependency from a migration production loads. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015PZU9jWMFWezWayyhuSkyL
Matches Kolibri's endpoint so course imports can fetch metadata from Studio. Closes #6170 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Paginate importmetadata on max_results and include descendants
- Vendor Kolibri's frozen v5/v6 column maps; `schema_version` selects one - No `schema_version` keeps today's v5 ∪ v6 columns - Bad `schema_version` returns Kolibri's JSON 400 bodies Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Complete the File.file_size bigint cutover
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Fixes STUDIO-JXG Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016kdo8wf84LNzHCu5qFSYrv
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Drop legacy resource sizes view before swapping file_size column
Match Kolibri's v2 contentnode and channel filters
fix: serve the requested schema version's columns from importmetadata
marcellamaki
approved these changes
Oct 7, 2026
marcellamaki
left a comment
Member
There was a problem hiding this comment.
Used claude to cross-reference the endpoints - seem to be no issues. Reviewed commit history, no concerns there either
rtibbles
marked this pull request as ready for review
October 7, 2026 23:04
bjester
approved these changes
Oct 7, 2026
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
Patch release. Completes the
File.file_sizebigint cutover, and aligns Studio'sv2public API with Kolibri's for browsing and importing channels. No manual QA required.🤖 Generated with Claude Code
https://claude.ai/code/session_016HTj2vP3dN1EvgCc5tKmn4