Rails relies on ar_internal_metadata to track schema environment and
protect database tasks since rails 5. Keeping this table in generated
test fixtures can overwrite metadata and trigger environment
mismatch/no-environment errors when cucumber invokes db:test:load.
Excluding ar_internal_metadata from fixture_builder output keeps test
metadata managed by Rails tasks and avoids intermittent schema environment
failures in the Rails test workflow.
This was also added as default, but is not released yet:
https://github.com/rdy/fixture_builder/pull/60closes#8478
Some imagemagick-versions (I tested Ubuntu 22.04 and debian bullseye)
always loose exif data when converting from jpg to webp. So this made
our CI fail now, but even if it wasn't failing before, some pods always
had and have versions which might loose the information anyway. So
having a setting to keep exif information is kinda pointless, if we
can't guarantee that the information isn't lost. Also, diaspora isn't a
photo sharing platform and we don't display exif information anywhere,
so I think we should just always strip exif data (which was already the
default before), as we don't need them.
It is not included into the main test suite, because it has :performance tag.
One can run this test using command:
$ bin/rspec --tag performance spec/integration/export/memory_usage_spec.rb
This test creates additional fixtures set to speed up repeated runs.
Conversation recipient validated
- Conversation foreign recipient not required to be validated.
- Added 'peter' as spec_helper user.
- New fixture, new statistic values.
- Clearer identifier names