Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement: refine CLI commands, arguments, and communication with server documentation #681

Merged
merged 11 commits into from Mar 29, 2024

Conversation

jhult
Copy link
Collaborator

@jhult jhult commented Mar 27, 2024

Implements #650.

Many of these commits could (should?) be squashed. I have left them for the moment for ease of review (commit-by-commit).

rust/src/client.rs Outdated Show resolved Hide resolved
@jhult
Copy link
Collaborator Author

jhult commented Mar 27, 2024

@Isaac-DeFrain, I know some tests are failing, but I am not sure where I caused the issues. It looks like on this one there was an unexpected end reading from the socket due to additional bytes.

rust/src/client.rs Outdated Show resolved Hide resolved
@jhult jhult force-pushed the feat/650-cli branch 2 times, most recently from 67fe410 to e34359f Compare March 29, 2024 12:02
@jhult jhult marked this pull request as ready for review March 29, 2024 14:17
@jhult
Copy link
Collaborator Author

jhult commented Mar 29, 2024

@Isaac-DeFrain, I know some tests are failing, but I am not sure where I caused the issues. It looks like on this one there was an unexpected end reading from the socket due to additional bytes.

Turns out the buffer size (via Vec::new()) wasn't large enough.

@trevorbernard trevorbernard self-assigned this Mar 29, 2024
@trevorbernard
Copy link
Collaborator

trevorbernard commented Mar 29, 2024

I like all the structural changes and it simplifies our manual unrolling of the payload. I have some subjective comments that doesn't affect the validity of this PR. :shipit:

@trevorbernard trevorbernard merged commit 95d9db5 into Granola-Team:main Mar 29, 2024
3 checks passed
@jhult jhult deleted the feat/650-cli branch April 1, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants