This repository was archived by the owner on Dec 1, 2025. It is now read-only.
Conversation
Collaborator
Author
|
@dmcardle could you PTAL? Thanks! |
There are a range of definitions used in other specs that aren't exported yet.
dmcardle
approved these changes
Mar 4, 2025
Contributor
dmcardle
left a comment
There was a problem hiding this comment.
LGTM!
I found myself confused by bikeshed's explanation of how to export dfns (does a boolean attribute require an explicit true/false?), so I added a little convenience recipe to the Makefile to generate an "exports report". I diffed the reports from this PR and the main branch and everything looks as expected. Just FYI, here's the difference between the reports:
diff --git a/exports-report.3720046c1c2f469d546464b81d10b109a173b0b9.txt b/exports-report.185e9b4a865c8d1f3920aa05ea52f53f03cdbf6d.txt
index 0546b39..38c968c 100644
--- a/exports-report.3720046c1c2f469d546464b81d10b109a173b0b9.txt
+++ b/exports-report.185e9b4a865c8d1f3920aa05ea52f53f03cdbf6d.txt
@@ -10,28 +10,35 @@ Exported terms:
filteringId
PADebugModeOptions
debugKey
+ scoping details
+ allowed to use
+ should perform default contributeToHistogramOnEvent() processing
contributeToHistogram(contribution)
contributeToHistogramOnEvent(event, contribution)
enableDebugMode(options)
enableDebugMode()
+ Batching scope
+ Debug scope
+ Scoping details
internal error event
error event
+ already triggered external error
+ Contribution cache entry
+ aggregation coordinator
+ pre-specified report parameters
+ private-aggregation
get the privateAggregation
append an entry to the contribution cache
get a debug details
mark a debug scope complete
+ determine if a report should be sent deterministically
process contributions for a batching scope
determine if an origin is an aggregation coordinator
obtain the Private Aggregation coordinator
set the aggregation coordinator for a batching scope
set the pre-specified report parameters for a batching scope
+ validate a histogram contribution
Unexported terms:
- scoping details
- allowed to use
- should perform default contributeToHistogramOnEvent() processing
- Batching scope
- Debug scope
- Scoping details
get batching scope steps
get debug scope steps
Debug details
@@ -43,9 +50,7 @@ Unexported terms:
pending-report-limit-reached
insufficient-budget
contribution-timeout-reached
- already triggered external error
All error events
- Contribution cache entry
contribution
error event
batching scope
@@ -68,9 +73,7 @@ Unexported terms:
filtering ID max bytes
max contributions
queued
- aggregation coordinator
Context type
- pre-specified report parameters
context ID
filtering ID max bytes
max contributions
@@ -87,10 +90,7 @@ Unexported terms:
Default maxContributions by API
Minimum report delay
Randomized report delay
- private-aggregation
serialize an integer
- determine if a report should be sent deterministically
- validate a histogram contribution
report creation and scheduling steps
compile all unmerged contributions
merge key
Collaborator
Author
|
Thanks, Dan! Per chat, just added a couple more :) |
dmcardle
approved these changes
Mar 4, 2025
Contributor
dmcardle
left a comment
There was a problem hiding this comment.
LGTM! This reminds me, I've got some merge conflicts to fix in WICG/shared-storage#219.
New diff between export reports
diff --git a/exports-report.3720046c1c2f469d546464b81d10b109a173b0b9.txt b/exports-report.a57f44cab3a5705168d8e9353408ded919a9ec34.txt
index 0546b39..e0539a5 100644
--- a/exports-report.3720046c1c2f469d546464b81d10b109a173b0b9.txt
+++ b/exports-report.a57f44cab3a5705168d8e9353408ded919a9ec34.txt
@@ -10,30 +10,42 @@ Exported terms:
filteringId
PADebugModeOptions
debugKey
+ scoping details
+ allowed to use
+ should perform default contributeToHistogramOnEvent() processing
contributeToHistogram(contribution)
contributeToHistogramOnEvent(event, contribution)
enableDebugMode(options)
enableDebugMode()
+ Batching scope
+ Debug scope
+ Scoping details
+ get batching scope steps
+ get debug scope steps
internal error event
error event
+ already triggered external error
+ Contribution cache entry
+ aggregation coordinator
+ pre-specified report parameters
+ context ID
+ filtering ID max bytes
+ max contributions
+ Default filtering ID max bytes
+ Valid filtering ID max bytes range
+ private-aggregation
get the privateAggregation
append an entry to the contribution cache
get a debug details
mark a debug scope complete
+ determine if a report should be sent deterministically
process contributions for a batching scope
determine if an origin is an aggregation coordinator
obtain the Private Aggregation coordinator
set the aggregation coordinator for a batching scope
set the pre-specified report parameters for a batching scope
+ validate a histogram contribution
Unexported terms:
- scoping details
- allowed to use
- should perform default contributeToHistogramOnEvent() processing
- Batching scope
- Debug scope
- Scoping details
- get batching scope steps
- get debug scope steps
Debug details
enabled
key
@@ -43,9 +55,7 @@ Unexported terms:
pending-report-limit-reached
insufficient-budget
contribution-timeout-reached
- already triggered external error
All error events
- Contribution cache entry
contribution
error event
batching scope
@@ -68,29 +78,19 @@ Unexported terms:
filtering ID max bytes
max contributions
queued
- aggregation coordinator
Context type
- pre-specified report parameters
- context ID
- filtering ID max bytes
- max contributions
aggregatable report cache
aggregation coordinator map
pre-specified report parameters map
contribution cache
debug scope map
- Default filtering ID max bytes
- Valid filtering ID max bytes range
Allowed aggregation coordinator set
Default aggregation coordinator
Maximum maxContributions
Default maxContributions by API
Minimum report delay
Randomized report delay
- private-aggregation
serialize an integer
- determine if a report should be sent deterministically
- validate a histogram contribution
report creation and scheduling steps
compile all unmerged contributions
merge key
github-actions bot
added a commit
that referenced
this pull request
Mar 4, 2025
SHA: 445134a Reason: push, by alexmturner Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There are a range of definitions used in other specs that aren't exported yet.
Preview | Diff