Skip to content

Patch release v2026.10.07 - #6299

Merged
rtibbles merged 14 commits into
masterfrom
hotfixes
Oct 7, 2026
Merged

rtibbles merged 14 commits into
masterfrom
hotfixes

Conversation

@rtibbles

@rtibbles rtibbles commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Summary

Patch release. Completes the File.file_size bigint cutover, and aligns Studio's v2 public API with Kolibri's for browsing and importing channels. No manual QA required.

PR Issues Category QA Focus QA status
#6162 #5974 Migrations / Backend N/A
#6173 #6170 Enhancement N/A
#6174 #6172 Bug N/A
#6177 #6171 Bug N/A
#6200 STUDIO-JXG Migrations N/A

🤖 Generated with Claude Code

https://claude.ai/code/session_016HTj2vP3dN1EvgCc5tKmn4

rtibbles and others added 14 commits September 23, 2026 13:45
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
@rtibbles rtibbles changed the title v20261007 Patch Release Patch release v2026.10.07 Oct 7, 2026

@marcellamaki marcellamaki left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Used claude to cross-reference the endpoints - seem to be no issues. Reviewed commit history, no concerns there either

@rtibbles
rtibbles marked this pull request as ready for review October 7, 2026 23:04
@rtibbles
rtibbles merged commit e6b0c5d into master Oct 7, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants