saveHeadshot threw past its callers whenever sharp couldn't decode the
fetched bytes (corrupt/truncated source, or a non-image body). The
catch in personFromFpaAssociate/personFromFpaLicence just logged and
moved on, but referenceKey stayed null, so the same bad photo was
refetched and re-thrown on every weekly FPA refresh forever.
Mark the person's referenceStatus FAILED when sharp can't decode the
downloaded bytes, and skip those people on later refreshes — a decode
failure is permanent for that URL, unlike a transient fetch error.
Creating a match failed in the form when the answer never came back as
JSON. The event is saved first. Photos already in the inbox are attached
afterwards, and a second click on the same game reuses the event.
The picker no longer lists games older than 10 days. A gallery named as a
game is tied to those clubs, and to the official fixture when the day has
only one. The same player listed under two spellings of a club becomes one
person when the shirt number agrees.
Same error family as BIT-31703: Prisma's default maxWait is 2s, so under
brief pool contention PATCH /v1/events/:eventId's $transaction could fail
to even start with 'Unable to start a transaction in the given time',
despite the trivial transaction body itself finishing well within the
default 5s timeout. Set maxWait/timeout to 10s to match the headroom
already used elsewhere (rebuildDirectory, assignGalleries) for this
error family.
National fixtures refresh hourly even when the FPA agenda is not due, so the
match picker already has them. A SmugMug destination takes the full upload
link and posts the JPEG with that album key.
National matches from eurohandball.com become pickable events. A training
can take those teams without becoming the match. Ingest stays two hours
before kick-off.
National games use linked plantéis for face suggestions; Portugal/Switzerland
pull nominated numbers and res.ehf.eu headshots from eurohandball.com, keeping
FPA CIPAs for Portuguese athletes.
Autopilot defaults to look none and 1s bursts; ordered deliverTargetIds send one frame per destination; Melhores gap 5s per destination. Delivery targets can own a colour for paint-to-send. Local FTP logins map to org members via uploaderUserId.
Write/read XMP-xmpDM:Pick for Attribute filters; watch local exports and on Reject delete the file and PATCH REJECT so the server retracts every destination.
Delivered JPEGs now carry Rating, green Label, digiKam PickLabel and Urgency
from the library cull. Lightroom Flagged is catalog-only — import filter by
rating or green label. Re-export picks after deploy.
Two folders settling on the same old event at once could deadlock the
conditional deleteMany in ArchiveService.dropIfEmpty. The delete is
idempotent (gated by its own WHERE), so retrying immediately on P2034
finishes the cleanup instead of leaving an orphaned empty event behind.
Asking for 200–300 was capped by the 8s twin gap and one-frame-per-burst fill.
fillToCount now treats the asked number as a hard target, then relaxes gap and
allows a second frame from a burst when still short. Local-first/Rust noted in AGENTS.
Restore offline autopilot: analyse every frame on the machine, settle the burst,
flag and develop only the best frames. Local-first is a non-negotiable — web is
sync glue, not a gate for culling.
Shut eyes and backs no longer win a burst when an open-eyed face exists. Develop/crop
runs only on the picked frames (not the whole sequence). Bursts without EXIF group by
ingest time. Level falls back to LightCraft when stadium lines disagree.
AF on a blurred jumper was winning the subject even when a sharp face sat behind. Require the aimed person to be sharp and to have a visible face when faces are known; always pass faces into the crop planner.
Re-pulling the same card name (or a server duplicate) was filing PSR1-1.JPG beside the first copy. Keep the camera name in ingest, remember fetched names on disk, and if the work folder already has that file just drop the ingest duplicate.
Shots sat on "queued" when IndexedDB event cache or EXIF preview stalled before enqueue. Push to the wire immediately with the open pin, enrich routing in the background, and clear a leftover offline pause when new files arrive.
BIT-165 sent previews without DateTimeOriginal to Sem evento even after auto-pull had already matched the card clock to the event window. Keep the pin when there is no capture time; with EXIF, the window check still blocks leftover morning pins.
Hand/desktop uploads into an open folder (and zero-width test fixtures) have no DateTimeOriginal; dropping them into Sem evento broke autopilot. The Miguel→Sub-21 bug is the case with EXIF outside the pin window.
Morning studio cards (14h) were landing on the afternoon Sub-21 training when windows overlapped or the pin ignored EXIF. Pin only wins inside its ingest window; overlapping windows pick the closest startsAt; no capture time stays in the inbox.
Desktop deliveries waiting for originals now push via sendOriginal in parallel
instead of sharing the JPEG queue, flush stuck Destinos rows, and surface a
discrete transfer strip across modules like Photo Mechanic.
Show USB/drop JPEGs in the library from a local blob before upload finishes,
and expose LightCraft spot remove/heal/clone/fill in Revelar without waiting
on generative AI or a WASM rebuild.
Holding an Image Capture session (and requestEnableTethering) put many
Canons on the computer/busy viewfinder. Open briefly to list/download,
close so the shutter works, then poll again. Bump shell to 0.3.27.
PhotoReport is a local app: when a new interface is downloaded, reload into
it at once. Check on launch and every 2 minutes; Preferences can force a
pull. No more "refresh like a browser" to see Enviar originais.
Photographers who already asked to send must not sit on faces NONE/PENDING.
Only every-arrival destinations may wait, and only while a face read is in
flight and the pad/path needs {players}.
Pins and time-based routing only keep an event while capture is inside its
ingest window and this photographer has not gone more than an hour without
a shot there — later bursts go to another matching event or Sem evento.
Keep the PTP session off at launch (restore last choice from prefs), publish
the catalog once the first pass finishes instead of on every item, and let
camera_status omit files when catalogGen is unchanged.
Read EXIF/XMP Rating at ingest into photos.rating and PICK, and have the
worker re-scan stored originals so already-imported starred frames show up
for Melhores / Escolhidas without waiting for a new upload.
The auto-ingest effect in useUsbCamera read status.files.filter directly,
guarded only by status?.tether. The Rust side always serializes files as
an array, but nothing on the TS side enforces that invariant on the IPC
boundary, and a status shape missing files (e.g. a stale/partial Tauri
response) crashed with "undefined is not an object (evaluating
'i.files.filter')" during the passive-effects flush, matching the
desktop error loop report. Default to an empty array like the render
path at UsbCameraButton already does.
Paperclip-Agent: José Alves (urlKey jos-alves; id 11179220-3cec-4f0f-880d-2771ff64fce8)
Paperclip-Issue: BIT-32038
Paperclip-Run: 68339729-e8a7-47bb-ac2b-20ba0f3189dd
A full-card pull (other days included) must never happen automatically.
Auto-ingest is opt-in and limited to new JPEGs whose camera time falls
between the event's ingestFrom and ingestUntil; the rest stay manual.
Stop auto-pulling tethered shots. List the card (and new frames as they
appear) and download only what the photographer selects, including RAW
sidecars. Open the PTP session after deviceDidBecomeReady so Canon bodies
do not hang on “A ligar…”.
A retagged desktop-v* on the wrong commit announced 0.3.25 while the
binary was still signed as 0.3.24. Prefer the newest asset, skip mismatched
releases, and refuse to write such a manifest at build time.
A REJECT that bypasses the library PATCH (or races the upload) could leave
the file on Nextcloud; reclaim those on the worker tick and cover reject/un-pick in tests.
When a body is on the cable, new shots go to the open event and the clock syncs to
this Mac; FTP local shows one connection per machine. EOS Utility must release the
cable first.
GET /v1/desktop/download/:releaseId/:name called DesktopReleases.file()
with no try/catch, unlike the sibling update-check route. A transient
network failure fetching the release/asset from Gitea threw a bare
undici TypeError (no file/line in its stack, since it originates
inside undici) straight through the route handler, landing on the
error hub as an unlocatable "TypeError: fetch failed" and a 500 to the
desktop app instead of a graceful retry signal.
Paperclip-Agent: José Alves (urlKey jos-alves; id 11179220-3cec-4f0f-880d-2771ff64fce8)
Paperclip-Issue: BIT-31961
Paperclip-Run: 431a287c-0cb3-4f73-9288-ac8d20e18df8
VipsJpeg: Invalid SOS parameters for sequential JPEG is another shape of the
same truncated/corrupted cloud-archive JPEG that premature end and corrupt
header already cover; isCorruptSourceMessage didn't match it, so it fell
through to the generic failure path and reached the error hub as a warning
instead of being marked corrupt_source at info level.
Paperclip-Agent: José Alves (urlKey jos-alves; id 11179220-3cec-4f0f-880d-2771ff64fce8)
Paperclip-Issue: BIT-31700
Paperclip-Run: 6435a4c4-0daa-41c4-8641-a0431c981ee8