René's URL Explorer Experiment


Title: id-events: preserve empty event bodies across range sync · Issue #14907 · developing-today/code · GitHub

Open Graph Title: id-events: preserve empty event bodies across range sync · Issue #14907 · developing-today/code

X Title: id-events: preserve empty event bodies across range sync · Issue #14907 · developing-today/code

Description: Problem PR #7657's range-sync record frames the event as a length-prefixed header followed by raw body bytes. The decoder treats an empty remainder as None. The store accepts a present empty body (Some([])) when its signed header commits...

Open Graph Description: Problem PR #7657's range-sync record frames the event as a length-prefixed header followed by raw body bytes. The decoder treats an empty remainder as None. The store accepts a present empty body (...

X Description: Problem PR #7657's range-sync record frames the event as a length-prefixed header followed by raw body bytes. The decoder treats an empty remainder as None. The store accepts a present empty bo...

Opengraph URL: https://github.com/developing-today/code/issues/14907

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id-events: preserve empty event bodies across range sync","articleBody":"## Problem\n\nPR #7657's range-sync record frames the event as a length-prefixed header followed by raw body bytes. The decoder treats an empty remainder as `None`. The store accepts a present empty body (`Some([])`) when its signed header commits to BLAKE3(empty) and size 0, so range sync turns that valid body into a header-only event. The receiver's `event_body` then returns `MissingBody`.\n\nThe ambiguity is still present on current main in `pkgs/id/crates/id-events/src/event_store/sync.rs`: `encode_record` appends no bytes for either `None` or `Some(&[])`, and `decode_record` maps every empty remainder to `None`. The later sync hardening in PR #11265 added device-operation delivery coverage with a non-empty body but did not change this framing.\n\n## Acceptance\n\n- The range-sync record format distinguishes an absent body from a present empty body.\n- A header-only event still arrives without a body; a present empty body arrives as `Some([])` and reads back byte-identically; a non-empty body also remains byte-identical.\n- The receiver continues to verify the body against the signed header's payload hash and size before storing it.\n- Add tests with an explicit oracle for all three cases, including an empty payload whose header commits to BLAKE3(empty) and size 0.\n\n## Evidence\n\n- Merged PR #7657 introduced `encode_record` / `decode_record` and generic body range sync; the event-body issue #4837 is closed.\n- Current main still decodes an empty body remainder as `None`; no later merged change to the record framing was found. PR #11265 tests a non-empty device-operation body.\n- No existing issue for present-empty event bodies in range sync was found in the current issue search.\n\n## Scope\n\nFix the range-sync record framing and its event-store tests. Preserve the existing batch transaction and header commitment checks. Do not change the event body format or the one-time store migration.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-25T06:54:34Z","url":"https://github.com/developing-today/code/issues/14907"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f52dddc3-fad9-c7d8-392a-225fa5af5fcd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD188:2B95F3:21F787:2DBA2C:6B074DEB
html-safe-nonce47d2bd85e67234b0a509fb4bba42e19937c51fc7da6f0c340fbd319ed490f30a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTg4OjJCOTVGMzoyMUY3ODc6MkRCQTJDOjZCMDc0REVCIiwidmlzaXRvcl9pZCI6IjI2NzQwNzk3MTE1MzM0MjAwMTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0fe3b1b0a4f50ebc882e85fc8abdc4c60dde98f659bc665a01b34e1b6df6097e
hovercard-subject-tagissue:6599006785
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/14907/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9ce71669ffbc5f352765910e2c5d4ef512dedb3db26675846f149a97e83d5b15/developing-today/code/issues/14907
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9ce71669ffbc5f352765910e2c5d4ef512dedb3db26675846f149a97e83d5b15/developing-today/code/issues/14907
og:image:altProblem PR #7657's range-sync record frames the event as a length-prefixed header followed by raw body bytes. The decoder treats an empty remainder as None. The store accepts a present empty body (...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
None26f151990bcb5b67b87df8b3f96ed340f849939d44e36f348402de5e39cca989
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecd00d8452bcb4e56a60ba7c0e61a697b46513fe9
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/14907#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F14907
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F14907
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/14907
Reloadhttps://github.com/developing-today/code/issues/14907
Reloadhttps://github.com/developing-today/code/issues/14907
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests204 (204)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/14907
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/14907
#14915https://github.com/developing-today/code/pull/14915
#14924https://github.com/developing-today/code/pull/14924
id-events: preserve empty event bodies across range synchttps://github.com/developing-today/code/issues/14907#top
#14915https://github.com/developing-today/code/pull/14915
#14924https://github.com/developing-today/code/pull/14924
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
meta/protocol-gaphttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22meta%2Fprotocol-gap%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
status:in-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Ain-review%22
task/fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ffix%22
user/reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22user%2Freview%22
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 25, 2026https://github.com/developing-today/code/issues/14907#issue-6599006785
#7657https://github.com/developing-today/code/pull/7657
#11265https://github.com/developing-today/code/pull/11265
feat(id): generic event-body persistence, retrieval and range-sync (#4837) #7657https://github.com/developing-today/code/pull/7657
id: generic event-body persistence, retrieval and range-sync — prerequisite for the didit tracker phases (#2031) #4837https://github.com/developing-today/code/issues/4837
fix(id-events): harden device operation ingest #11265https://github.com/developing-today/code/pull/11265
dezren39https://github.com/dezren39
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
task/fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ffix%22
on Nov 25, 2026https://github.com/developing-today/code/issues/14907#event-37220976184
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Nov 25, 2026https://github.com/developing-today/code/issues/14907#issuecomment-7155285482
developing.todayhttps://kaneo.security.cab
CODE-5417https://kaneo.security.cab/dashboard/workspace/6oQgIkST0YGrCcxrnhbHPOUCfgdD3cqE/project/pfcq432h349r20up18gttfv4/task/p7m0ymlzw9dfz56g90h2f692
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 25, 2026https://github.com/developing-today/code/issues/14907#issuecomment-7155479226
Claudehttps://anthropic.com/claude-code
Claude Codehttps://claude.ai/code
developing-todayhttps://github.com/apps/developing-today
status:in-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Ain-review%22
on Nov 25, 2026https://github.com/developing-today/code/issues/14907#event-37221945662
developing-today-fleethttps://github.com/apps/developing-today-fleet
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
on Nov 25, 2026https://github.com/developing-today/code/issues/14907#event-37223373585
https://github.com/apps/developing-today-fleet
developing-today-fleethttps://github.com/apps/developing-today-fleet
on Nov 25, 2026https://github.com/developing-today/code/issues/14907#issuecomment-7155961670
developing.today fleethttps://kaneo.security.cab
developing-today-fleethttps://github.com/apps/developing-today-fleet
user/reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22user%2Freview%22
meta/protocol-gaphttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22meta%2Fprotocol-gap%22
on Nov 25, 2026https://github.com/developing-today/code/issues/14907#event-37223767203
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 25, 2026https://github.com/developing-today/code/issues/14907#issuecomment-7156930009
https://github.com/developing-today-forks/fleet/actions/runs/45572860570https://github.com/developing-today-forks/fleet/actions/runs/45572860570
dezren39https://github.com/dezren39
on Nov 25, 2026https://github.com/developing-today/code/issues/14907#event-37243668736
test(id-events): pin why an empty range-sync record rest means no bodyhttps://github.com/developing-today/code/commit/c6e176de67ff2193947453db28d872e23d2c33e7
c6e176dhttps://github.com/developing-today/code/commit/c6e176de67ff2193947453db28d872e23d2c33e7
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
352761chttps://github.com/developing-today/code/commit/352761c6af062dbe6bf5bc299f0b965c52b27f2a
on Nov 25, 2026https://github.com/developing-today/code/issues/14907#event-37289250608
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 25, 2026https://github.com/developing-today/code/issues/14907#issuecomment-7171856649
Claudehttps://anthropic.com/claude-code
#14915https://github.com/developing-today/code/pull/14915
#14915https://github.com/developing-today/code/pull/14915
Claude Codehttps://claude.ai/code
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/14907
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/14907
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
meta/protocol-gaphttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22meta%2Fprotocol-gap%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
status:in-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Ain-review%22
task/fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ffix%22
user/reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22user%2Freview%22
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.