patcg-individual-drafts / private-aggregation-api

Explainer for proposed web platform API
https://patcg-individual-drafts.github.io/private-aggregation-api/
44 stars 20 forks source link

Debug Mode Availability for Latency Stats? #104

Closed maleangrubb closed 6 months ago

maleangrubb commented 1 year ago

Hello,

Wanted to inquire when debug mode for the Private Aggregation API would be available for latency-stats? Is this something that is planned in the near term?

Thank you!

alexmturner commented 1 year ago

Please see the response here: https://github.com/WICG/turtledove/issues/709#issuecomment-1747396717

alexmturner commented 6 months ago

Hi @maleangrubb, just drawing attention to our email that support for this is now live in M123: https://groups.google.com/a/chromium.org/g/fledge-api-announce/c/hgtqi4m-Wxs.

maleangrubb commented 6 months ago

I believe there may be a bug in the impl of this feature. Some new fields introduced for this feature in the auctionConfig (auctionReportBuyerKeys, auctionReportBuyers, auctionReportBuyerDebugModeConfig) require bigints. However, based on some failing testing on our end, it appears the auctionConfig is being stringified sometime during the navigator.runAdAuction() call. JSON.stringify() does not support bigint conversion without a bit of extra parsing work...

Sample Error:

TypeError: Do not know how to serialize a BigInt
             at JSON.stringify (<anonymous>)
             at navigator.runAdAuction
maleangrubb commented 6 months ago

Alex, I believe there may potentially be a bug in the impl of this feature. Have raised the issue at https://github.com/patcg-individual-drafts/private-aggregation-api/issues/121 .

On Wed, Mar 20, 2024 at 10:15 AM Alex Turner @.***> wrote:

Hi @maleangrubb https://github.com/maleangrubb, just drawing attention to our email that support for this is now live in M123: https://groups.google.com/a/chromium.org/g/fledge-api-announce/c/hgtqi4m-Wxs .

— Reply to this email directly, view it on GitHub https://github.com/patcg-individual-drafts/private-aggregation-api/issues/104#issuecomment-2009815946, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAXF625466IRU5Q7AYWWWBTYZGRYBAVCNFSM6AAAAAA5IHRPYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBZHAYTKOJUGY . You are receiving this because you were mentioned.Message ID: <patcg-individual-drafts/private-aggregation-api/issues/104/2009815946@ github.com>

maleangrubb commented 6 months ago

Issues closed & resolved.