Skip to content

Release 0.31.1#1162

Merged
Tim020 merged 4 commits into
mainfrom
dev
Jun 7, 2026
Merged

Release 0.31.1#1162
Tim020 merged 4 commits into
mainfrom
dev

Conversation

@Tim020

@Tim020 Tim020 commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Tim020 and others added 2 commits June 7, 2026 19:06
Adds a Timeline sub-tab to the Characters section in Show Config. Acts and
scenes are displayed on the x-axis; characters with at least one spoken
dialogue line occupy rows on the y-axis. Coloured bars span consecutive
scenes where a character speaks, breaking at act boundaries. Reuses the
existing timelineMixin (V2) / useTimeline composable (V3) and the
/api/v1/show/character/stats endpoint — no backend changes required.
Also adds an E2E smoke test for the Timeline tab and documents the feature.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
cast/stats and character/stats were firing 5,137 individual SQL queries
per request (~8s) due to nested lazy-loaded ORM traversal. Replace with
selectinload chains that load all required data in ~8 bulk queries, and
a single upfront set-query for revision-scoped cuts rather than one
check per line part.

Also fixes character list N+1 (per-character character_group and
mic_allocation lazy loads) via selectinload on CharacterController, and
removes Act.lines / Scene.lines from their schemas — both relationships
loaded ~950 ORM rows per act/scene on every list request but were never
read by either frontend client.

Adds 11 behavioural count-verification tests for cast/stats and
character/stats to document and guard the exact counting semantics.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@Tim020 Tim020 added the release Pull requests for creating a new release label Jun 7, 2026
@github-actions github-actions Bot added documentation Improvements or additions to documentation client Pull requests changing front end code server Pull requests changing back end code xlarge-diff client-v3 labels Jun 7, 2026
@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

Client Test Results

128 tests   128 ✅  0s ⏱️
  6 suites    0 💤
  1 files      0 ❌

Results for commit c1a535c.

♻️ This comment has been updated with latest results.

@Tim020 Tim020 enabled auto-merge June 7, 2026 18:40
@sonarqubecloud

sonarqubecloud Bot commented Jun 7, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
22.9% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

Client V3 Test Results

23 tests   23 ✅  0s ⏱️
 2 suites   0 💤
 1 files     0 ❌

Results for commit c1a535c.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

Playwright E2E Results (chromium)

164 tests   164 ✅  1m 39s ⏱️
 14 suites    0 💤
  1 files      0 ❌

Results for commit c1a535c.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

Python Test Results

  1 files    1 suites   2m 1s ⏱️
662 tests 662 ✅ 0 💤 0 ❌
667 runs  667 ✅ 0 💤 0 ❌

Results for commit c1a535c.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

Playwright E2E Results (firefox)

164 tests   164 ✅  1m 41s ⏱️
 14 suites    0 💤
  1 files      0 ❌

Results for commit c1a535c.

@Tim020 Tim020 merged commit 6ee17ba into main Jun 7, 2026
40 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

client Pull requests changing front end code client-v3 documentation Improvements or additions to documentation release Pull requests for creating a new release server Pull requests changing back end code xlarge-diff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant