tye-v2 / tye2

Tye2 is a local orchestrator tool that makes developing and testing microservices and distributed applications easier.
https://www.tye2.org
MIT License
1 stars 2 forks source link

bedrock merged + nuget package update #39

Open drakon660 opened 3 months ago

drakon660 commented 3 months ago

I moved bedrock framework parts that are being used in Tye2.

Closes #38

github-actions[bot] commented 3 months ago

Test Results

201 tests   201 :white_check_mark:  9m 35s :stopwatch:   3 suites    0 :zzz:   3 files      0 :x:

Results for commit 9d1119c2.

razvangoga commented 3 months ago

@drakon660 not sure how i feel about this - i would try to understand first for what / why exactly does tye(2) need the bedrock package, and ideally try to replace it with something more mature (like you suggested to replace the System.Console with Specter)

what is the quality level of these classes you want to add? poc / alpha / beta / rc? do they have any tests (or at leat docs) to allow us to sanely maintain them in the future (if we pull them in - it's on us to maintain them)

drakon660 commented 3 months ago

Bedrock is different story, basically it is a bunch of helpers to extend asp.net core to act as a socket server with a few protocols implementations, it is used by a proxy service and work like a proxy that input stream is being copied to an output stream. In terms of quality it is not a valid question in this context, first you I had to assume that rest of a Tye2 is somehow completed and at least good quality that's false. There are some tests, but our integration tests cover it of course, but as I sad it can be moved. In this stage I don't think so that we should deliberate about something that is working but about something that is not. Regarding CommandLine is pretty big framework so this is different thing.

razvangoga commented 3 months ago

first of all : this is why i opened the 2 discussions about the two libs - to understand the why and the how before actually doing anything. I've poked around tye's codebase a bit (2 of the PRs i merged at the beginning were mine) but i have no ideea:

In terms of quality it is not a valid question

i disagree here : bedrock does not seem like something i would use if i was doing a greenfield proj

There are some tests, but our integration tests cover it of course, but as I sad it can be moved

i don't want new code put in that is not covered by tests. there are enough unknowns in the current codebase - let's not introduce some more

In this stage I don't think so that we should deliberate about something that is working but about something that is not

that's why i started it as a discussion - if the result would be to stick for now to bedrock, i would rather use it via nuget than pull it as source code in here.


let's continue the discussion here please #37 - can you put there in writing what exactly is tye doing with bedrock? i would like to understand the problem better.