Skip to content

Infrastructure/migrate api endpoints to astro actions - #523

Merged
webstackdev merged 10 commits into
mainfrom
infrastructure/migrate-api-endpoints-to-astro-actions
Dec 23, 2025
Merged

webstackdev merged 10 commits into
mainfrom
infrastructure/migrate-api-endpoints-to-astro-actions

Conversation

@webstackdev

@webstackdev webstackdev commented Dec 23, 2025

Copy link
Copy Markdown
Owner

Description

Refactor contact, GDPR, and newsletter API endpoints to use Astro Actions API

Type of Change

  • 🐛 Bug fix (bugfix/*)
  • 🔥 Hot fix (hotfix/*)
  • ✨ New feature (feature/*)
  • 🏗️ Infrastructure (infrastructure/*)
  • � Maintenance (maintenance/*)
  • �📝 Content update (content/*)
  • 📚 Documentation
  • 🎨 Style/UI change
  • ♻️ Code refactoring

@github-actions

github-actions Bot commented Dec 23, 2025

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions

github-actions Bot commented Dec 23, 2025

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 68.9% 5719 / 8300
🔵 Statements 67.11% 6034 / 8991
🔵 Functions 69.05% 1136 / 1645
🔵 Branches 56.63% 3133 / 5532
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/actions/index.ts 0% 100% 100% 0% 6-11
src/actions/_environment/environmentActions.ts 0% 0% 0% 0% 12-67
src/actions/_environment/siteUrlActions.ts 0% 0% 0% 0% 5-14
src/actions/_errors/ActionsFunctionError.ts 0% 0% 0% 0% 1-158
src/actions/_sentry/index.ts 0% 0% 0% 0% 4-34
src/actions/_utils/requestContext.ts 0% 0% 0% 0% 4-98
src/actions/contact/responder.ts 0% 0% 0% 0% 39-296
src/actions/downloads/responder.ts 0% 100% 0% 0% 13-43
src/actions/gdpr/responder.ts 0% 0% 0% 0% 26-408
src/actions/newsletter/responder.ts 0% 0% 0% 0% 42-234
src/components/CallToAction/Newsletter/client/index.ts 85.29% 75.38% 93.75% 87.19% 54-58, 82, 109-114, 128-129, 141, 166, 190, 211, 225, 284-286, 298, 309-312, 325-326, 332, 353
src/components/Forms/Contact/client/formSubmission.ts 92.85% 77.77% 100% 92.85% 108-109, 114-115
src/components/Forms/Contact/client/index.ts 89.13% 55.55% 80% 89.13% 65, 71, 75, 79, 115
src/components/Forms/Download/client/index.ts 84.26% 66.66% 91.66% 84.26% 52, 57, 63-65, 86, 145-149, 174-181, 190
src/components/scripts/api/gdpr.client.ts 83.33% 50% 100% 83.33% 132-138, 182-186, 194-200
src/layouts/BaseLayout.astro 0% 0% 0% 0% 1-104
src/lib/api/gdpr.client.ts 0% 0% 0% 0% 55-200
src/lib/config/pwa.ts 100% 50% 100% 100%
src/pages/rss.xml.ts 0% 0% 0% 0% 7-31
src/pages/api/_utils/requestContext.ts 66.03% 54.16% 83.33% 77.27% 61, 62, 63, 64, 65, 66, 67, 68, 84, 109-113, 131-135
src/pages/api/_utils/environment/index.ts 100% 100% 100% 100%
src/pages/api/_utils/errors/index.ts 100% 100% 100% 100%
src/pages/api/cron/cleanup-confirmations.ts 96.55% 87.5% 100% 96.55% 71-76
src/pages/api/cron/cleanup-dsar-requests.ts 96.66% 87.5% 100% 96.66% 86-91
src/pages/api/cron/run-all.ts 96.29% 87.5% 100% 96.29% 40
src/pages/api/health/index.ts 85.71% 100% 100% 85.71% 35-37
src/pages/api/social-card/index.ts 95.91% 66.66% 100% 97.77% 66, 75
src/pages/newsletter/confirm/[token].astro 0% 100% 0% 0% 12-174
src/pages/privacy/my-data.astro 0% 0% 0% 0% 1-141
src/pages/testing/environment-api.astro 0% 0% 0% 0% 14-2
src/pages/testing/site-url-api.astro 0% 0% 0% 0% 1-2
Generated in workflow #113 for commit f25b983 by the Vitest Coverage Report Action

@webstackdev
webstackdev merged commit 3198ee2 into main Dec 23, 2025
13 checks passed
@webstackdev
webstackdev deleted the infrastructure/migrate-api-endpoints-to-astro-actions branch December 23, 2025 16:05

This branch was previously deployed

2 inactive deployments
testing f25b9830 Deployed Dec 23, 2025 by webstackdev via Lint #25
preview f25b9830 Deployed Dec 23, 2025 by webstackdev via Build Preview #25
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.

1 participant