Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | • Lucas_Werkmeister_WMDE | T173695 Enable constraint checks by default for users | |||
Open | None | T103228 Improve performance of constraint check | |||
Resolved | Lydia_Pintscher | T179839 Cache constraint check results | |||
Resolved | Lydia_Pintscher | T179849 Cache all constraint check results per-entity | |||
Resolved | • Lucas_Werkmeister_WMDE | T181060 Cache constraint check results per-entity in ObjectCache (L) (days: 2) | |||
Resolved | • Lucas_Werkmeister_WMDE | T182106 Read constraint check results from cache and check freshness |
Event Timeline
Also: adjust the cached information embedded in the results! The best way to do that is probably to move array serialization and deserialization of CachingMetadata into that class itself, so that we can turn "cached": { "maximumAgeInSeconds": 500 } back into a CachingMetadata object which we can then merge with another CachingMetadata object indicating the ObjectCache TTL. And also we need a list of constraint types where we do and don’t attach this information (i. e., for most constraint types the results are always fresh if we invalidate them often enough) – I think I had this list in some other task already.
EDIT: This was split off into T182992: Update 'cached' information when getting constraint check results from cache.
Change 398064 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/WikibaseQualityConstraints@master] WIP: read constraint check results from cache
Change 399619 had a related patch set uploaded (by Thiemo Kreuz (WMDE); owner: Thiemo Kreuz (WMDE)):
[mediawiki/extensions/WikibaseQualityConstraints@master] Simplify the microtime() mocking in CachingResultsBuilderTest
Change 398064 merged by jenkins-bot:
[mediawiki/extensions/WikibaseQualityConstraints@master] Read constraint check results from cache
Change 399619 merged by jenkins-bot:
[mediawiki/extensions/WikibaseQualityConstraints@master] Simplify the microtime() mocking in CachingResultsBuilderTest