Define the full-frame size the autopilot tests record (BIT-33293) #307

Merged
spark merged 2 commits from task/BIT-33293-autopilot-ci into main 2026-11-25 01:30:43 +00:00
Owner

Summary

  • The autopilot suite records a 6000×4000 frame while the JPEG stays 600 px, so the run does not time out and the planner still sees a file above the 2400 px delivery floor.
  • PHOTO_W and PHOTO_H were already read and had no definition. A full-size file keeps a sharper frame ahead of a soft one, and a learnt crop narrower than the one before it.

Test plan

  • cd apps/api && vitest run --config vitest.unit.config.ts src/composition/planFrame.test.ts
  • CI pnpm -r test on this pull request: the four autopilot cases (sharpest burst, only the best, two clients, learnt crop) pass.
## Summary - The autopilot suite records a 6000×4000 frame while the JPEG stays 600 px, so the run does not time out and the planner still sees a file above the 2400 px delivery floor. - `PHOTO_W` and `PHOTO_H` were already read and had no definition. A full-size file keeps a sharper frame ahead of a soft one, and a learnt crop narrower than the one before it. ## Test plan - `cd apps/api && vitest run --config vitest.unit.config.ts src/composition/planFrame.test.ts` - CI `pnpm -r test` on this pull request: the four autopilot cases (sharpest burst, only the best, two clients, learnt crop) pass.
spark added 1 commit 2026-11-25 01:04:07 +00:00
Define the full-frame size the autopilot tests already record.
ci / rust (pull_request) Successful in 6m40s
ci / typescript (pull_request) Failing after 12m46s
d2b6f4383c
The suite keeps a 600 px JPEG so it does not time out, and the planner reads 6000×4000. That clears the delivery floor, so focus still ranks a burst and a learnt crop stays tighter. Those names were used before they existed.

Paperclip-Issue: BIT-33293
peter-spark added 1 commit 2026-11-25 01:19:38 +00:00
Apply a learnt tighter crop when the body cut would take the feet.
ci / rust (pull_request) Successful in 4m10s
ci / typescript (pull_request) Successful in 10m47s
7372aff0ff
The recorded cut is refused so the player stays whole, and the scale is what still narrows the frame. The gallery tests get a longer budget now that each frame is actually planned.

Paperclip-Issue: BIT-33293
spark merged commit e731e48cb8 into main 2026-11-25 01:30:43 +00:00
Sign in to join this conversation.