• 1.4.31-stiletto c3979435fc

    loweel released this 2026-11-24 01:10:41 +01:00 | 19 commits to master since this release

    Stabbypossum 1.4.31 "STILETTO" fixes the memory a Purge kept, makes flags renamable, and closes a gap left by MISERICORDE's Delete from the server.

    Install

    Run the image from Docker Hub: loweel/stabbypossum.

    This release ships no binaries. The source archive is attached below.

    A Purge no longer keeps memory

    To find the posts of the account it clears, a Purge read every file in object/ whole. The largest one stayed on the maintenance task's stack for as long as the process lived: in production on 23 November three Purge rows left 5 to 10 MiB of heap each, about 19 MiB that never came back.

    A file is now searched 64 KiB at a time, and read whole only when it names the account. The spool's terminal/ sweep and the cleaning of ignored/ search the same way, every name in one read of the file.

    Measured locally at 1 CPU, 20,000 objects with a 6 MiB largest one:

    before after
    live heap after the first Purge +13.1 MiB +0.4 MiB

    The smoke's --purge-burst N measures it.

    Flags are UUIDs, and their names can be changed

    A flag is now a UUID and its numbers; the name is only what a person reads.

    • Built-in flags (Spam, Missing Host, Client Block, ...) have fixed UUIDs, the same on every Stabbypossum. Their names and numbers stay fixed.
    • Flags you added get a UUID of their own and are filed as flags/<uuid>.json. Their name can be changed on the Flags page, and every row that carries the flag shows the new name at once, without being rewritten.
    • Rows store only the flag's UUID.
    • Names never clash: a name already shown by another flag, built-in or added, gets -2, -3 and so on.
    • Export and import on the Flags page: flags.csv, one line per added flag with id, name, latency, maximum, period, expiry. On import a flag whose id is already here stays as it is here, a new one is added, and a line that cannot be read is counted.
    • A user's policy.csv export now also carries the flag's UUID.

    Upgrading. At the first start each added flag gets its UUID, derived from the file it was kept in, so a start cut short and done again gives the same flag. Then every row that named its flag is written with the UUID. Rows written before still read correctly while this runs. A flag or a row that cannot be moved is logged at ERROR, keeps working as before, and is tried again at the next start; the Flags page says how many flags are still waiting.

    A boost of a deleted post is let go

    MISERICORDE's Delete from the server removed a post and every copy of it, but a boost of that post arriving afterwards still made an entry in a follower's Home: no text, but an entry that should not exist, and the booster was noted on the post again. A boost of a post that is a tombstone here, deleted by its author or by the administrator, now makes nothing.

    Also fixed

    • When the counts of a new actor's profile could not be queued, the ERROR line did not say why. The spool's answer is now logged with the request: a request already being written at that moment is a race and goes to DEBUG, anything else is an ERROR.

    Tests

    The full smoke and the unit tests pass. The unit tests now include the upgrade: an old flag file, rows naming it on the instance's table and a user's, the move run twice, then cut short and run again; one flag remains, with the same UUID, name and numbers, and the rows carry the UUID.

    Downloads