Skip to content

fix(cli): unblock shared merge queue checks - #4691

Merged
yannickmonney merged 13 commits into
mainfrom
fix/backend-api-audit-actor
Oct 11, 2026
Merged

yannickmonney merged 13 commits into
mainfrom
fix/backend-api-audit-actor

Conversation

@yannickmonney

@yannickmonney yannickmonney commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Problem

The merge queue was blocked by four deterministic shared-mainline regressions that surfaced in required candidate lanes:

  • the backend conversation integration still expected API-key audit rows to use actor_type = user after API-key attribution moved to api;
  • the filtered CLI workspace did not declare @tale/ui, even though a relative platform import reaches @tale/ui/data/value-summary;
  • the platform production bundle pulled the YAML parser into the lazy code-editor closure and exceeded the unchanged 230 KB gzip budget;
  • the French knowledge-search docs title exceeded the SEO limit after the renderer suffix was added.

Each failure prevented an earlier merge-queue prefix from becoming eligible, so the fixes are kept in one atomic candidate.

Fix

  • align the API-key audit integration assertion with the API-key door contract;
  • declare the CLI's cross-workspace @tale/ui dependency and document the intentional Knip exception;
  • dynamically load the YAML parser only when the YAML locator module is initialized, keeping the editor lazy chunk below budget;
  • shorten the French knowledge-search title and refresh the generated frontmatter manifest.

Validation

  • platform production build: lazy code-editor-view is 204 KB gzip (budget 230 KB);
  • CLI filtered build: build:mac-x64 compiles 778 modules successfully;
  • YAML locator tests: 16/16 pass;
  • docs production build: 442 routes prerendered and SEO suite 9/9 passes;
  • docs content-manifest suite passes;
  • conflict-marker guard and diff checks pass;
  • targeted type-aware oxlint passes for all changed source/config files.

This supersedes the separate queue attempts in #4692 and #4696; those PRs contain the same baseline fixes and will be closed after this combined candidate is queued.

@yannickmonney
yannickmonney added this pull request to the merge queue Oct 10, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 10, 2026
@yannickmonney
yannickmonney force-pushed the fix/backend-api-audit-actor branch from 7699a07 to 1ac6012 Compare October 10, 2026 11:28
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 10, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 10, 2026
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 10, 2026
@yannickmonney
yannickmonney removed this pull request from the merge queue due to a manual request Oct 10, 2026
@yannickmonney yannickmonney changed the title fix(platform): align API audit integration actor fix(cli): unblock shared merge queue checks Oct 10, 2026
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 10, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 10, 2026
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 10, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 10, 2026
@yannickmonney
yannickmonney force-pushed the fix/backend-api-audit-actor branch from 21b9541 to 92bad7a Compare October 10, 2026 13:32
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 10, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 10, 2026
@yannickmonney
yannickmonney force-pushed the fix/backend-api-audit-actor branch from c7dc023 to 1f80652 Compare October 10, 2026 15:23
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 10, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Oct 10, 2026
@yannickmonney
yannickmonney force-pushed the fix/backend-api-audit-actor branch from 1f80652 to cee0940 Compare October 10, 2026 16:02
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 10, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 10, 2026
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 10, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 10, 2026
@yannickmonney
yannickmonney force-pushed the fix/backend-api-audit-actor branch from 0494b95 to b83105e Compare October 10, 2026 18:19
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 10, 2026
@yannickmonney
yannickmonney removed this pull request from the merge queue due to a manual request Oct 10, 2026
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 10, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 10, 2026
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 10, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 10, 2026
@yannickmonney
yannickmonney force-pushed the fix/backend-api-audit-actor branch from 9b26f78 to 1dc277e Compare October 10, 2026 21:45
@yannickmonney
yannickmonney force-pushed the fix/backend-api-audit-actor branch from b117ae9 to dd68387 Compare October 10, 2026 23:31
@yannickmonney
yannickmonney force-pushed the fix/backend-api-audit-actor branch from dd68387 to 3245c76 Compare October 10, 2026 23:36
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 10, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Oct 10, 2026
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 10, 2026
Merged via the queue into main with commit 26ac3ed Oct 11, 2026
@yannickmonney
yannickmonney deleted the fix/backend-api-audit-actor branch October 11, 2026 00:03
tale-review-bot pushed a commit that referenced this pull request Oct 30, 2026
A full backend:integration run on a host whose ffmpeg is not at
/usr/bin/ffmpeg (Homebrew, a /usr/local/bin build) failed three
video-link checks that CI passes. yt-dlp gets ffmpeg only through an
explicit --ffmpeg-location: VIDEO_INGEST_FFMPEG_LOCATION, else the
image's /usr/bin/ffmpeg. The fake yt-dlp's audio step found nothing
there, so the ingest classified the exit as transient and re-queued
the whisper job behind a 30 s retry that the lane's drain does not
wait for. The job read queued with no whisper call. It still held one
of the three in-flight slots, so both racing pastes were capped. The
whisper-failure regression job stayed queued too, and its Retry
answered 409. The transcription lane, which spawns ffmpeg from PATH,
passed on the same host.

The lane now sets an unset VIDEO_INGEST_FFMPEG_LOCATION to the ffmpeg
on PATH, as bun dev does, and restores it afterwards. The lookup is
systemFfmpeg, the system-first half of the video toolchain's
ensureFfmpeg, which installs nothing. The two whisper checks print the
job's error, so a toolchain fault names itself.

The bell-hint failure in the same report was fixed by #4691, which
matches the recipient's hint by its outbox id.

Closes #4715
Task: TALE-124
tale-code-bot added a commit that referenced this pull request Oct 30, 2026
A full backend:integration run on a host whose ffmpeg is not at
/usr/bin/ffmpeg (Homebrew, a /usr/local/bin build) failed three
video-link checks that CI passes. yt-dlp gets ffmpeg only through an
explicit --ffmpeg-location: VIDEO_INGEST_FFMPEG_LOCATION, else the
image's /usr/bin/ffmpeg. The fake yt-dlp's audio step found nothing
there, so the ingest classified the exit as transient and re-queued
the whisper job behind a 30 s retry that the lane's drain does not
wait for. The job read queued with no whisper call. It still held one
of the three in-flight slots, so both racing pastes were capped. The
whisper-failure regression job stayed queued too, and its Retry
answered 409. The transcription lane, which spawns ffmpeg from PATH,
passed on the same host.

The lane now sets an unset VIDEO_INGEST_FFMPEG_LOCATION to the ffmpeg
on PATH, as bun dev does, and restores it afterwards. The lookup is
systemFfmpeg, the system-first half of the video toolchain's
ensureFfmpeg, which installs nothing. The two whisper checks print the
job's error, so a toolchain fault names itself.

The bell-hint failure in the same report was fixed by #4691, which
matches the recipient's hint by its outbox id.

Closes #4715
Task: TALE-124
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.

1 participant