-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Reduce work done by astro sync
#9716
Conversation
🦋 Changeset detectedLatest commit: 2b24054 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
Assuming that this now also says which file doesn't satisfy the content collections type, I'd say that's an improvement! The only way it could be better is if it identified the specific way in which the file did not conform.
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.
lgtm
I guess we need a changeset? |
Those are essentially two different errors, one is because it couldn't generate the types at all (entry malformed), whereas the other one is that a type didn't match |
I would've expected it to validate if it parses the content entries. Maybe the odd part is the fact that |
Honestly that is surprising. I don't think anything about |
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.
#NWTWWHB
Sorry for stealing all the reviews, but I think we can not even error in the first place. |
astro sync
pr was redone
All of the |
That makes sense. I should clarify what I found problematic working on this.
The result is errors appearing from unexpected places, and tracking them down being a guessing game. |
I did not feel good about the enhacing The solution I want is where a new |
Changes
Testing
Does not affect behavior. Existing tests should pass.
Docs
Does not affect usage.