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

Update codyCommit #308

Merged
merged 8 commits into from
Jan 18, 2024
Merged

Conversation

mkondratek
Copy link
Contributor

@mkondratek mkondratek commented Jan 16, 2024

Test plan

  • test all

@mkondratek mkondratek self-assigned this Jan 16, 2024
data class ContextFile(
val fileName: String,
val uri: URI,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

val repoName: String?,
val revision: String?,
)

val contextFileDeserializer =
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason, deserialization did not work out of the box.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO, we shouldn't do that in this way. Are these deserialization issues caused by the String->URI change or something else has been changed/introduced?

data class ContextFile(
val fileName: String,
val uri: URI,
val repoName: String?,
val revision: String?,
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should test this String->URI change on Windows. Recently, there were issues because the agent has a URI in a different RFC than those built-in in Java.

Base automatically changed from pkukielka/reimplement-agent-lifecycle-management to main January 17, 2024 09:23
@mkondratek mkondratek force-pushed the mkondratek/update-cody-commit-2024-01-16 branch from cbb38bb to e17daff Compare January 17, 2024 11:51
Copy link
Contributor

@pkukielka pkukielka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pkukielka pkukielka force-pushed the mkondratek/update-cody-commit-2024-01-16 branch from cf6437c to 1ab2e46 Compare January 17, 2024 15:07
@mkondratek mkondratek force-pushed the mkondratek/update-cody-commit-2024-01-16 branch from 5d4c3a8 to 5529006 Compare January 18, 2024 09:42
@mkondratek mkondratek merged commit 660e1f1 into main Jan 18, 2024
3 checks passed
@mkondratek mkondratek deleted the mkondratek/update-cody-commit-2024-01-16 branch January 18, 2024 09:49
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.

3 participants