Skip to content

Conversation

@joe-yeager
Copy link
Contributor

@joe-yeager joe-yeager commented Apr 11, 2025

Description and Context

Move ensure project exists calls to the upload handler, only call ensureProjectExists after we have validated the project.

@joe-yeager joe-yeager marked this pull request as ready for review April 24, 2025 22:46
Comment on lines +165 to +168
await ensureProjectExists(accountId, projectConfig.name, {
forceCreate,
uploadCommand: isUploadCommand,
});
Copy link
Contributor Author

@joe-yeager joe-yeager Apr 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving this here assures that we don't call it until we have validated the project.

camden11
camden11 previously approved these changes Apr 28, 2025
Copy link
Contributor

@camden11 camden11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@joe-yeager joe-yeager merged commit 42f636e into main Apr 28, 2025
1 check passed
@joe-yeager joe-yeager deleted the jy/fix-project-created-on-validation-error branch April 28, 2025 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants