Page MenuHomePhabricator

Make bot macro handler more graceful in the face of failure
ClosedPublic

Authored by epriestley on Aug 14 2014, 3:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 21, 10:58 AM
Unknown Object (File)
Sat, Sep 7, 1:31 AM
Unknown Object (File)
Aug 22 2024, 2:17 PM
Unknown Object (File)
Aug 9 2024, 3:13 AM
Unknown Object (File)
Aug 6 2024, 6:53 PM
Unknown Object (File)
Jul 24 2024, 6:08 AM
Unknown Object (File)
Jul 23 2024, 12:03 AM
Unknown Object (File)
Jul 19 2024, 2:17 AM
Subscribers

Details

Summary

Fixes T5883. The first time we hit an error we'll continue forward; we only bail after the second time. Instead, check for an error immediately

Test Plan

HA HA HA DID NOT TEST HA HA HA HA

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Make bot macro handler more graceful in the face of failure.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: btrahan, cburroughs.

Not sure what the convention is for logging in daemons, but should this get a log message instead of silent bail?

We could refine this behavior, but the bot stuff is a wasteland of low-quality code right now. This is an actual bug, but refining the error handling behavior is more of a commitment than I want to make at the moment.

cburroughs edited edge metadata.

For giggles I applied the patch instead of following the test plan and we didn't die on a for loop.

This revision is now accepted and ready to land.Aug 14 2014, 4:02 PM
epriestley updated this revision to Diff 24719.

Closed by commit rP40a4eeec77a9 (authored by @epriestley).