mirror of
https://github.com/photoprism/photoprism.git
synced 2026-03-02 22:57:18 -05:00
Flaky TestMediaFile_GetColors_Slow test #89
Labels
No labels
ai
android
api
auth
awesome
bug
bug
ci
cli
config
database
declined
deprecated
docker
docs 📚
documents
duplicate
easy
enhancement
enhancement
enhancement
epic
faces
feedback wanted
frontend
hacktoberfest
help wanted
idea
in-progress
incomplete
index
invalid
ios
labels
live
live
low-priority
macos
member-feature
metadata
mobile
nas
needs-analysis
no-coding-required
no-coding-required
observability
performance
places
please-test
plus-feature
priority
pro-feature
question
raspberry-pi
raw
released
released
released
research
resolved
security
sharing
tested
tests
third-party-issue
thumbnails
upgrade
upstream-issue
ux
vector
video
waiting
won't fix
won't fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/photoprism#89
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @skunert on GitHub (Apr 20, 2019).
Originally assigned to: @skunert on GitHub.
Sadly, TestMediaFile_GetColors_Slow is now flaky because of PR #103. The output of the prominentcolors library depends on some random parameters in the algorithm.
I think we should move the discussion here instead of the PR.
@skunert commented on GitHub (Apr 20, 2019):
I have ideas how to fix the issue, but do not have time until monday. Will get to it then.
@lastzero commented on GitHub (Apr 25, 2019):
I've just pushed an implementation that doesn't use random numbers. It also enables us to search specific parts of an image (3x3 pixels = up to 9 colors). Seems to work well for now! A friend of mine did that long ago for an art project, not sure if it's an official algorithm 😉
Of course you can have the bounty for #7 if you like, see https://issuehunt.io/r/photoprism/photoprism/issues/7
@skunert commented on GitHub (Apr 26, 2019):
Okay, I was too slow :D. But nice that you fixed it so quickly, sorry for the hassle.
@lastzero commented on GitHub (Apr 26, 2019):
It was really helpful that you pushed this forward 👍