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

fix(enterprise/coderd/prebuilds): hard-limit preset if all create attempts failed#18551

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

Closed
johnstcn wants to merge1 commit intomainfromcj/bail-multiple-failed-prebuilds

Conversation

johnstcn
Copy link
Member

A template was improperly configured for prebuilds, resulting in multiple logs spam.

The error was an unrecoverable one:

2025-06-24 18:06:22.492 | 2025-06-24 18:06:22.492 [erro]  coderd.prebuilds: failed to create prebuild  template_id=3e08934c-5661-4762-bfea-8efc0385002f  template_name=coder-with-amazon-q  template_version_id=e87ba734-afa1-45a3-96c7-9447a98c59db  template_version_name=epic_ishizaka8  preset_id=73912bb9-8fee-4833-bd8e-b8664db82edc  preset_name="GoLand ZA" ...     error= execute transaction:                github.com/coder/coder/v2/coderd/database.(*sqlQuerier).runTx                    /home/runner/work/coder/coder/coderd/database/db.go:213              - provision workspace:                github.com/coder/coder/v2/enterprise/coderd/prebuilds.(*StoreReconciler).provision                    /home/runner/work/coder/coder/enterprise/coderd/prebuilds/reconcile.go:745              - build tx:                github.com/coder/coder/v2/coderd/wsbuilder.(*Builder).Build                    /home/runner/work/coder/coder/coderd/wsbuilder/wsbuilder.go:285              - execute transaction:                github.com/coder/coder/v2/coderd/database.(*sqlQuerier).runTx                   /home/runner/work/coder/coder/coderd/database/db.go:193              - get parameters:                github.com/coder/coder/v2/coderd/wsbuilder.(*Builder).getParameters                    /home/runner/work/coder/coder/coderd/wsbuilder/wsbuilder.go:720              - Parameter "AI Prompt" is required but not provided

As far as I can tell, ifcreatePrebuiltWorkspace() fails all of the times it attempted to create a prebuild, it is unlikely to ever succeed for that preset.

Still TODO: figure out how to write a test for this.

@johnstcnjohnstcn self-assigned thisJun 24, 2025
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJun 25, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@ssncferreirassncferreiraAwaiting requested review from ssncferreira

@EmyrkEmyrkAwaiting requested review from Emyrk

@SasSwartSasSwartAwaiting requested review from SasSwart

Assignees

@johnstcnjohnstcn

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@johnstcn

[8]ページ先頭

©2009-2025 Movatter.jp