Skip to content

Update derived authority examples for new net package - #596

Merged
SeanTAllen merged 1 commit into
mainfrom
sean/derived-authority-actor-trait
Sep 11, 2026
Merged

SeanTAllen merged 1 commit into
mainfrom
sean/derived-authority-actor-trait

Conversation

@SeanTAllen

Copy link
Copy Markdown
Member

The old net package's TCPConnectionNotify and TCPConnection are being replaced by lori's implementation (ponylang/ponyc#6016). The code samples and prose on the derived-authority page now use the net/notifier subpackage's ClientTCPConnectionNotify and ClientTCPConnection — same callback shape, keeps the focus on authority rather than the networking API.

Authority hierarchy sample gains TCPServerAuth. A few pre-existing prose issues fixed along the way: a TCPConnectAuth typo, non-standard idiom, comma splice, and an imprecise description of TCPConnectAuth's scope.

Prep for ponylang/ponyc#6014.

The old net package's TCPConnectionNotify and TCPConnection are gone.
The examples now use the net/notifier subpackage's
ClientTCPConnectionNotify and ClientTCPConnection, which have the same
callback shape with less boilerplate than the actor-trait API. Authority
hierarchy sample gains TCPServerAuth.

Also fixes a few pre-existing prose issues: a TCPConnectAuth typo,
"pay close mind" → "pay close attention," a comma splice, and "most
restrictive authority in net" sharpened to "most specific authority for
outbound TCP connections."
@netlify

netlify Bot commented Sep 10, 2026

Copy link
Copy Markdown

Deploy Preview for pony-tutorial ready!

Name Link
🔨 Latest commit ff7e9fc
🔍 Latest deploy log https://app.netlify.com/projects/pony-tutorial/deploys/6aa2ea60c2bef30008255353
😎 Deploy Preview https://deploy-preview-596--pony-tutorial.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Sep 10, 2026
@SeanTAllen SeanTAllen mentioned this pull request Sep 10, 2026
14 tasks
@SeanTAllen SeanTAllen added the do not merge This PR should not be merged at this time label Sep 10, 2026
@SeanTAllen
SeanTAllen merged commit ac68919 into main Sep 11, 2026
10 checks passed
@SeanTAllen
SeanTAllen deleted the sean/derived-authority-actor-trait branch September 11, 2026 11:30
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge This PR should not be merged at this time

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants