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

Bug with batches #1020

Open
ollym opened this issue Jul 29, 2023 · 1 comment
Open

Bug with batches #1020

ollym opened this issue Jul 29, 2023 · 1 comment

Comments

@ollym
Copy link

ollym commented Jul 29, 2023

CleanShot 2023-07-29 at 12 32 38@2x

We're trying to show a progress report but it's not working because of this error

@bensheldon
Copy link
Owner

@ollym thanks for reporting! That's strange because I would currently expect a job and head_execution to point to the same row in the database 🤔 Maybe if you're using preserve_job_records = false it's possible the record is deleted between the job being loaded and the association being loaded (even though they point to the same record in the database).

Hopefully that's the case, because I made #1022 which removes the 2nd query (assuming that a 2nd query is the cause of your problem) and is overall a cleaner implementation imo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Inbox
Development

No branches or pull requests

2 participants