quobix
1e22e0233b
Fixes https://github.com/daveshanley/vacuum/issues/447
2024-04-21 09:10:53 -04:00
quobix
0766319581
fixed windows build
2024-04-19 06:45:19 -04:00
quobix
fc6f12e6ca
updated digitial ocean tests
2024-04-19 06:45:19 -04:00
Emilien Puget
7439d52dc7
update digital ocean tests
2024-04-07 14:20:38 -04:00
quobix
9db2900c16
Reworked logic to check extensions were not caught either.
...
Signed-off-by: quobix <dave@quobix.com >
2024-02-06 22:13:41 -05:00
quobix
103f2dfb0b
Addressed https://github.com/daveshanley/vacuum/issues/390
...
And https://github.com/daveshanley/vacuum/issues/446
Signed-off-by: quobix <dave@quobix.com >
2024-02-06 22:13:41 -05:00
quobix
8825f5e328
Added correct handling of schema example rendering
...
reported in https://github.com/pb33f/wiretap/issues/84
Signed-off-by: quobix <dave@quobix.com >
2024-01-27 14:09:41 -05:00
Ilja Lapkovskis
3257a82791
Files were changed in f56cdeae9e without adjusting expected size.
2024-01-26 06:20:29 -05:00
quobix
6c27c47caf
updated coverage
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-18 15:11:39 -05:00
quobix
43860f4e3c
Added some new getters to the index
...
Also added map conversion utilities based on reported vacuum error https://github.com/daveshanley/vacuum/issues/417
also prevented the bundler from inlining root references.
Signed-off-by: quobix <dave@quobix.com >
2024-01-18 15:11:39 -05:00
quobix
1f21f1432d
build working on windows again
...
ping pong.
2024-01-18 15:11:39 -05:00
quobix
e699968768
Working through windows support
2024-01-18 15:11:39 -05:00
quobix
cbdaac7374
cleaned up path handling a little
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-04 17:08:08 -05:00
Tristan Cartledge
f86d7bc47e
Merge branch 'main' into ordered-libopenapi
2023-12-15 15:39:25 +00:00
quobix
7917e6c285
Removed digital ocean rolodex size check from test
...
it keeps on changing, which it should, but updating the tests each time is dumb. Moved to a fixed size test.
Signed-off-by: quobix <dave@quobix.com >
2023-12-12 13:38:03 -05:00
Tristan Cartledge
64245216b3
Merge branch 'main' into ordered-libopenapi
2023-12-03 20:43:45 +00:00
quobix
afe5c1213b
Added a safety check to resolver
...
If the number of relatives exceeds 500 deep when resolving, libopenapi will now log a warning and escape that path from continuing. There is no reason on earth for a depth this large. It most likely indicates a circular reference that was ignored and then resolved.
Signed-off-by: quobix <dave@quobix.com >
2023-12-03 09:23:18 -05:00
Tristan Cartledge
d669ada7b6
Merge branch 'main' into ordered-libopenapi
2023-12-02 22:23:19 +00:00
Tristan Cartledge
137db075d8
fix: for all tests
2023-12-02 16:16:40 +00:00
quobix
82c9e21df1
fixed tests.
...
Signed-off-by: quobix <dave@quobix.com >
2023-12-01 18:11:54 -05:00
Tristan Cartledge
94fb310643
fix: tests
2023-12-01 18:25:15 +00:00
quobix
190330ca9b
Added in fix for stackoverflow issue
...
discovered while running tests, vacuum explodes with the new stripe spec. It’s a `FullDefintion` vs `Definition` misfire.
Signed-off-by: quobix <dave@quobix.com >
2023-11-30 12:59:59 -05:00
quobix
5c372820fc
updated test values as spec changes in the wild.
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-30 07:20:19 -05:00
quobix
803e9337b5
updated digital ocean tests
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-30 07:20:19 -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
5d14ef226b
Adding more tests to bump coverage
...
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
7d63fe3262
Added new node map capability
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-25 10:10:51 -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
quobix
f134ac27b6
updated token for tests
...
Signed-off-by: quobix <dave@quobix.com >
2023-11-04 10:09:43 -04:00
quobix
276c3959fd
Changed remote loader to use a timeout
...
rather than a hard block, it will wait 50ms then try again, regardless of cores, so it won’t ever block fully.
Signed-off-by: quobix <dave@quobix.com >
2023-11-01 14:29:52 -04:00
quobix
33fc552c65
Another round of coverage
...
will it go green? will it stay red? who knows…
Signed-off-by: quobix <dave@quobix.com >
2023-11-01 11:50:23 -04:00
quobix
3c27c43ec0
Added cache set/get for index
...
It’s required to be able to ensire full coverage to test things that can’t be tested without a huge amount of test rigging.
Signed-off-by: quobix <dave@quobix.com >
2023-11-01 11:38:16 -04:00
quobix
fde9ede4ac
Working through more coverage
...
adding more tests.
Signed-off-by: quobix <dave@quobix.com >
2023-10-31 08:25:56 -04:00
quobix
7cf93e83b4
bumping coverage
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-26 16:22:22 -04:00
quobix
a87d9236d8
bumping test coverage
...
more to go, more cleaning inbound also
Signed-off-by: quobix <dave@quobix.com >
2023-10-25 08:09:33 -04:00
quobix
e26897d8a1
Updated logic to handle a single core
...
The remote loader was blocking the only thread.
Signed-off-by: quobix <dave@quobix.com >
2023-10-24 17:54:02 -04:00
quobix
8717b3cd33
An enormous amount of surgery on the low level model.
...
Every `Build()` method now requires a `context.Context`. This is so the rolodex knows where to resolve from when locating relative links. Without knowing where we are, there is no way to resolve anything. This new mechanism allows the model to recurse across as many files as required to locate references, without loosing track of where we are in the process.
Signed-off-by: quobix <dave@quobix.com >
2023-10-23 15:04:34 -04:00
quobix
3bf830c2b3
Another round of cleaning.
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-21 18:41:53 -04:00
quobix
28047d08d2
First sweep at cleaning up dead code
...
first round of a number I am sure, lots to clean.
Signed-off-by: quobix <dave@quobix.com >
2023-10-21 18:26:21 -04:00
quobix
be7e477529
index tests all pass! now time to clean.
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-21 17:29:53 -04:00
quobix
bf270d3d2b
whacking the shit out of exploded use-cases
...
Before everything worked, but was completely accurate, now everything works and everything is absolute and can be resolved. Phew, what a mission!
Signed-off-by: quobix <dave@quobix.com >
2023-10-21 14:14:49 -04:00
quobix
afe89454ac
More fine tuning, handling resolving and edge cases now.
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-20 17:50:51 -04:00
quobix
1bf772ab69
All spec_index tests pass
...
It’s so, so much faster than before, intelligent and ready for scale. I’m excited!
Signed-off-by: quobix <dave@quobix.com >
2023-10-20 11:38:29 -04:00
quobix
b295e8fd5c
bashing through usecases and updating tests as we go.
...
so many things that can go wrong. have to catch them all.
Signed-off-by: quobix <dave@quobix.com >
2023-10-19 15:18:33 -04:00
quobix
054103b733
working through logging now and further tests
...
starting the circle dance now.
Signed-off-by: quobix <dave@quobix.com >
2023-10-18 17:27:56 -04:00
quobix
9ee1afe1f3
digital ocean now running correctly
...
Sucking in all the files!
Signed-off-by: quobix <dave@quobix.com >
2023-10-18 16:52:32 -04:00
quobix
48c83ddb30
resolver tests all operational
...
time to start some cleanup.
Signed-off-by: quobix <dave@quobix.com >
2023-10-18 12:01:06 -04:00
quobix
51971762a9
Another massive surgical strike with the rolodex and index reshuffle.
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-18 09:29:26 -04:00
quobix
511843e4df
Major surgery on the index and resolver. A complete flip in design.
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-14 12:36:38 -04:00