Skip to content

Comments

[docc] Fail soundness on docc warnings (bad links), fix a few warnings#1027

Merged
ktoso merged 17 commits intoapple:mainfrom
ktoso:wip-cleanups
Jul 28, 2022
Merged

[docc] Fail soundness on docc warnings (bad links), fix a few warnings#1027
ktoso merged 17 commits intoapple:mainfrom
ktoso:wip-cleanups

Conversation

@ktoso
Copy link
Member

@ktoso ktoso commented Jul 26, 2022

@ktoso
Copy link
Member Author

ktoso commented Jul 26, 2022

Also resolves #1017

@ktoso
Copy link
Member Author

ktoso commented Jul 26, 2022

@swift-server-bot test this please

@ktoso
Copy link
Member Author

ktoso commented Jul 26, 2022

@swift-server-bot test this please

/// located on has been declared ``Cluster/MemberStatus/down``.
///
/// - Parameter id: the ID of the now terminated actor
func terminated(actor id: ActorID) async throws // FIXME(distributed): Should not need to be throwing: https://github.com/apple/swift/pull/59397
Copy link
Member Author

Choose a reason for hiding this comment

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

hooray! compiler no longer crashes and we can remove this workaround everywhere 🎉 🎉 🎉

struct WeakActorDictionary {
var underlying: [ClusterSystem.ActorID: WeakDistributedActorContainer] = [:]
/// A dictionary which only weakly retains the
public struct WeakActorDictionary<Act: DistributedActor>: ExpressibleByDictionaryLiteral
Copy link
Member Author

Choose a reason for hiding this comment

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

TODO: incomplete; need to make them a bit nicer API so we can use them in examples ourselfes as well

@ktoso ktoso marked this pull request as draft July 26, 2022 11:53
@ktoso ktoso requested a review from yim-lee July 26, 2022 11:53
@ktoso
Copy link
Member Author

ktoso commented Jul 26, 2022

Meh sorry this is incomplete I just realized, I'll get through it tomorrow.

@yim-lee
Copy link
Member

yim-lee commented Jul 26, 2022

@ktoso ktoso marked this pull request as ready for review July 27, 2022 05:49
@ktoso ktoso force-pushed the wip-cleanups branch 4 times, most recently from 845a88e to cd2e53d Compare July 27, 2022 09:49
ktoso added 8 commits July 27, 2022 18:49
  musttail call swifttailcc void %4(%swift.context* swiftasync %1,
%swift.error* %2), !dbg !1538
in function
$s17DistributedActors10WorkerPoolCyxGAA14LifecycleWatchA2aEP10terminated5actoryAA13ClusterSystemC7ActorIDV_tYaFTW.0.61
<unknown>:0: error: fatal error encountered during compilation; please
submit a bug report (https://swift.org/contributing/#reporting-bugs) and
include the project
<unknown>:0: note: Broken function found, compilation aborted!
@ktoso
Copy link
Member Author

ktoso commented Jul 27, 2022

Meh, needed a rebase now.

@ktoso ktoso merged commit 811d2e8 into apple:main Jul 28, 2022
@ktoso ktoso deleted the wip-cleanups branch July 28, 2022 02:35
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.

2 participants