~sircmpwn

Philadelphia, PA

https://drewdevault.com

I write code.

For sourcehut support, see the wiki.

Trackers

~sircmpwn/gmni

Last active 10 hours ago

~sircmpwn/builds.sr.ht

Last active a day ago

~sircmpwn/aerc2

Last active a day ago

~sircmpwn/sr.ht

Last active 7 days ago

~sircmpwn/hub.sr.ht

Last active 7 days ago

~sircmpwn/todo.sr.ht

Last active 9 days ago

~sircmpwn/dowork

Last active 10 days ago

~sircmpwn/lists.sr.ht

Last active 12 days ago

~sircmpwn/sr.ht-ops

Last active 13 days ago

~sircmpwn/core-go

Last active 13 days ago
View more

#107 Normalize the list of Parts 12 hours ago

on ~migadu/alps

REPORTED RESOLVED FIXED

#126 Add instrumentation 12 hours ago

Comment by ~sircmpwn on ~migadu/alps

If we want to instrument some internals which aren't exposed to plugins, we should implement it internally. Personally I wouldn't have a problem with going all in on Prometheus, it's sufficiently better than the previous state of the art that anything which comes next is likely to be compatible with it.

#107 Normalize the list of Parts 12 hours ago

Comment by ~sircmpwn on ~migadu/alps

Tabs: ✓

Attachment list: TODO

#85 SMTP sending is sync 14 hours ago

Comment by ~sircmpwn on ~migadu/alps

I've pushed a change which sends emails asyncronously and retries on failure with an exponential backoff, up to 5 times (and up to a couple of hours later, accounting for the backoff).

I think it's relatively reasonable to assume that the SMTP server will usually be up, and failures will be transient, so it's probably fine to just drop emails on the floor if they aren't sent. The remote server has its own queueing and redelivery system and will send a mail delivery status message if there are errors later on. The message is saved in the user's outgoing mail folder regardless, so it's not unrecoverable anyway.

If that's not sufficient, ~migadu, feel free to re-open this to discuss more options.

REPORTED RESOLVED IMPLEMENTED

#126 Add instrumentation 15 hours ago

Ticket created by ~sircmpwn on ~migadu/alps

~migadu what are your current requirements for infrastructure monitoring? We use Prometheus at SourceHut and it would be pretty easy to incorporate into alps.

#125 Process lifecycle and availability 15 hours ago

Ticket created by ~sircmpwn on ~migadu/alps

As I'm implementing asyncronous emaild elivery, I'm also setting it up to block process termination until all queued emails are sent.

If not planned for, this can cause an outage if you wait for the process to finish shutting down before spinning up a new one, which the naieve approach with most service managers would do (e.g. openrc, systemd).

~migadu, do you have thoughts on this? Should we discuss deployment planning with this in mind?

#115 Basic search queries 16 hours ago

on ~migadu/alps

REPORTED RESOLVED IMPLEMENTED

#308 Intermittent hanging when using dockerd on archlinux a day ago

Comment by ~sircmpwn on ~sircmpwn/builds.sr.ht

~eschwartz *

#124 Rig up the check boxes on the message list page a day ago

mvp added by ~sircmpwn on ~migadu/alps

#124 Rig up the check boxes on the message list page a day ago

Ticket created by ~sircmpwn on ~migadu/alps