Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec for aggregate debug reporting reports generation and delivery #1310

Merged
merged 5 commits into from
May 31, 2024

Conversation

linnan-github
Copy link
Collaborator

@linnan-github linnan-github commented May 31, 2024

This is migrated from linnan-github#2

Related to #705

Introduce aggregatable debug reports and rename aggregatable report to aggregatable attribution reports. Aggregatable report is the base class of aggregatable attribution report and aggregatable debug report.

Explainer: https://github.com/WICG/attribution-reporting-api/blob/main/aggregate_debug_reporting.md


Preview | Diff

Co-authored-by: Andrew Paseltiner <apaseltiner@google.com>

Spec for aggregate debug reporting reports generation and delivery
index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
@@ -4196,6 +4466,12 @@ To <dfn>generate a verbose debug report URL</dfn> given a [=verbose debug report
1. Return the result of running [=generate a report URL=] with |report|'s
[=verbose debug report/reporting origin=] and |path|.

To <dfn>generate an aggregatable debug report URL</dfn> given an [=aggregatable debug report=] |report|:

1. Let |path| be «"`debug`", "`report-aggregate-debug`"».
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are we intentionally including debug twice in the path?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think it makes sense to be in debug path, and explicit report-aggregate-debug is to distinguish from report-aggregate-attribution.

Copy link
Collaborator

Choose a reason for hiding this comment

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

It would be disappointing to have this redundant URL forever, but we may be stuck at this point, alas.

linnan-github and others added 3 commits May 31, 2024 13:52
Co-authored-by: Andrew Paseltiner <apaseltiner@google.com>
index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
@@ -4196,6 +4466,12 @@ To <dfn>generate a verbose debug report URL</dfn> given a [=verbose debug report
1. Return the result of running [=generate a report URL=] with |report|'s
[=verbose debug report/reporting origin=] and |path|.

To <dfn>generate an aggregatable debug report URL</dfn> given an [=aggregatable debug report=] |report|:

1. Let |path| be «"`debug`", "`report-aggregate-debug`"».
Copy link
Collaborator

Choose a reason for hiding this comment

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

It would be disappointing to have this redundant URL forever, but we may be stuck at this point, alas.

Co-authored-by: Andrew Paseltiner <apaseltiner@google.com>
@linnan-github linnan-github merged commit 944df61 into WICG:main May 31, 2024
2 checks passed
@linnan-github linnan-github deleted the adrReportCreate2 branch May 31, 2024 18:37
aarongable pushed a commit to chromium/chromium that referenced this pull request Jun 3, 2024
WICG/attribution-reporting-api#1310

The CL also adds `source_time` to `StoreSourceResult` to set the
report time of the aggregatable debug report.

Bug: 343870498
Change-Id: I81faa317ebc6282b69c61d2de78e93e6f4bf1da5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5577314
Commit-Queue: Nan Lin <linnan@chromium.org>
Reviewed-by: Andrew Paseltiner <apaseltiner@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1309611}
aarongable pushed a commit to chromium/chromium that referenced this pull request Jun 3, 2024
WICG/attribution-reporting-api#1310

The new table will be integrated with `AttributionStorageSql` in the
follow up CL.

Bug: 343870498
Change-Id: I645d5bb83e94d522f63a4fd898bf7c3966735613
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5576744
Commit-Queue: Nan Lin <linnan@chromium.org>
Reviewed-by: Andrew Paseltiner <apaseltiner@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1309662}
aarongable pushed a commit to chromium/chromium that referenced this pull request Jun 5, 2024
WICG/attribution-reporting-api#1310

This CL integrates aggregatable debug rate limit table with
`AttributionStorageSql` and implements the logic to process
aggregatable debug reports.

Bug: 343870498
Change-Id: I4f93cf80e74532ccafe05c3e3426ad560c610abe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5581813
Reviewed-by: Andrew Paseltiner <apaseltiner@chromium.org>
Reviewed-by: John Delaney <johnidel@chromium.org>
Commit-Queue: Nan Lin <linnan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1310708}
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