Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(server): e2e for missing jobs #15910

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

feat(server): e2e for missing jobs #15910

wants to merge 4 commits into from

Conversation

etnoy
Copy link
Contributor

@etnoy etnoy commented Feb 5, 2025

A follow-up on #15864 that improves the e2e tests and adds more tests for more jobs

Adds slightly more logging to job queue actions
Adds ML to e2e docker compose

Tests will fail until immich-app/test-assets#16 is merged

Should not be merged before we have a caching way to do e2e tests with ML

@etnoy etnoy force-pushed the fix/missing-thumbs branch from be01600 to 602230b Compare February 5, 2025 00:07
Copy link
Contributor

@mertalev mertalev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR doesn't really fix anything. Metadata extraction is different because it's the first job that inserts into the job status table. The other jobs all expect metadata extraction to have run already, so there's nothing wrong with assuming there's a job status row for these assets.

server/src/repositories/asset.repository.ts Outdated Show resolved Hide resolved
server/src/repositories/asset.repository.ts Outdated Show resolved Hide resolved
@etnoy etnoy force-pushed the fix/missing-thumbs branch 2 times, most recently from 88b50f3 to 855c5ca Compare February 5, 2025 13:51
@etnoy etnoy changed the title fix(server): queue thumbs and faces feat(server): e2e for missing jobs Feb 5, 2025
@etnoy etnoy force-pushed the fix/missing-thumbs branch 4 times, most recently from dca3f96 to 1144737 Compare February 5, 2025 21:27
@etnoy etnoy force-pushed the fix/missing-thumbs branch from 1144737 to 53660aa Compare February 5, 2025 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants