Skip to content

Add mechanism to know if a bundle was successfully loaded or not #222

@jappeace

Description

@jappeace

Currently at supercede we deploy our app trough nixops with a lot of custom nix logic[1],
however since keter always gaurantees an app is running, there is no way to know if a newly placed bundle in the incoming directory has succeeded or failed.
What I'd like in this issue is some kindoff interface, in the broadest sense of the word, to know if the bundle loaded or not.

What I'm doing at the moment as a work around is emit a log message in the app just before binding to a port. This message then get's detected by a systemd script which waits for that. This approach has a lot of false negatives (eg, it reports failure wheras it actually succeeded).

[1]: I intend to upstream this code as soon as I get to it. It's not that much tbh.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions