Conversation
Pull Request Test Coverage Report for Build 22369624294Details
💛 - Coveralls |
|
this looks awesome to me ... but I ain't go expert, although I cannot spot anything obviously wrong with it ... are you confident this is going to play well between Go and others PLs too? That's my only concern, as in: it should be able to serialize correctly for Python/JS/PHP too, it should be able to deserialize from those PLs ... can we maybe automate such test based on the same test you do for identity preserved over "roundtrips"? Anyway, thanks a lot and let's ship it sooner than later 🥳 |
|
Sure.
Then we can compare input/output in all implementations |
|
I think we can create a reference file without spaces and use it to roundtrip back and forward and if the outcome is identical we’ll be good? just trying to keep it as simple as possible |
|
Yes a reference file would be great. We can also download some external very nested json and use them for testing during ci/cd. Let me add a cli to the go project real quick and I past some code here. |
I think if we do this for all php, js, ... version to have expected sha256 inputs and outputs we ensure compatibility. (let's get rid of the test-dummy.sh - i would love to just have a tests.json) And ever version needs to run this as integration. |
|
Any news here? Are we good to go? |
|
@egandro I was snowboarding last week, sorry for the delay ... let's try to fix CI and then move forward? currently failing |
I have no idea why this is happening 🤷 |
|
I added sudo - please test |
|
@egandro some kind of progress: |
|
Sorry - I added super strict Linter/Security checks. |
|
I made this a draft since we have to get rid of |
|
@egandro we're here: |
|
Yeah this is because we have an additional sub dir. Fixed |
|
we should be good as soon as coverall comes back 👍 |
|
This is the interesting part. I would love to have a test like this for every implementation using the same checksums. |
|
@egandro to have that we need a reference file to parse and re-write (elsewhere) to then check its checksum but I think that could be a follow up ... I've no idea what's going on with coveralls, it's a 530 response even after re-running it, pretty weird ... I have a special coverall entry in my package.json, please double check your yaml is doing the same and let's have coverage sorted? Then I'll merge and publish! |
|
actually ... https://coveralls.io/ is fully down, nothing to do with this MR |
I finally finished my golang port.
Please test.