Technical Audit adds optional PageSpeed and Core Web Vitals adapter #9

Closed
opened 2026-05-28 18:14:37 +01:00 by bingoss · 1 comment
Owner

What to build

Type: AFK.

Add an optional Technical Audit adapter for PageSpeed/Core Web Vitals evidence. When configured, the adapter records raw provider payload references and normalized findings. When not configured or failing, it records safe adapter diagnostics and respects required/optional gate settings.

Acceptance criteria

  • Configured PageSpeed/Core Web Vitals evidence can produce Technical Findings and stage adapter results.
  • Missing optional configuration records skipped diagnostics without blocking promotion.
  • Required adapter failure blocks promotion through the existing requirement settings contract.
  • Tests are written first for measured, skipped optional, failed required, and dashboard paths.

Blocked by

None - can start immediately

## What to build Type: AFK. Add an optional Technical Audit adapter for PageSpeed/Core Web Vitals evidence. When configured, the adapter records raw provider payload references and normalized findings. When not configured or failing, it records safe adapter diagnostics and respects required/optional gate settings. ## Acceptance criteria - [ ] Configured PageSpeed/Core Web Vitals evidence can produce Technical Findings and stage adapter results. - [ ] Missing optional configuration records skipped diagnostics without blocking promotion. - [ ] Required adapter failure blocks promotion through the existing requirement settings contract. - [ ] Tests are written first for measured, skipped optional, failed required, and dashboard paths. ## Blocked by None - can start immediately
Author
Owner

Issue #9 completion audit

Requirements checked:

  • Configured PageSpeed/Core Web Vitals adapter results write run_stage_adapter_results, retention-managed raw_provider_payloads, and normalized Technical Findings when measured evidence supports a problem.
  • Missing optional adapter configuration records a skipped optional adapter diagnostic without blocking the Technical Audit run.
  • Required adapter failure is stored as a required failed adapter result and blocks Weekly Intelligence promotion through the existing promotion gate.
  • Dashboard output exposes adapter status/counts and safe diagnostics without raw PageSpeed payload bodies.
  • Tests were written first for measured, skipped optional, failed required, and dashboard paths.

Docs checked through ctx7:

  • PageSpeed Insights REST v5 /pagespeedonline/v5/runPagespeed returns Lighthouse categories, loadingExperience metrics, and analysis timestamp.

Verification on codex-server:

  • python3 -m unittest tests.test_technical_audit_worker.TechnicalAuditWorkerTests.test_technical_audit_worker_records_measured_pagespeed_adapter_results tests.test_technical_audit_worker.TechnicalAuditWorkerTests.test_technical_audit_worker_records_skipped_optional_pagespeed_adapter_when_unconfigured tests.test_technical_audit_worker.TechnicalAuditWorkerTests.test_required_pagespeed_adapter_failure_blocks_weekly_promotion -> OK
  • python3 -m unittest tests.test_site_crawler tests.test_technical_audit_worker -> 35 tests OK
Issue #9 completion audit Requirements checked: - Configured PageSpeed/Core Web Vitals adapter results write run_stage_adapter_results, retention-managed raw_provider_payloads, and normalized Technical Findings when measured evidence supports a problem. - Missing optional adapter configuration records a skipped optional adapter diagnostic without blocking the Technical Audit run. - Required adapter failure is stored as a required failed adapter result and blocks Weekly Intelligence promotion through the existing promotion gate. - Dashboard output exposes adapter status/counts and safe diagnostics without raw PageSpeed payload bodies. - Tests were written first for measured, skipped optional, failed required, and dashboard paths. Docs checked through ctx7: - PageSpeed Insights REST v5 /pagespeedonline/v5/runPagespeed returns Lighthouse categories, loadingExperience metrics, and analysis timestamp. Verification on codex-server: - python3 -m unittest tests.test_technical_audit_worker.TechnicalAuditWorkerTests.test_technical_audit_worker_records_measured_pagespeed_adapter_results tests.test_technical_audit_worker.TechnicalAuditWorkerTests.test_technical_audit_worker_records_skipped_optional_pagespeed_adapter_when_unconfigured tests.test_technical_audit_worker.TechnicalAuditWorkerTests.test_required_pagespeed_adapter_failure_blocks_weekly_promotion -> OK - python3 -m unittest tests.test_site_crawler tests.test_technical_audit_worker -> 35 tests OK
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bingoss/owned-growth-engine#9
No description provided.