Page MenuHomePhabricator

Allow "has draft inlines?" queries to overheat
ClosedPublic

Authored by epriestley on May 19 2020, 8:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 18, 2:55 AM
Unknown Object (File)
Wed, Dec 18, 12:45 AM
Unknown Object (File)
Tue, Dec 17, 3:28 AM
Unknown Object (File)
Mon, Dec 16, 5:55 AM
Unknown Object (File)
Wed, Dec 11, 6:03 AM
Unknown Object (File)
Sat, Dec 7, 1:40 PM
Unknown Object (File)
Fri, Dec 6, 7:38 PM
Unknown Object (File)
Tue, Dec 3, 4:08 PM
Subscribers
None

Details

Summary

Ref T13513. If your 10 most recently authored inlines have all been deleted, these queries can fail by overheating. This is silly and probably rarely happens outside of development.

For now, just let them overheat. This may create a false negative (incorrect "no draft" signal when the real condition is "drafts, but 10 most recent comments were deleted"). This could be sorted out later with a query mode like "executeAny()", perhaps.

Test Plan
  • Created and deleted 10 inlines.
  • Submitted comments.
  • Before: overheating fatal during draft flag generation.
  • After: clean submission.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.May 20 2020, 9:25 PM
This revision was automatically updated to reflect the committed changes.