Closed crdoconnor closed 7 years ago
I see some tests failing due to required key(s) 'sentry' not found
. I fixed this in master. Can you merge from master so we can see if tests pass now?
For what it's worth, I dislike you doing a micro release 0.7.2 that contains API changes. This violates semantic versioning. Should have been 0.8 IMHO.
Other than that, the code looks OK apart from the failing tests, which hopefully will pass once you resync from the upstream yacron master.
The failures were caused by:
Thank you for the patch.
For what it's worth, I dislike you doing a micro release 0.7.2 that contains API changes.
I didn't treat it as an API change because it was always supposed to fail when non-optional keys were not present, but granted, it does count as a breaking change if people start relying upon this behavior.
I meant the label
thing.
The latest version includes the fix https://github.com/crdoconnor/strictyaml/issues/26 mentioned in #4.
Full disclosure : there was another embarrassing bug whereby all keys were treated as optional in Map which is now also fixed. When I tried running https://github.com/gjcarneiro/yacron/blob/master/example/adhoc.yacron.d/test.yaml it started failing because producesStderr and nonzeroReturn were not present on line 36. I attempted to fix this by making them optional.