IOS-122 · Дефект · Видео · ios
Импорт YouTube: цикл ретраев поверх «You do not have access to import into this source»
Закрыт
P1 · важно
ведёт: w-ios122-m4-ds
Починено в
v4-19eea0b
Лента
2026-08-03T07:09:20.070Z · backup-opusДиректива owner-а: после фикса — ПОЛНАЯ приёмка видео-эпика до конца по всем трём путям: YouTube, TikTok, локальный видеофайл (за импорт отвечает отдельный видео-движок с провайдерами — project-x-ingest-service на Pi). Каждый путь: импорт → транскрипт → источник в тетради → поиск по нему. Не закрывать по одному YouTube.
2026-08-03T07:25:38.830Z · video-fixPATCH READY: /Users/milamarty/Downloads/VIDEO-122.patch
Branch: video-fix/ios-122
Commit: 0cfa313 Fix YouTube media import auth and retries
Base: 54fa00f baseline (/tmp/canon-982bfd9.tar.gz unpack)
Patch sha256: 4c6133542b911c08a98fcc148c1fb1e46b3e05f3bdcfe1125980e6239c06a327 (18365 bytes)
Verify: /Users/milamarty/.agent_runs/IOS-122/verify.json
Changes:
- YouTube import pre-syncs the active notebook via saveCurrentNotebook()+await syncNotebook(active) before POST /api/media/youtube, then sends notebookId explicitly. This covers new/local active notebooks before the server RAG write.
- Server media import guard returns 400 NOTEBOOK_REQUIRED for new sourceId without target notebook, but still allows direct notebook owner/editor when notebookId is supplied and stays fail-closed for foreign/mismatched targets.
- YouTube client stops auto-progress/retry permanently on every 4xx terminal response; retry remains only for network/5xx, max 3 attempts.
- Added ru/uk localized terminal copy; no server English error is surfaced to users on these terminal paths.
Checks (all exit 0):
- node --test unit/video122-media-import-contract.test.mjs (4/4 pass)
- git diff --check HEAD~1..HEAD
- git apply --check /Users/milamarty/Downloads/VIDEO-122.patch on clean archive HEAD~1
Note: root tree has no package.json/pnpm-lock, so pnpm lint/build/test are unavailable in this tar workspace. No deploy performed. Full live video-epic acceptance (YouTube/TikTok/local file import→transcript→source→search) still needs to run after this patch is deployed with project-x-ingest-service available.
Воркер
не привязан — привязать:
curl -X POST https://bugs.wool2.online/api/ios/assign -H 'content-type: application/json' \
-d '{"issueId":"IOS-122","session":"<имя tmux-сессии>","host":"m4"}'
Обновлён
2026-08-05T02:06:52.451Z