Skip to content

Conversation

@crozzy
Copy link
Contributor

@crozzy crozzy commented Jan 23, 2026

TODO: this is a test

@crozzy crozzy force-pushed the try-add-macos-to-matrix branch 3 times, most recently from 59f5f0e to 52eeadb Compare January 23, 2026 23:39
This change addresses an issue with fetching on macos where, during
reopening the expected file had been deleted and GCd.

Signed-off-by: crozzy <joseph.crosland@gmail.com>
This change adds another job to the CI which can will test on platforms
other than ubuntu-latest. At the moment it's only testing macos-latest
with the fetcher tests but can be expanded in either direction.

Signed-off-by: crozzy <joseph.crosland@gmail.com>
@crozzy crozzy force-pushed the try-add-macos-to-matrix branch from 52eeadb to a936491 Compare January 23, 2026 23:54
@crozzy
Copy link
Contributor Author

crozzy commented Jan 23, 2026

@BradLugo could you possibly check this branch locally?

@crozzy crozzy requested a review from BradLugo January 23, 2026 23:55
@hdonnay
Copy link
Member

hdonnay commented Jan 26, 2026

These changes don't work because dup(2) does not create another file description, only another file descriptor.

@BradLugo
Copy link
Contributor

In other words, the seeks/reads/writes are not independent. Hank and I discussed this solution on Slack before, and he showed me the light: https://www.man7.org/linux/man-pages/man2/open.2.html#:~:text=Open%20file%20descriptions,-The

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants