Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
7194df0
Fix flaky E2E test cases - swap every self-import in that module to r…
webstackdev Dec 2, 2025
6592798
Fix flaky E2E tests - added a devServerPort constant in astro.config.…
webstackdev Dec 2, 2025
c1902f0
Fix flaky E2E test cases - update BasePage.ts so expectNoErrors() fil…
webstackdev Dec 2, 2025
edb4054
Fixes to Action workflow - add id: vitest to the “Run unit tests” ste…
webstackdev Dec 2, 2025
7c10fc6
Fix Actions workflow - add a dedicated 'Sync Astro types' step to bui…
webstackdev Dec 2, 2025
e80ec57
move __fixtures__ directout to parent of __tests__
webstackdev Dec 2, 2025
3e00732
Fix astro check errors
webstackdev Dec 2, 2025
8295e35
Add heredoc .env file in Build and Test Action workflow
webstackdev Dec 2, 2025
e5075d3
Update CI workflow files to start dev server and remove build step
webstackdev Dec 2, 2025
7b3c12c
Update Action dependency
webstackdev Dec 2, 2025
60437cd
Merge branch 'main' into bugfix/e2e-stress-test-fixes
webstackdev Dec 2, 2025
da9d39a
Add missing dependency
webstackdev Dec 2, 2025
5d214bd
Fix E2E stress test errors - add logging in Testimonial/Carousel
webstackdev Dec 2, 2025
03d51d6
Fix E2E stress test errors - add Playwright-only logging inside and …
webstackdev Dec 2, 2025
280a8db
Fix E2E stress test errors - nstrumented with Playwright-only snapsh…
webstackdev Dec 2, 2025
856902c
Fix E2E full run stress failures - skip performance test
webstackdev Dec 3, 2025
4d464c9
Fix E2E stress test errors - refactor package-release and privacy-pol…
webstackdev Dec 3, 2025
fdcf6bc
Fix E2E stress test errors - lint fixes to package-release and privac…
webstackdev Dec 3, 2025
c3b3e5b
Fix E2E stress test errors - crone tests, add a dependency health gat…
webstackdev Dec 3, 2025
36aaaa4
Fix E2E stress test errors - Newsletter component submit button fails…
webstackdev Dec 3, 2025
f63f83c
Fix astro check lint errors in CallToAction/Newsletter component
webstackdev Dec 3, 2025
25b3a8c
Update build-and-test GitHub Action workflow with credentials env var…
webstackdev Dec 3, 2025
3b4757d
Update .gitignore to exclude e2e stress test note file
webstackdev Dec 3, 2025
3c3ec03
Update connection string for supabase in GitHub Actions workflow
webstackdev Dec 3, 2025
1e2510d
Targeted fixes after 24 hours of stress test runs on E2E full suite
webstackdev Dec 3, 2025
a625cda
Remove debug logging from Theme Picker component
webstackdev Dec 3, 2025
fc11964
Update supabase migration push script in package.json
webstackdev Dec 4, 2025
31688ab
Add .env.example
webstackdev Dec 4, 2025
d77fb34
Fix syntax in package.json supabase db-push script
webstackdev Dec 4, 2025
95f347d
Fix syntax in package.json supabase db-push script - 2nd try
webstackdev Dec 4, 2025
cf9bb82
Refactor workflows for clarity, and add test container Supabase migra…
webstackdev Dec 4, 2025
bccc1e4
Add temporary logging for Supabase container in Test action workflow,…
webstackdev Dec 4, 2025
6dbea30
Restore global env block in Test actions workflow after refactor mult…
webstackdev Dec 4, 2025
f61133f
Add additional case to manifest e2e file to test for maskable icon
webstackdev Dec 4, 2025
7c864a2
Update test action workflow to use Node dotenv CLI instead of preinst…
webstackdev Dec 4, 2025
73320ae
Remove --schema-only flag in Test actions workflow for Supabase CLI call
webstackdev Dec 4, 2025
95770b7
Fix escaping issue in heredoc in Test actions workflow for debugging …
webstackdev Dec 4, 2025
49dc3c8
Stash Supabase schema migration log file on GitHub workflow
webstackdev Dec 4, 2025
3bdde7b
Change PWA to not-installable
webstackdev Dec 4, 2025
c263f13
Add additional logging for Supabase schema migration on GitHub workflow
webstackdev Dec 4, 2025
16855f8
Refactor Suprabase migrations into format the CLI will understand whe…
webstackdev Dec 4, 2025
d038880
Remove E2E troubleshooting temporary doc
webstackdev Dec 4, 2025
de6e1f9
Fix E2E task in Action workflow, target the actual Postgres container…
webstackdev Dec 4, 2025
9aed63a
Add verbose logging in suprabase migration step for action workflow
webstackdev Dec 4, 2025
2dc0150
Add verbose-er logging in suprabase migration step for action workflow
webstackdev Dec 4, 2025
4fa4135
Create schema_migration Suprabase table manually in action workflow
webstackdev Dec 4, 2025
b986b79
Churning...
webstackdev Dec 4, 2025
5e5c503
Patch to fix rate limiting on AWS image downloads on Test action work…
webstackdev Dec 4, 2025
6d2abe6
Move Suprabase migrations to indiidual folders in Test action workflow
webstackdev Dec 5, 2025
7e6d5c1
Document outstanding problem with Suprabase migrations blocking e2e t…
webstackdev Dec 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Local dev server configuration
DEV_SERVER_PORT="4321"

