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

Address extendr-api CI failures #380

Closed
wants to merge 1 commit into from
Closed

Address extendr-api CI failures #380

wants to merge 1 commit into from

Conversation

JosiahParry
Copy link
Contributor

This PR addresses the failing CI tests in extendr/extendr#842.

It does so by using the current head of the git repository for CI instead of the currently released version on crates.io.

This also updates snapshots to pass the tests.

This should let us pass CI on extendr-api and prove that we can also patch extendr-api to keep up with the changes in libR-sys due to non-API.

The question is: do we want to keep rextendr testing main? Or revert the change after being merged?

@JosiahParry JosiahParry requested a review from CGMossa September 5, 2024 04:15
@CGMossa
Copy link
Member

CGMossa commented Sep 5, 2024 via email

@Ilia-Kosenkov
Copy link
Member

Why do you change defaults in {rextendr} though? If you need {rextendr} to test against main head, just configure tests so.

@CGMossa
Copy link
Member

CGMossa commented Sep 5, 2024

Why do you change defaults in {rextendr} though? If you need {rextendr} to test against main head, just configure tests so.

I'm not going to accept these changes and merge them, as I agree with you. But we are in a pinch, and integration test with rextendr is just causing the extendr maintenance to be a nightmare. Atleast this PR shows that the integration test should pass..

I am also noticing @Ilia-Kosenkov that there are some snapshot tests in rextendr that needs to be updated here.

I suggest that this PR is closed, but then it would be nice if @Ilia-Kosenkov can make a way to integrate test rextendr on extendr in a reasonable way, instead of this interlocking.

I also would recommend that we remove rextendr integration testing on extendr for now. It seems to me that the burden of maintaining the entire extendr ecosystem falls on people making PRs to extendr-api crate. Which is unreasonable.

These are my thoughts atleast. Good job everyone.

@Ilia-Kosenkov
Copy link
Member

Ok, sounds fair. You can start by disabling rextendr tests in extendr for the time being. Feel free to mention me in any issues related to testing there, I might be able to help.

@CGMossa
Copy link
Member

CGMossa commented Sep 5, 2024

I've takena look again. I think there are some tests, that test extendr on crates.io in rextendr. These should all be made, so they are disabled, or atleast follow the "default" version, if they are ran in extendr-ci. We have already gone through this, but I think some things fell through the cracks.

@CGMossa CGMossa closed this Sep 5, 2024
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