Skip to content

Conversation

@ceedubs
Copy link
Contributor

@ceedubs ceedubs commented Nov 5, 2025

This is similar to the behavior for ThreadKilledFailure. The idea is that inspecting for this is more stable than
looking for "AsyncCancelled" in the message part of the Failure.

@ceedubs ceedubs requested a review from dolio November 5, 2025 20:34

asyncCancelledFailure =
DataDeclaration
(Unique "f9fdcae7d12e37728dc7336097d4255c1277f1c7a46c6200e9d3d57b8d8d7273")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just grabbed 32 bytes from /dev/random and converted them to hex. Is there something else I should have done?

Copy link
Contributor

Choose a reason for hiding this comment

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

I forget how the others were made. Maybe I was using uuidgen | sha256sum. In any case, random bytes should be okay, too.

Copy link
Contributor

Choose a reason for hiding this comment

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

IIRC, it currently expects it to be a valid unison identifier? so not every hex string will work, but this one does.

Copy link
Contributor

@dolio dolio left a comment

Choose a reason for hiding this comment

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

Looks fine to me.

@dolio
Copy link
Contributor

dolio commented Nov 5, 2025

Oh yeah, you need to run the transcripts locally and commit changes.

@ceedubs ceedubs force-pushed the async-cancelled branch 2 times, most recently from f2881a7 to dccde58 Compare November 5, 2025 23:51
This is similar to the behavior for `ThreadKilledFailure`. The idea is that inspecting for this is more stable than
looking for `"AsyncCancelled"` in the message part of the `Failure`.

I don't really know what I'm doing with adding builtins so I probably missed something.
@aryairani
Copy link
Contributor

@ceedubs maybe bad in principle, but it turns out probably better to just make a ceedubs/ branch on the main repo, vs pr from your fork, because i'm limited in being able to run quick fix gha on your fork

i tried to do it manually from my home computer, but i ran into my nix signing issue again and couldn't complete the fixup as a result

@ceedubs ceedubs closed this Nov 6, 2025
@ceedubs ceedubs deleted the async-cancelled branch November 6, 2025 13:39
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