Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

agent: periodically re-publish active tasks #1671

Open
psFried opened this issue Oct 2, 2024 · 0 comments
Open

agent: periodically re-publish active tasks #1671

psFried opened this issue Oct 2, 2024 · 0 comments

Comments

@psFried
Copy link
Member

psFried commented Oct 2, 2024

Controllers should periodically re-publish all active specs. We'd like to do this for several reasons:

  • It limits the staleness of built specs, ensuring that all built specs in active use were produced by a relatively recent version of the agent.
  • It allows us to limit the size of the builds storage bucket by setting a lifecycle policy

The actual interval at which we re-publish should probably be configurable via an application argument. If nothing else, it makes it easier to test. The default interval is up for debate. I'll start the bidding at 30 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant