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: improve duplicate template version name error#14572

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

Conversation

ethanndickson
Copy link
Member

@ethanndicksonethanndickson commentedSep 5, 2024
edited
Loading

Relates to#14569.
Relates to#14387.

The current error is justifiably confusing:

error: execute transaction: insert template version: pq: duplicate key value violates unique constraint "template_versions_template_id_name_key"

The error will instead read:

A template version with name "version-name" already exists for this template.

Users will probably see this error message more often if they start to manage templates usingcoderd provider.

Also has failed provisioner jobs return their full error trace when they fail.

@ethanndicksonGraphite App
Copy link
MemberAuthor

This stack of pull requests is managed by Graphite.Learn more about stacking.

Join@ethanndickson and the rest of your teammates onGraphiteGraphite

@ethanndicksonethanndicksonforce-pushed the09-05-fix_improve_duplicate_template_version_name_error branch from65e057b to5fd8943CompareSeptember 6, 2024 05:43
@ethanndicksonethanndickson merged commit208a5be intomainSep 6, 2024
27 checks passed
@ethanndicksonethanndickson deleted the 09-05-fix_improve_duplicate_template_version_name_error branchSeptember 6, 2024 06:13
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsSep 6, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@deansheatherdeansheatherdeansheather approved these changes

Assignees

@ethanndicksonethanndickson

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@ethanndickson@deansheather

[8]ページ先頭

©2009-2025 Movatter.jp