- Notifications
You must be signed in to change notification settings - Fork3k
Add initial conformance test#48
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
f907b13 to251a447Compare
SamMorrowDrums left a comment
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.
I think that's great work to get started. I think lettings these evolve and not standing in the way is the best way to get this going, so this is a bit of a LGTM review, but I did glance over all the lines 😅
williammartin commentedMar 28, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Well, the test currently fails so I don't want to merge it but thanks 😬 I'll probably put these behind a build tag. |
SamMorrowDrums commentedMar 28, 2025
Yeah I figured you'd fix it first, but whether you do that now, or in multiple PRs to me is secondary. |
dbe5bd1 to58b3a27Compare58b3a27 to7a8e2dbCompare| } | ||
| } | ||
| func diffNonNilFields(a, b interface{}, path string) string { |
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.
Don't look too closely.
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.
Avert your eyes.
williammartinMar 28, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
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.
Is call of Cthulhu.
75d71ad intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Description
Given you have both
github/github-mcp-serverandmcp/githubimages available locally.Requires
-tags conformanceto avoid pollutinggo test ./...with failures due to missing deps.A failure looks like:
Notes
Lots of quality of life improvements to be had, lots of shortcuts taken, lots lots lots.
I tried to use testcontainers first to get some lifecycle management out of the box but it turns outthey don't provide any way to get a handle to stdin.
I know the
mark3labsmodule providestypes for us, and probably we'll end up using them, but I was exploring the schema ground up as I was writing this, so it was exploratory for me too.