Tristan Cartledge
0f3d0cb28f
Merge branch 'main' into ordered-libopenapi
2023-11-28 08:59:00 +00:00
Tristan Cartledge
85928613f5
chore: fix issues with timezone differences in tests
2023-11-27 15:18:15 -05:00
Tristan Cartledge
785824a271
fix: fixed tests after merge
2023-11-27 17:05:37 +00:00
Tristan Cartledge
2de65e4ca0
Merge branch 'main' into Baliedge/PIP-2552-consistent-ordering
2023-11-27 12:06:39 +00:00
quobix
ae93af8efa
updated readme
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 21:20:20 -05:00
quobix
8335db72e2
added coverage for fixed remote unsupported handler
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 21:09:21 -05:00
quobix
a0d9204099
added logger check to remote loader
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 21:09:21 -05:00
quobix
6082f3ccdc
added correct error handling for unsupported remote files
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 21:09:21 -05:00
quobix
76c9c2cafb
added valid check to avoid a panic
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 21:09:21 -05:00
quobix
95022c5a24
updated logger message to be more helpful
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 21:09:21 -05:00
quobix
ff93d99fcb
added humaize test
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 21:09:21 -05:00
quobix
af1ee6c620
added tests for file size and total files.
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 21:09:21 -05:00
quobix
14f992cb93
added rolodex size methods
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 21:09:21 -05:00
quobix
b2616dde29
updated remote loaders
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 21:09:21 -05:00
quobix
0d76e517a5
disabling channel close, looks like it causes a panic.
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
aada30d83c
looking for leaks
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
ed7b2a2bf7
added a test to capture new usecase exposed by vacuum
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
95338f2536
More tuning and working on vacuum support
...
noticed a couple of stange things with vacuum
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
a8ff2f5dee
Tuning things up a little more
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
8370bafd04
Added multi file test for file loader
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
0b1a147a26
Add ‘disable required check’ switch on renderer #200
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
ee2783e6e7
more coverage bumps
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
7ed3f28dbe
bumped more coverage
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
5d14ef226b
Adding more tests to bump coverage
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
102f7fc93f
removed silliness.
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
003eb37a3d
tuning test to validate pipeline
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
44204b595e
nailing down pipeline failure
...
can’t be reproduced locally
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
495bb27ed1
stopped the spewing of logs
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
f56cdeae9e
Tuned up local file handling and cleaned things up
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
ab4af83649
added mix ref origin test
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
7d63fe3262
Added new node map capability
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -05:00
quobix
b57528448b
address coverage
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-17 16:44:01 -05:00
quobix
745142d9e0
Fixed logic and test failure
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-17 16:44:01 -05:00
quobix
af5cb775aa
Stop the remote FS from looking up local files
...
added [empty] to represent literally empty refs
Signed-off-by: quobix <dave@quobix.com >
2023-11-17 16:44:01 -05:00
quobix
5408cf0807
bumped coverage
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-17 16:44:01 -05:00
quobix
ac96579355
re-fixed the issue for real.
...
a little more reflection was required to make it work correctly.
Signed-off-by: quobix <dave@quobix.com >
2023-11-17 16:44:01 -05:00
quobix
43838b8f25
Removed reflection check
...
blowing up tests for no real good reason, not required anyway
Signed-off-by: quobix <dave@quobix.com >
2023-11-17 07:08:09 -05:00
quobix
ac80716553
A few small bugfixes discovered from online users of openapi-changes
...
someone caused a panic, exposed an untested bug.
Signed-off-by: quobix <dave@quobix.com >
2023-11-17 07:08:09 -05:00
quobix
8b9ef11270
Re-enabled JSON Parsing async channel
...
The channel is used by vacuum and the validator, it is required for schema validation. but it also slows things down considerably when done synchronously. I have moved this code back to async, it cuts parsing time in half for vaccum, and restores super speed.
Signed-off-by: quobix <dave@quobix.com >
2023-11-09 06:37:36 -05:00
quobix
6a6d6d6e31
Moved regex to precompile
...
I don’t know why I put this in the hotpath.
Signed-off-by: quobix <dave@quobix.com >
2023-11-09 06:37:36 -05:00
quobix
e624efbf84
addressed issue #195
...
Resolving and indexing has changed, new code is required and this isue highlighted a glitch introduced with the addition of the rolodex when resolving.
Signed-off-by: quobix <dave@quobix.com >
2023-11-08 12:36:08 -05:00
quobix
78b50cb909
removed error handling, no errors returned with this mode
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-07 11:29:24 -05:00
quobix
52b99dfeed
bumped coverage
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-07 11:29:24 -05:00
quobix
242d41cd0d
Fixed loopup for branch, only ever extracting the fulldef path, not the fragment.
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-07 11:29:24 -05:00
quobix
d2b864fbfc
Added decoding to alt-ref for root handling
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-07 11:29:24 -05:00
quobix
784954e208
Defaulting localFS to be recursive
...
currently it pre-indexes everything in the root. This behavior is undesirable out of the box, so it now looks recursively by default.
Signed-off-by: quobix <dave@quobix.com >
2023-11-07 11:29:24 -05:00
Tristan Cartledge
d9c36c2d0d
fix: go.mod
2023-11-05 12:14:48 -05:00
Tristan Cartledge
a69c8ef193
chore: add tests for the speakeasy iteration use case
2023-11-05 12:14:48 -05:00
quobix
ff40cfad85
Off by one issue fixed https://github.com/daveshanley/vacuum/issues/356
...
Reported by vacuum issue, this use-case is now handled correctly and prevents a panic.
Signed-off-by: quobix <dave@quobix.com >
2023-11-05 09:21:29 -05:00
quobix
3fb4865f08
Undeprecated some flags we still need.
...
vacuum needs the ability to enable remote lookups without providng a baseURL, so the same should apply for files. undeprecating this so vacuum’s pipeline does not complain about deprecated functions.
Signed-off-by: quobix <dave@quobix.com >
2023-11-04 16:56:40 -04:00