enqueuing deployment syncs #242

Open
opened 2025-03-12 13:32:37 +01:00 by kiara · 5 comments
Owner

As a user of a Fediversity web front-end,
I want to be able to enqueue distinct configuration deployment syncs,
so that my UI could focus on a single application at a time.

implementation notes

  • this comes down to using a queue, potentially backed by multiple builders (#366)
    • ideally dropping outdated syncs for a deployment in favor of the newer one
  • nix-specific builder queues seem an open challenge still, with underlying work including work on the nix protocol
**As** a user of a Fediversity web front-end, **I want** to be able to enqueue distinct configuration deployment syncs, **so that** my UI could focus on a single application at a time. ### implementation notes - this comes down to using a queue, potentially backed by multiple builders (#366) - ideally dropping outdated syncs for a deployment in favor of the newer one - nix-specific builder queues seem an open challenge still, with underlying work including work on the [nix protocol](https://www.tweag.io/blog/2024-04-25-nix-protocol-in-rust/)

What's a "sync"?

What's a "sync"?
Author
Owner

@fricklerhandwerk currently our button i think said deploy, but that's a bit of a misnomer, given pressing it instead syncs configuration, which may simply alter settings for an existing service.

@fricklerhandwerk currently our button i think said deploy, but that's a bit of a misnomer, given pressing it instead syncs configuration, which may simply alter settings for an existing service.

Ah so you're saying that what we today call deployment should be async? Yes, it should be that in any case, and it's implied in the later user stories where one gets a notification once a deployment is done, even when leaving the page early.

Ah so you're saying that what we today call deployment should be async? Yes, it should be that in any case, and it's implied in the later user stories where one gets a notification once a deployment is done, even when leaving the page early.
Author
Owner

not just async. this story came from the recent meeting with the designers, who envisioned services to be separated across UI sections, each of which presumably altered independently. following such a UI, it would make sense for a deployment system to support that, e.g.:

  1. edit mastodon config
  2. edit pixelfed config
  3. start editing peertube config
  4. receive notification mastodon sync succeeded
  5. finish editing peertube config
  6. receive notification pixelfed sync succeeded
  7. receive notification peertube sync succeeded
not just async. this story came from the recent meeting with the designers, who envisioned services to be separated across UI sections, each of which presumably altered independently. following such a UI, it would make sense for a deployment system to support that, e.g.: 1. edit mastodon config 1. edit pixelfed config 1. start editing peertube config 1. receive notification mastodon sync succeeded 1. finish editing peertube config 1. receive notification pixelfed sync succeeded 1. receive notification peertube sync succeeded
Author
Owner
c.f. https://opentofu.org/docs/cli/commands/plan/#resource-targeting
kiara changed title from enqueue deployment syncs to enqueuing deployment syncs 2025-06-01 16:57:43 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks Depends on
Reference: fediversity/fediversity#242
No description provided.