Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add deployment-wide agent metadata minimum interval enforcement#21257

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
cstyan wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromcallum/min-metadata-interval

Conversation

@cstyan
Copy link
Contributor

@cstyancstyan commentedDec 12, 2025
edited
Loading

Used tasks to help out with this one, as I'm not super familiar with the template build and validation process yet.

The changes here introduce a deployment wide minimum agent metadata interval via CLI flag/env var. This is then applied in astrict way to new templates/new builds of existing templates, such that the template build will fail if it has a metadata interval does not comply with the minimum set for the coderd config value. Additionally, workspaces from existing template versions will have their agent metadata intervals "silently" upgraded (we log the upgrade but don't fail the workspace build) to comply with the config value.

This should allow coder deployment admins more control over deamplifying the volume ofUpdateWorkspaceAgentMetadata db calls, and the associatedpg_notify calls that go to the Workspace UI page, which is particularly relevant in larger organizations with high workspace counts/more metadata per agent.

Logging of the upgrade for a workspace using an existing template verison.
Screenshot 2025-12-12 at 1 07 13 PM

The failure message for a new template build that contains an invalid agent metdata interval value.
Screenshot 2025-12-12 at 12 58 42 PM

For the workspace built from an existing template, I also manually verified that the 60s upgraded interval value was being respected by using a timer to track changes in values shown on the UI page.

@github-actions
Copy link

github-actionsbot commentedDec 12, 2025
edited
Loading

All contributors have signed the CLA ✍️ ✅
Posted by theCLA Assistant Lite bot.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@cstyancstyanforce-pushed thecallum/min-metadata-interval branch fromfac183f to140768fCompareDecember 13, 2025 00:51
@cstyancstyan changed the titlefeat: Add deployment-wide agent metadata minimum interval enforcementfeat: add deployment-wide agent metadata minimum interval enforcementDec 13, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

@cstyancstyan

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@cstyan

[8]ページ先頭

©2009-2025 Movatter.jp