Page MenuHomePhabricator

Allow "has draft inlines?" queries to overheat
ClosedPublic

Authored by epriestley on May 19 2020, 8:54 PM.
Tags
None
Referenced Files
F13077888: D21274.diff
Tue, Apr 23, 6:43 AM
Unknown Object (File)
Sun, Mar 31, 10:20 PM
Unknown Object (File)
Sun, Mar 24, 11:02 AM
Unknown Object (File)
Mar 4 2024, 9:49 PM
Unknown Object (File)
Feb 22 2024, 2:34 PM
Unknown Object (File)
Feb 7 2024, 11:56 PM
Unknown Object (File)
Jan 28 2024, 8:12 AM
Unknown Object (File)
Dec 19 2023, 3:59 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.