Skip to content

Conversation

@gribnoysup
Copy link
Collaborator

These are not meaningfully used in Compass and make it harder to have the same interface shared between web and desktop

@gribnoysup gribnoysup requested a review from a team as a code owner July 23, 2025 09:50
});
}

private mergeStats(pipeline: SavedPipeline, stats: Stats): SavedPipeline {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That was the only case where we use it, and even then we always write our own number on create / update

.number()
.transform((x) => new Date(x))
.optional(),
.default(0)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

In the rarest case ever if someone still somehow doesn't have this value stored, we fallback to zero, the logic for writing this value to UserData was here for such a long time, I don't think this will ever be used

@gribnoysup gribnoysup requested a review from nvs119 July 23, 2025 09:52

export interface ReadAllResult<T extends z.Schema> {
data: z.output<T>[];
errors: Error[];
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This shape with returned errors is also not used anywhere really, we always pick up data, but it's a bigger change and this part of the interface doesn't depend on fs, so not touching it

@gribnoysup gribnoysup added the no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion) label Jul 23, 2025
@gribnoysup gribnoysup merged commit ec74f26 into main Jul 28, 2025
55 of 58 checks passed
@gribnoysup gribnoysup deleted the remove-read-with-stats branch July 28, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants