Repository navigation
fix(server): t3_project_read shows the actions saved in Settings #39676
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
Merged
juliusmarminge
merged 2 commits into
pingdotgg:main
from
imqdee:fix/project-read-shows-saved-actions
Nov 20, 2026
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add create tests for a failed Settings read after commit.
withSavedProjectSettingsAfterCreate(handlers.ts:204-206) returns the created record when the Settings read fails. Both create paths use it: the named-project path at line 532 and the workspace-root path at line 546. No test inhandlers.test.tsexercises this fallback for either path. Removing the fallback would not fail a test.Add a test for each creation path. Each test should make the Settings read fail after the project commits, then assert that
t3_project_createreturns the created project. The named-project test should also assert thatcommitErroris kept. Add one case that a successful Settings read enriches the create response. Place these cases in the existing create tests where they fit.Source: Coding guidelines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leaving this out for now. The fallback is a single
Effect.orElseSucceedaround the mapper the read test already covers, and exercising it needs a dedicated failingServerSettingsServicemock in the create harness. The PR also carries maintainer evidence pinned to 040a738, so I'd rather not move the head for a test of that size. Happy to add it if a maintainer wants it.