Skip to content

Conversation

nemacysts
Copy link
Member

We currently do this in an internal repo (py-gitolite), but I don't see why we don't just do this in paasta validate - especially since moving this check left means that folks are alerted to broken config earlier rather than when they attempt to integrate.

The smartstack_schema.json in this repo was behind the one in py-gitolite, so I've gone ahead and made them match.

The majority of the added code (outside the tests, which I had Claude Code regenerate for me) is more-or-less taken straight from py-gitolite with minimal changes.

I ran paasta validate over all soaconfigs and verified that there are no new failures when run with this code.

We currently do this in an internal repo (`py-gitolite`), but I don't
see why we don't just do this in `paasta validate` - especially since
moving this check left means that folks are alerted to broken config
earlier rather than when they attempt to integrate.

The smartstack_schema.json in this repo was behind the one in
py-gitolite, so I've gone ahead and made them match.

The majority of the added code (outside the tests, which I had Claude
Code regenerate for me) is more-or-less taken straight from py-gitolite
with minimal changes.

I ran `paasta validate` over all soaconfigs and verified that there are
no new failures when run with this code.
@nemacysts nemacysts force-pushed the luisp/validate-smartstack-paasta-validate branch from 2c73277 to 4a5f5c1 Compare September 8, 2025 17:09
@nemacysts nemacysts marked this pull request as ready for review September 9, 2025 18:36
@nemacysts nemacysts requested a review from a team as a code owner September 9, 2025 18:36
jfongatyelp
jfongatyelp previously approved these changes Sep 12, 2025
"mode": {
"enum": [
"http",
"http2",
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need http2 here twice? (line 127)

Copy link
Member Author

Choose a reason for hiding this comment

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

huh, how did that happen

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.

2 participants