Registry Mirror
Skip to content

Conversation

@dshoen619

Copy link
Copy Markdown
Contributor

Summary

  • On Permit's cloud, GET /v2/stats/{project}/{environment}/messages returns an empty data list for every environment and every state. The page said that an empty list "means every online PDP received the recent updates", so a cloud customer polling ?state=assumed_lost read "all in sync" even when a PDP was not.
  • The messages section now says what the endpoint returns on Permit's cloud and in a full on-premise deployment, and no sentence promises "in sync" from an empty list where messages are not recorded.

Linear Issue

Fixes PER-19314

Changes

Where Change
Front matter and intro The page no longer promises per-message delivery status on every deployment: that part is for full on-premise deployments.
Endpoints table The messages row says "full on-premise deployments only".
"Check the delivery status of update messages" Opens with what the endpoint returns where: on Permit's cloud an empty list for every environment (check active and last_seen_at in the PDP list instead); on-premise, data updates only (policy updates are not tracked), kept 24 hours by default.
assumed_lost row "after several retries" became "within a few minutes": an update is declared lost a few minutes after it is sent, without resends.
"List only lost messages" Scoped to on-premise. The empty-list sentence now says what an empty list means there (nothing from the last 24 hours declared lost, the newest updates not decided yet), and that on Permit's cloud an empty list says nothing about sync. The pointer to the webhooks page is removed from this section; the webhooks page itself is unchanged.

Test plan

🤖 Generated with Claude Code

…ns on Permit's cloud

On Permit's cloud the messages endpoint returns an empty `data` list for every
environment, so "an empty list means every online PDP received the updates" was a
false all-clear there. The section now says what the endpoint returns on Permit's
cloud and in a full on-premise deployment, keeps the "lost" reading to on-premise,
drops the webhooks pointer, and states the 24-hour window and the few-minute
loss decision instead of "after several retries".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 22, 2026 11:14
@netlify

netlify Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for permitio-docs ready!

Name Link
🔨 Latest commit e90fbc0
🔍 Latest deploy log https://app.netlify.com/projects/permitio-docs/deploys/6b02ce93a3705b1970ed0261
😎 Deploy Preview https://deploy-preview-696--permitio-docs.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.

@linear-code

linear-code Bot commented Nov 22, 2026

Copy link
Copy Markdown

PER-19314

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@dshoen619

Copy link
Copy Markdown
Contributor Author

Folded into #693 (same page): its commit is now 5aaa571 on that branch, and the review continues there.

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