quobix
f33aa2fee0
Tuning up path -> component -> path tooling
2024-07-08 10:14:32 -04:00
Emilien Puget
cbe1201cbd
removed golang x package in favour of the std lib
2024-07-08 10:13:23 -04:00
Martins Irbe
711da3bd46
Pin DigitalOcean spec index test to a specific commit hash
2024-05-24 10:32:43 -04:00
quobix
e4b7bf52d2
fixed test for updated ds values
2024-05-17 17:19:46 -04:00
Marcel Boehm
3ce2494dad
Pin digital ocean commit in tests
2024-05-08 12:58:06 -04:00
Tristan Cartledge
9d1ca6f541
fix: issue-280 Index.GetAllSchemas() regression in values returned
2024-04-30 09:09:41 -04:00
quobix
7e87545f8a
Added test for #481
2024-04-21 09:10:53 -04:00
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