Repository navigation
feat(motion): объединить сценарии интерфейса и проверки движения - #471
Conversation
Закрепить общий owner подписок и native/live handoff без нового solver/store. Сохранить late getter/reentry, корректный focus через закрытых предков и все прежние byte/lifecycle guards. Проверять полное полезное движение, raw intervals, chronology и точную tail-статистику существующего benchmark.
|
@coderabbitai В Два предупреждения сопоставлены с первичными источниками:
Прошу перепроверить замечания с учётом точного кандидата и этих границ владения. Вывод о причине прежнего зависания WebKit после завершения тестов остаётся неполным; последующий зелёный запуск не объявляется доказательством его исправления. |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
git rev-parse HEAD
git show --stat ac38040e82ac707802480a193ab53b8d1d6875ed
ast-grep outline src/motion-value.ts --items all
ast-grep outline src/compositor/core.ts --items all --match 'retarget|commit|handoff|epoch'
ast-grep outline test/compositor-return-to-native.test.ts --items all
ast-grep outline docs/api.md
ast-grep outline docs/behaviors.md
rg -n -C3 '_epoch|stripInternal' src/motion-value.ts src/compositor/core.ts scripts/emit-declarations.mjs
gh api repos/Labpics-Team/lab-motion/pulls/471/comments --paginate --jq '.[] | select(.user.login=="coderabbitai[bot]") | {id,path,body}'
gh api repos/Labpics-Team/agents-config/contents/plans/lab-motion-production/ACTIVE.md?ref=c246ed459d6f0b775336fe34feea8d2f6be2b02f --jq '.content' | base64 -d
gh api repos/Labpics-Team/agents-config/contents/plans/lab-motion-production/r11.md?ref=c246ed459d6f0b775336fe34feea8d2f6be2b02f --jq '.content' | base64 -d | sed -n '320,390p'Length of output: 90833 🏁 Script executed: #!/bin/bash
set -euo pipefail
git show ac38040e82ac707802480a193ab53b8d1d6875ed -- docs/api.md docs/behaviors.md
sed -n '139,179p' docs/api.md
sed -n '1,42p' docs/behaviors.md
sed -n '630,725p' src/compositor/core.ts
sed -n '899,958p' src/compositor/core.ts
sed -n '1016,1045p' src/compositor/core.ts
rg -n -C2 '\._epoch\s*(\+\+|--|[+*/-]?=)' --glob '*.ts' .
rg -n -C2 'it\(|test\(' test/compositor-return-to-native.test.ts
sed -n '175,285p' test/compositor-return-to-native.test.ts
ast-grep outline docs/server-profile.md
sed -n '1,90p' docs/server-profile.md
rg -n -C2 'from .*registration|import\(.*registration' bench/profile test .github/workflows
rg -n -C2 'preregistration|registration|profile-01' .github/workflows/profile-01.yml
gh api repos/Labpics-Team/lab-motion/pulls/471/reviews --paginate --jq '.[] | select(.user.login=="coderabbitai[bot]" and (.body | test("_epoch|agents-config|registration|регистрац"))) | {id,body}'Length of output: 55254
Изменения перевода в Причина прежнего зависания WebKit остаётся неустановленной. Последующий зелёный запуск не доказывает её устранение. Тесты и CI в рамках этой перепроверки я не запускал. Снятие двух предупреждений не означает приёмку всего PR. ✏️ Learnings added
You are interacting with an AI system. |
… handoff (#478) * fix(animate): release terminal target roots and preserve getter reentry Release completed unit configuration and callbacks from retained public controls. Keep a single live delegate and accepted pause state across lazy requestFrame getters. Extend actual-package presence/scope lifecycle and reference coverage while retaining the unresolved registered heap-band failure. * fix(animate): release terminal execution state and preserve packed reentry Retain a single aggregate clock across effectful accessor reentry, including partially failed nested handoff. Release completed unit trajectories and delegates, then drop aggregate execution roots after all slots terminate. Add causal GC and actual-package ESM/CJS regressions without changing existing budgets. Refs #473. RESOURCE-01, r13; no merge or release authorization. Implemented by ChatGPT / GPT-6 Astra Pro. * test(resource): measure retained heap at terminal tail Keep the historical existing-38 prefix guard unchanged. For the independently registered presence/scope corpus, preserve every prefix as diagnostic evidence but admit retained bytes from a fixed four-read terminal tail after 10k cycles. This removes the proven V8 false RED without widening the A/A band, cycle count, payload or deliberate/live/drop controls. Refs #473 #478. Current user explicitly requested fixing the gate and taking the stack to merge. * test(animate): require a single frame clock after nested handoff --------- Co-authored-by: ChatGPT <noreply@openai.com>
|
@coderabbitai review Кандидат |
✅ Action performedReview finished.
|
Сохраняет текущее движение, подписки и освобождение ресурсов при повторном входе из callback. Передача движения композитору учитывает новую цель,
stop()иdestroy(), выполненные во время этой передачи. Шесть самостоятельных примеров и браузерные сценарии используют публичный пакет; запись измерительных артефактов отделена от валидатора PROFILE.Кандидат
fc2a579176078cc68b1ca63ea31de825bfaabe54, база91fce3d0596c23b7a8298b627aad687263ad73a4. Независимая проверка всех 720 путей объединённого дерева подтвердила сохранность обеих веток, включая обновления зависимостей из main и #478.Проверки:
fc2a57915 октября 2026, 15:23 UTC; открытых substantive threads нет.Активный план —
lab-motion-production/r13. Слияние сохраняет открытыми измерительные и продуктовые условия этого плана: полный cost profile, физические мобильные клетки, bfcache и последующие узлы требуют собственного evidence. Публикация npm выполняется отдельным ручным release workflow.Связано с #462, #463, #464, #465, #466, #467, #468, #469, #470, #472, #474 и #478. Поглощённые PR закрываются после проверки сохранности в main. Репозиторий использует squash и линейную историю; откат поставленного изменения — обычный revert итогового коммита через PR.