Urgent.News

What's breaking now, across thousands of outlets.

Tech

A Privacy Budget for Email Test Data

A Privacy Budget for Email Test Data Email is often treated as harmless test plumbing. A CI job creates an inbox, a verification message arrives, a test reads the link, and the inbox is forgotten. In practice, those messages can contain names, account identifiers, reset tokens, invite URLs, and enough product detail to reconstruct a user journey. The useful question is not “Which disposable inbox…

The article argues for treating email test data as a limited resource, similar to how privacy and security concerns are currently managed. It provides a framework for setting a "privacy budget" for email tests, which involves answering four key questions: what content is necessary, how long the data is needed, who can access it, and whether it can be reused.

The ideal is to retain only the minimum amount of data required for testing, with a short retention period and limited access. Email test data goes through various stages, from synthetic data to delivery artifacts, each with different audiences and retention periods. A privacy budget helps teams build applications by linking privacy and security with maintainability.

The implementation involves setting clear retention and access policies before choosing a tool. For example, a normal verification test might use one generated address per test, one expected message, and retain the data only as long as the CI run. Logs should contain message ID, subject hash, and timing, but not the body. In case of a failure, a redacted excerpt should be included in the failure artifact.

A practical model separates the data plane (temporary inbox and message body) from the evidence plane (a small JSON receipt with correlation ID, delivery state, elapsed time, and redacted failure reason). This allows answering key questions without exposing details about what the user received. Flaky tests can benefit from Playwright traces, which provide a timeline for debugging without saving every message.

The article emphasizes the importance of making failures useful without retaining unnecessary data. A compact receipt can be emitted by the test harness, containing information about the test, mailbox scope, message visibility, delivery time, token check, and whether the body was retained. Cleanup should be automatic, idempotent, and logged separately from the original assertion.

This approach helps prevent data leaks and makes testing more reliable. The goal is to make observations proportional to the information retained, improving the trustworthiness of test results.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

GGUF VRAM calculator: the three numbers that decide

Cross-posted from Mr Say Nothing — receipts live there. "Will this quant fit?" is a three-number question, not a feeling: weights + KV cache + overhead .

  • GGUF VRAM calculator identifies three critical numbers: weights, KV cache, and overhead
  • Weights calculated by parameters, quant bits-per-weight, and 1.08 factor
  • KV cache often underestimated but grows with context size, crucial for Llama-3 8B

How to Write Numbers in Words on a CV and Job Application

A CV is read in seconds, and small number mistakes stand out. Writing numbers in words, in the right places, makes a CV look careful and professional.

  • Numbers used for measurements, dates, statistics
  • Years of experience spelled out, smaller counts in words
  • Numerals for larger or exact figures, financial amounts

Building Astuto Next

🎃 Building Astuto Next – A Public Feedback Board with AI-Powered Duplicate Detection I've been working on a new project called Astuto Next , inspired by the idea of making product feedback easier to…

More from Sunday 1 November →