Commit Graph

27 Commits

Author SHA1 Message Date
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
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
f3094d0b14 Cleanup, sweep-up and tuneup
Signed-off-by: quobix <dave@quobix.com>
2023-11-04 09:38:33 -04:00
quobix
80b2b2d0b5 More cleaning and added docs.
We’re ready for review

Signed-off-by: quobix <dave@quobix.com>
2023-11-01 16:14:11 -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
d096163f0e Deleting old code that cannot be run anymore.
Signed-off-by: quobix <dave@quobix.com>
2023-11-01 14:04:13 -04:00
quobix
2bc3c67776 Removed some dead code that does not need to exist
A consequence of the old index design, now gone

Signed-off-by: quobix <dave@quobix.com>
2023-11-01 13:07:53 -04:00
quobix
97659f2244 rolodex remote loader coverage at 100%
Signed-off-by: quobix <dave@quobix.com>
2023-11-01 10:58:34 -04:00
quobix
fec99623f3 ensuring we capture empty responses
Signed-off-by: quobix <dave@quobix.com>
2023-10-31 15:44:29 -04:00
quobix
8f3f568e5f Tuned some glitches with v3 doc creation.
all covered now

Signed-off-by: quobix <dave@quobix.com>
2023-10-31 15:31:19 -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
d8dfafd0a4 Working through test cases
There are still gaps to be found based on various combinations of crazy references.

Signed-off-by: quobix <dave@quobix.com>
2023-10-30 10:03:02 -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
b82b46eb02 Pipeline is failing because it’s hanging somewhere
cannot re-create the problem locally, even when setting GOMAXPROCS to 1

Signed-off-by: quobix <dave@quobix.com>
2023-10-24 18:17:15 -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
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
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
de85651414 Performing some major surgery on the index
To make this work correctly, this needs completely shaking up and a transfer of ownership. The index is now local,
the rolodex is now global.

Signed-off-by: quobix <dave@quobix.com>
2023-10-13 15:51:41 -04:00
quobix
81902efddc working through rolodex build
Signed-off-by: quobix <dave@quobix.com>
2023-10-12 17:32:04 -04:00