-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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: Fix image look-up table in EncodedStreamObject #2128
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2128 +/- ##
=======================================
Coverage 94.10% 94.10%
=======================================
Files 41 41
Lines 7460 7460
Branches 1474 1474
=======================================
Hits 7020 7020
Misses 274 274
Partials 166 166
☔ View full report in Codecov by Sentry. |
@MartinThoma all yours |
Won't this still raise "strange" errors for invalid lookup tables due to assuming that |
the issue was due to an improper extraction of the list (this was a bug): I'm not expecting the error to appear anymore. |
You mean that when line 905 is executed (id est we have an invalid lookup table), neither the Lines 900 to 926 in 89eb626
|
I missed it: you are right! |
@MartinThoma stdby |
I had issues with test_watermarking_speed going into timeout : is the duration just on the edge ? |
Running only the three watermarking tests (including the not yet added one) I could observe a total runtime of four seconds, which should not really be an issue - although download speed might play into this as well, but the corresponding files should be cached in theory. |
@stefan6419846 / @MartinThoma Lines 643 to 656 in 89eb626
|
Yes, but not only that. I think we should have a general timeout for every test that is well above what we would expect. Something like 30s. Some tests should be able to increase that if we know they are slow. some tests should reduce it if we know they should be super fast and have potential for a regression from linear runtime to quadratic runtime or similar. I want to avoid that CI becomes flaky just because the CI machines are slow and the test is right at the edge.
That looks pretty fine to me. We might want to use |
Very nice @pubpub-zz 🎉 I hope I find a couple of free weekends during the colder months to get below 30 open issues 🤞 |
## What's new ### Bug Fixes (BUG) - Cope with missing /I in articles (#2134) - Fix image look-up table in EncodedStreamObject (#2128) - remove_images not operating in sub level forms (#2133) ### Robustness (ROB) - Cope with damaged PDF (#2129) ### Documentation (DOC) - How to take ownership (#2123) ### Developer Experience (DEV) - Download PDFs before executing the tests to not run into timeouts (#2143) - Add workflow_dispatch to CI (#2145) - Automatically create release message / tag message (#2127) - Ensure the REL commit message is consistently created (#2126) ### Testing (TST) - Add test for correct rendering of watermarks (#2130) [Full Changelog](3.15.4...3.15.5)
closes #2124
closes #2110