Face analysis stalls behind reference headshots #185
Closed
opened 2026-11-04 23:18:21 +00:00 by spark
·
3 comments
No Branch/Tag Specified
main
fix/BIT-34038-deploy-anti-downgrade
fix/BIT-33558-cloud-target-p2037-transient
fix/BIT-33539-archive-rebuild-directory-pk-race
fix/BIT-33549-develop-poll-pool-exhaustion-transient
fix/BIT-33550-archive-p2037-transient
fix/BIT-33527-pg-client-not-queryable-transient
fix/BIT-33540-arquivo-500-graceful-degradation
fix/BIT-33537-p2037-connection-exhaustion-filter
fix/BIT-33535-galleries-500-graceful-degradation
fix/BIT-33532-cloudfile-p2002-race
fix/BIT-33530-worker-deploy-connection-overlap
task/BIT-33548-health-connection-exhaustion
task/gitea-319-leiria-unsure-picks
task/gitea-317-ud-leiria-rest
task/autopilot-fair-split
task/cloud-w17
task/w17-fold-friendly
task/ehf-checklist-update-hint
task/w17-ehf-euro
task/zerozero-publish-403
task/BIT-33418-retry-race-condition
task/zerozero-publish-game
task/BIT-33402-desktop-self-update
task/BIT-33405-context-menu-date-flake
task/BIT-30361-manual-payment
task/BIT-33293-autopilot-ci
task/BIT-33293-autopilot-tests
task/lightroom-roundtrip
task/lightroom-file-metadata
task/lightroom-metadata-on-file
task/reportage-clear-subject
task/BIT-33124-disk-marks-reliable
task/BIT-33124-read-disk-marks
task/BIT-32879-crop-clean-framing
fix/BIT-32855-bound-boot-health-wait
task/gitea-294-trust-the-frame
task/BIT-32810-transaction-closed-transient
fix/BIT-32083-transaction-timeout-guard
task/gitea-287-joga-tls
task/autopilot-original-aspect
task/gitea-287-joga-client
task/gitea-287-fpf-squad-season
task/gitea-285-taca-portugal-fpf
task/BIT-32490-reporter-transient-db-filter
fix/BIT-31961-sports-headshot-fetch-failed
task/BIT-32481-p1017-linkSquadPerson-test
task/BIT-32491-boot-pm2-timeout
fix/BIT-32475-sports-p1017-connection-closed-retry-exhausted
fix/BIT-32474-sports-57p03-personforidentity
fix/BIT-32473-archive-57p01-admin-shutdown
fix/BIT-32469-archive-p2010-unreachable
fix/BIT-32471-sports-57p01-admin-shutdown
fix/BIT-32470-sports-57p03-shutdown
fix/BIT-32463-sports-p1001-unreachable
fix/BIT-32462-archive-pg-unreachable
fix/BIT-32460-sports-p1017-connection-closed
fix/BIT-32449-develop-pg-admin-shutdown
fix/BIT-32450-faces-pg-admin-shutdown
fix/BIT-32447-pg-pool-error-handler
task/BIT-265-autopilot-rest-warmup-picks
task/BIT-262-flush-work-folder-xmp
task/BIT-262-work-folder-xmp
task/client-galleries
task/BIT-257-keep-football
task/BIT-257-archived-pin
fix/BIT-31961-stripe-invoicexpress-fetch-failed
task/BIT-251-catch-up
task/BIT-251-preview-clock
task/BIT-251-winter-clock
task/BIT-249-frame-intent
task/BIT-247-desktop-update
task/BIT-245-gallery-ceiling
task/BIT-243-galleries
task/BIT-241-zerozero-credit
task/BIT-239-loupe
task/BIT-237-desk
task/BIT-235-mcp-assistant
task/BIT-233-quiet-chrome
fix/BIT-32083-upsert-maxwait
fix/BIT-32086-liga-squad-reread-400
fix/BIT-32085-sports-youth-m19-regression
fix/BIT-32084-ci-regression-tests
task/BIT-228-library-bar
task/BIT-226-clean-panels
task/BIT-224-desktop-031
task/BIT-222-squad-faces
task/BIT-220-cull-bar
task/BIT-218-uncolored-menus
task/BIT-216-republish-app
task/BIT-214-drag-select
task/BIT-212-color-without
task/BIT-210-stale-event-drop
task/BIT-208-pm-color
task/BIT-205-fpa-club-town
task/BIT-203-stadium-city
task/BIT-201-kit-light
task/BIT-199-keep-sure-face
task/BIT-197-faces-rank-kit
task/BIT-195-faces-number-and-photo-menu
task/BIT-193-iptc-caption-empty-location
task/BIT-190-desktop-0.3.29-cropbias
task/BIT-190-card-ingest-macos-free-space
task/BIT-lr-crop-xmp
task/m19-youth-cloud
fix/BIT-31903-headshot-unsupported-format
task/BIT-185-faces-before-references
task/BIT-184-create-event
task/BIT-182-picker-people
fix/BIT-32057-events-transaction-maxwait
task/BIT-180-eurocup-fixtures
task/BIT-179-snam-national-faces
task/BIT-177-autopilot-delivery-identity
task/BIT-174-lr-pick-xmp
task/BIT-173-export-pick-xmp
fix/BIT-32041-drop-if-empty-deadlock
task/BIT-172-best-honour-count
task/BIT-171-local-burst-autopilot
task/BIT-170-pick-eyes-level-edit
task/BIT-169-crop-face-focus
task/BIT-168-usb-no-dup-copies
task/BIT-167-upload-queue-unstick
task/BIT-166-usb-pin-no-exif
task/BIT-165-event-routing
task/BIT-163-originals-transfer-bar
task/BIT-161-local-first-remove
task/BIT-159-usb-shootable-tether
task/BIT-157-desktop-auto-ui-reload
task/BIT-155-send-originals-visible
task/BIT-153-send-originals-face-resend
task/BIT-151-delivery-no-face-wait
task/BIT-149-ingest-hour-gap
task/BIT-144-usb-catalog-perf
task/BIT-146-camera-rating-ingest
fix/BIT-32038-usb-status-files-undefined
task/BIT-usb-event-window
task/BIT-usb-card-import
task/BIT-retract-orphan-reconcile
task/BIT-desktop-update-sig-guard
task/BIT-134-usb-tether
fix/BIT-31961-desktop-download-fetch-failed
task/BIT-31700-vips-sos-corrupt-source
fix/BIT-31898-fpa-associate-name-collision
task/126-selfie-camera
task/126-find-registry-first
task/126-archive-find-speed
task/126-archive-find-by-photo
task/archive-licence
task/folder-develop-upload
task/folder-merge-dng
task/BIT-31725-node24-upgrade
task/folder-drop-window
task/contact-sheet-remove
backup/stash-20261025-photoreport-0
fix/BIT-31658-ffmpeg-map-corrupt-source
task/index-added-photos
task/BIT-31658-archive-hub-noise
fix/BIT-31621-moov-corrupt-source
fix/BIT-31229-unsupported-image-format
fix/BIT-31203-event-vanished-race
task/club-siglas
task/BIT-31680-dropifempty-deadlock-retry
fix/BIT-31622-no-video-stream-skip
task/main-red-app-tests
task/ehf-fixtures
task/squad-reindex
task/people-season
task/lineup-photo
task/selection-rules
task/season-squads
task/faces-roster
task/merge-collection
task/86-confirm-fuse
task/84-progress-export
task/faces-confirm
task/80-camera-clock
task/78-card-offload
task/capture-meta
task/archive-video-faces-queue
task/archive-video-faces
task/archive-video
task/archive-directory-stored
task/crop-sport-ball
task/crop-clean-edge
task/help-faq
task/filmstrip-filter
task/softer-highlights
task/library-sync
task/archive-not-live
task/sequence-crop
task/offline-preview
task/upload-expired-token
task/whole-figure
task/detail-and-speed
task/export-lift
task/reportage-heads
task/keep-foot-at-the-edge
task/reportage-crop
task/keep-whole-feet
task/stale-ftp-pin
task/archive-design-phase2
task/archive-design-phase1
task/archive-one-gallery
task/archive-slash-sponsor
task/archive-teams-fast
task/autopilot-agency-style
task/liga-sheet-faces
task/faces-recent-month
task/ci-green
task/desktop-folder-permissions
task/archive-templates
task/archive-teams-and-search
task/archive-game-local-copy
task/squad-player-filter
task/jpeg-complete
task/send-by-output
task/pm-info-review
task/delivery-names-local-copy
task/desktop-bundle-script
task/develop-crop-lightroom
task/folder-scan-progress
task/folder-scan-background
task/gpu-and-cpu-faces
fix/BIT-31393-face-worker-exit
task/local-folder-faces
task/scan-game-then-rest
task/scan-one-game
task/ship-folder-search
task/archive-viewer-pages
task/delivery-retracted-label
task/autopilot-hand-uploads
task/delivery-retract-unwanted
task/ship-pending
task/face-queue-boost
task/BIT-31305-undici-socket-end-assertion-guard
task/library-remember-target
task/ingest-original-responder-serial
task/ingest-truncated-jpeg
fix/BIT-31189-prisma-pool-after-end
fix/BIT-31177-pg-pool-after-end
desktop-v0.3.34
desktop-v0.3.33
desktop-v0.3.32
desktop-v0.3.31
desktop-v0.3.30
desktop-v0.3.29
desktop-v0.3.28
desktop-v0.3.27
desktop-v0.3.26
desktop-v0.3.25
desktop-v0.3.24
desktop-v0.3.23
desktop-v0.3.22
desktop-v0.3.21
desktop-v0.3.20
desktop-v0.3.18
desktop-v0.3.17
desktop-v0.3.16
desktop-v0.3.15
desktop-v0.3.14
desktop-v0.3.13
desktop-v0.3.12
desktop-v0.3.11
desktop-v0.3.10
desktop-v0.3.9
desktop-v0.3.8
desktop-v0.3.7
desktop-v0.3.6
desktop-v0.3.5
desktop-v0.3.4
desktop-v0.3.3
desktop-v0.3.2
desktop-v0.3.1
desktop-v0.3.0
Labels
No items
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
artur (Artur Moreira)
artur-moreira (Artur Moreira)
automation-engineer (José Alves)
bug-squasher (Bug Squasher)
coo (Rosa Neves)
cto (Peter Spark)
database-engineer (Diana Neves)
david-santos (David Santos)
devops-engineer (Tiago Neves)
eduardo (Eduardo Henriques)
eduardo-henriques (Eduardo Henriques)
founding-engineer (David Santos)
jos-alves (José Alves)
maria (Maria Papoila)
maria-papoila (Maria Papoila)
miguel-teixeira (Miguel Teixeira)
nelson-alves (Nelson Alves)
nelson-baptista (Nelson Baptista)
netsec-engineer (Nuno Santos)
paperclip-merge-bot
paperclip-review-bot
patr-cia-santos (Patrícia Santos)
paula-alves (Paula Alves)
peter-spark (Peter Spark)
php-re-specialist (Pedro Alves)
planner (Patrícia Santos)
qa-engineer (Paula Alves)
rosa-neves (Rosa Neves)
security (Sérgio Rodrigues)
spark
tiago-neves (Tiago Neves)
xika (Xika)
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: BitReport.pt/photoreport#185
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What happened
Portugal x Switzerland, 4 Nov 2026: 1700+ photos sat in PENDING and the library showed face analysis unavailable.
The worker was alive, but one tick awaited five reference headshots before claiming any photo. Each headshot refreshes suggestions across recent games, so the tick never reached the match and the heartbeat went stale (the API treats a beat older than 90s as the engine being down).
Change
Photos are claimed first. One reference headshot is started per tick and not awaited. The heartbeat is written on its own timer, so a long suggestion refresh does not look like a dead worker.
Hotpatched on pr-api dist and worker restarted at 21:24 UTC. This PR is that same change, so the next deploy does not put the old order back.
PR #186
CI is running. I will merge to main when it is green so the next deploy keeps match photos ahead of reference headshots.
Merged to main as
67b6b7e2. PR #186CI was green (rust and typescript). Waiting on the pr-api deploy.
Deployed on pr-api. Health reports
67b6b7e2. photoreport-worker restarted (pid 741132). The built worker claims one reference headshot without waiting, and no longer claims five before the match photos.