Page MenuHomePhabricator

Fix a fatal when viewing a daemon task with an invalid ID
ClosedPublic

Authored by epriestley on Jul 8 2016, 11:33 AM.
Tags
None
Referenced Files
F18783759: D16254.id.diff
Mon, Oct 13, 9:20 AM
F18783598: D16254.id39102.diff
Mon, Oct 13, 8:21 AM
F18783316: D16254.id39102.diff
Mon, Oct 13, 5:57 AM
F18750276: D16254.id39096.diff
Sat, Oct 4, 7:12 AM
F18685180: D16254.diff
Fri, Sep 26, 10:42 AM
F18629302: D16254.id39096.diff
Tue, Sep 16, 8:27 AM
F18616421: D16254.diff
Sun, Sep 14, 5:28 PM
F18599456: D16254.id.diff
Sep 13 2025, 7:28 AM
Subscribers
None

Details

Summary

Fixes T11295. Prior to this change, the "404 page" for daemon tasks fatals.

This page is special cased a little bit and not a normal 404 page, because it's possible for you to click a valid link and the task to get GC'd by the time you load the page, or similar. It tries to be a little more user-friendly than a bare 404.

Test Plan
  • Visited /daemon/task/1428348920328/ (any invalid ID).
  • Now got a nice "no such task" page.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix a fatal when viewing a daemon task with an invalid ID.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jul 8 2016, 2:08 PM
This revision was automatically updated to reflect the committed changes.