# For Docker Compose use with container mocks for E2E setup
COMPOSE_PROJECT_NAME="wb-e2e"

# Mock ConvertKit API (WireMock container that backs E2E tests local
# and on GitHub Actions, production on Vercel)
CONVERTKIT_HTTP_PORT="9010"
CONVERTKIT_API_KEY="mock-convertkit-key"
CONVERTKIT_FORM_ID="100000"

# Vercel automatically sends the CRON_SECRET as an Authorization header
# when it invokes your cron job. Your endpoint can then verify this secret
# to ensure the request originated from Vercel.
CRON_SECRET="local-cron-secret"

# Mock Resend API (WireMock container that backs transactional email tests
# local and on GitHub Actions, production on Vercel)
RESEND_HTTP_PORT="9011"
RESEND_API_KEY="mock-resend-key"

# Upstash-compatible Redis mock for rate limits + cron keepalive keys (local
# and on GitHub Actions, production on Vercel)
UPSTASH_HTTP_PORT="8079"
UPSTASH_REDIS_PORT="6380"
UPSTASH_TOKEN="local-dev-token"

# Vercel Marketplace Integration for Upstash Redis used with rate limiting on API endpoints
# (local and on GitHub Actions, production on Vercel)
KV_URL="redis://default:local-dev-token@127.0.0.1:6380"
KV_REST_API_URL="http://127.0.0.1:8079"
KV_REST_API_TOKEN="local-dev-token"
KV_REST_API_READ_ONLY_TOKEN="local-dev-token"
REDIS_URL="redis://default:local-dev-token@127.0.0.1:6380"

# Supabase configuration
# - SUPABASE_URL / SUPABASE_KEY: client + server runtime credentials used in Astro and API routes.
# - SUPABASE_SERVICE_ROLE_KEY: server-side key for tests and cron endpoints (never expose to browser).
# - SUPABASE_HEALTH_TIMEOUT: controls how long we wait for the local Supabase container to become healthy.
# - SUPABASE_DB_PASSWORD / SUPABASE_PROJECT_REF / SUPABASE_ACCESS_TOKEN: only needed when pushing
# migrations to the hosted project (GitHub "build" workflow). Leave them empty locally unless you
# have production access.
SUPABASE_HEALTH_TIMEOUT="240"
SUPABASE_URL="http://127.0.0.1:54321"
SUPABASE_KEY="sb_publishable_example"
SUPABASE_SERVICE_ROLE_KEY="sb_secret_example"
SUPABASE_DB_PASSWORD="example-db-password"
SUPABASE_PROJECT_REF="exampleprojectref"
SUPABASE_ACCESS_TOKEN="sbp_example_personal_access_token"

# Observability / external services
SENTRY_AUTH_TOKEN="dev-placeholder-sentry-token"
SENTRY_DSN="https://examplePublicKey@o0.ingest.sentry.io/0"

# Vercel deployment vars
VERCEL_TOKEN="p1vT5d4M1H2q0NjEtR9bJVxu"
VERCEL_PROJECT_ID="prj_d24xWkR5sY8pMn2qBcLe8F0Z"
VERCEL_ORG_ID="team_C7kQw5vXn0PfH3sJt2Gb9LrY"

# Used for social shares on Mastodon
WEBMENTION_IO_TOKEN="dev-webmention-token"
11 changes: 10 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,20 @@ updates:
versioning-strategy: "increase"
schedule:
interval: "weekly"
open-pull-requests-limit: 4
open-pull-requests-limit: 1
labels:
- "type: dependencies 🔗"
- "automerge 🤞"
groups:
npm-dependencies:
patterns:
- "*"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 1
groups:
github-actions:
patterns:
- "*"
8 changes: 6 additions & 2 deletions .github/workflows/branch-protection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check branch naming convention
env:
BRANCH_NAME: ${{ github.head_ref }}
run: |
BRANCH_NAME="${{ github.head_ref }}"
: "${BRANCH_NAME:?github.head_ref is required}"

# Valid patterns: bugfix/, hotfix/, feature/, infrastructure/, maintenance/, content/
if [[ ! $BRANCH_NAME =~ ^(bugfix|hotfix|feature|infrastructure|maintenance|content)/[a-z0-9-]+$ ]]; then
Expand All @@ -36,8 +38,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Ensure PR targets main
env:
TARGET_BRANCH: ${{ github.base_ref }}
run: |
TARGET_BRANCH="${{ github.base_ref }}"
: "${TARGET_BRANCH:?github.base_ref is required}"

if [[ "$TARGET_BRANCH" != "main" ]]; then
echo "⚠️ Warning: PR is targeting '$TARGET_BRANCH' instead of 'main'"
Expand Down
250 changes: 0 additions & 250 deletions .github/workflows/build-and-test.yml

This file was deleted.

Loading
Loading