Commit Graph

2314 Commits

Author SHA1 Message Date
GitHub Actions 59ab34de5a fix(ci): adjust GeoIP database download and Playwright dependencies for CI stability 2026-02-05 19:07:57 +00:00
GitHub Actions 762e7ea8c3 fix(e2e): update E2E tests workflow to sequential execution and fix race conditions
- Changed workflow name to reflect sequential execution for stability.
- Reduced test sharding from 4 to 1 per browser, resulting in 3 total jobs.
- Updated job summaries and documentation to clarify execution model.
- Added new documentation file for E2E CI failure diagnosis.
- Adjusted job summary tables to reflect changes in shard counts and execution type.
2026-02-05 19:07:57 +00:00
GitHub Actions 35af916713 fix(ci): remove redundant image tag determination logic from multiple workflows 2026-02-05 19:07:57 +00:00
GitHub Actions 28a9444dd7 ix: resolve blocking pre-commit failures and restore CI stability
Corrected JSX syntax errors in CrowdSecConfig and ProxyHostForm
Refactored ProxyHostForm to use shadcn Dialog, fixing z-index issues and unclickable modals
Removed duplicate logic blocks causing YAML errors in crowdsec-integration and e2e-tests workflows
Synced .version file with current git tag to satisfy validation checks
2026-02-05 19:07:40 +00:00
GitHub Actions 6bdebd5afa chore: e3e triage 2026-02-05 19:07:26 +00:00
GitHub Actions 6fc87b35be fix(ci): simplify test execution commands and remove unnecessary logging for Chromium, Firefox, and WebKit tests 2026-02-05 19:06:58 +00:00
GitHub Actions 09568b8971 fix(ci): increase timeout for Chromium, Firefox, and WebKit tests; add line reporter for cleaner CI output 2026-02-05 19:06:58 +00:00
GitHub Actions 82bb4ee831 fix(ci): streamline Playwright configuration and remove preflight setup test 2026-02-05 19:06:58 +00:00
GitHub Actions 3c6d427ad7 feat(ci): Add explicit timeout enforcement (Phase 2)
Resource Constraint Management:

Problem:
- Tests hanging indefinitely during execution in CI
- 2-core runners resource-constrained vs local dev machines
- No timeout enforcement allows tests to run forever

Changes:
1. playwright.config.js:
   - Reduced per-test timeout: 90s → 60s (CI only)
   - Comment clarifies CI resource constraints
   - Local dev keeps 90s for debugging

2. .github/workflows/e2e-tests-split.yml:
   - Added timeout-minutes: 15 to all test steps
   - Ensures CI fails explicitly after 15 minutes
   - Prevents workflow hanging until 6-hour GitHub limit

Expected Outcome:
- Tests fail fast with timeout error instead of hanging
- Clearer debugging: timeout vs hang vs test failure
- CI resources freed up faster for other jobs

Phase: 2 of 3 (Resource Constraints)
See: docs/plans/ci_hang_remediation.md
2026-02-05 19:06:42 +00:00
GitHub Actions dd16e98e82 fix(ci): adjust GeoIP database download and Playwright dependencies for CI stability 2026-02-05 19:06:18 +00:00
Jeremy 7c0a29b760 fix: Merge branch 'development' 2026-02-05 19:05:57 +00:00
GitHub Actions 7fc94902e8 fix(ci): remove redundant Playwright browser cache cleanup from workflows 2026-02-05 19:05:57 +00:00
GitHub Actions b043a97539 fix(ci): remove redundant image tag determination logic from multiple workflows 2026-02-05 19:05:48 +00:00
GitHub Actions e8584f17c0 git status
rm .github/workflows/crowdsec-integration.yml .github/workflows/rate-limit-integration.yml .github/workflows/waf-integration.yml .github/workflows/e2e-tests.yml
fix(ci): add image_tag input for manual triggers in integration workflows
2026-02-05 19:04:31 +00:00
renovate[bot] 96746ed100 fix(deps): update weekly-non-major-updates 2026-02-05 19:03:37 +00:00
github-actions[bot] 6387a73c67 chore: move processed issue files to created/ 2026-02-05 19:03:37 +00:00
Jeremy cf6d3bd319 fix: resolve modal dropdown z-index conflicts across application
Restructure 7 modal components to use 3-layer architecture preventing
native select dropdown menus from being blocked by modal overlays.

Components fixed:
- ProxyHostForm: ACL selector and Security Headers dropdowns
- User management: Role and permission mode selection
- Uptime monitors: Monitor type selection (HTTP/TCP)
- Remote servers: Provider selection dropdown
- CrowdSec: IP ban duration selection

The fix separates modal background overlay (z-40) from form container
(z-50) and enables pointer events only on form content, allowing
native dropdown menus to render above all modal layers.

Resolves user inability to select security policies, user roles,
monitor types, and other critical configuration options through
the UI interface.
2026-02-05 19:03:37 +00:00
renovate[bot] 43668b4d5c fix(deps): update weekly-non-major-updates 2026-02-05 19:03:08 +00:00
GitHub Actions 9e46bd3b84 fix: update Go version command in utility task for improved compatibility 2026-02-05 19:03:08 +00:00
GitHub Actions 7a63e4b9c1 chore: update Go version references from 1.25.6 to 1.25.7 across documentation and scripts 2026-02-05 19:03:08 +00:00
renovate[bot] bb82a733ac chore(deps): update dependency @types/react to ^19.2.11 2026-02-05 19:02:45 +00:00
GitHub Actions 21b52959f5 chore: e3e triage 2026-02-05 11:00:56 +00:00
GitHub Actions 9d6c89e82f fix(ci): add CI test validation summary and address critical issues found 2026-02-05 02:43:48 +00:00
GitHub Actions 39b5b8a928 fix(ci): reorganize E2E tests for improved isolation and execution stability 2026-02-05 01:47:22 +00:00
GitHub Actions 6aea2380b0 fix(ci): increase total shards for parallel test execution in E2E tests 2026-02-05 01:32:18 +00:00
GitHub Actions 5284aff1e5 fix(ci): update shard configuration for parallel test execution in E2E tests 2026-02-05 01:27:59 +00:00
GitHub Actions 140a8bfd0f fix(ci): increase total shards for parallel test execution in E2E tests 2026-02-05 01:02:10 +00:00
GitHub Actions d708ecb394 fix(ci): update shard configuration for parallel test execution in E2E tests 2026-02-05 01:01:00 +00:00
GitHub Actions f5892dd89d fix(ci): enable parallel test execution with sharding for E2E tests 2026-02-05 00:56:12 +00:00
GitHub Actions d4f89ebf73 fix(ci): update conditions for artifact uploads and cleanup steps in E2E tests 2026-02-05 00:24:21 +00:00
GitHub Actions 6809056c48 fix(ci): remove debug option from dotenv configuration 2026-02-05 00:12:18 +00:00
GitHub Actions 9eed683a76 fix(ci): update concurrency group name for E2E tests workflow 2026-02-05 00:05:42 +00:00
GitHub Actions b0903b987f fix(ci): disable debug logging for dotenv configuration and remove unused statSync imports in auth setup 2026-02-05 00:01:22 +00:00
GitHub Actions 8d393b6e82 fix(ci): simplify test execution commands and remove unnecessary logging for Chromium, Firefox, and WebKit tests 2026-02-04 23:53:17 +00:00
GitHub Actions f5700c266a fix(ci): increase timeout for Chromium, Firefox, and WebKit tests; add line reporter for cleaner CI output 2026-02-04 23:46:05 +00:00
GitHub Actions 22619326de fix(ci): streamline Playwright configuration and remove preflight setup test 2026-02-04 23:34:48 +00:00
GitHub Actions 7c81c7e3de fix(ci): reduce timeout for Chromium tests to improve CI efficiency 2026-02-04 23:08:51 +00:00
GitHub Actions 57f0919116 fix(ci): enhance logging for environment details and test discovery in Chromium tests 2026-02-04 22:58:06 +00:00
GitHub Actions 7b8f5f09d2 fix(ci): enhance logging for authenticated security reset in global setup 2026-02-04 22:58:00 +00:00
GitHub Actions 17fc9a2599 fix(ci): add storage state size logging to diagnose potential OOM issues in CI 2026-02-04 22:49:44 +00:00
GitHub Actions 0262f7c79d fix(ci): implement preflight setup to ensure storage state exists in CI environments 2026-02-04 22:48:24 +00:00
GitHub Actions 9187d19a60 fix(ci): replace playwright-coverage imports with local test fixture 2026-02-04 22:27:46 +00:00
GitHub Actions f885096ab4 fix(ci): simplify Chromium, Firefox, and WebKit test job names and remove shard references 2026-02-04 21:48:28 +00:00
GitHub Actions 292ca5d170 fix(ci): enhance Playwright debug output for better browser launch diagnostics 2026-02-04 21:43:24 +00:00
Jeremy 0fd2b0bee0 Merge branch 'main' into hotfix/ci 2026-02-04 16:18:49 -05:00
GitHub Actions 89dc5650e1 debug(ci): Add Playwright verbose output and reduce job timeout
Investigation Phase:

Problem:
- Tests hang AFTER global setup completes
- No test execution begins (hung before first test)
- Step timeout (15min) doesn't trigger properly
- Job timeout (45min) eventually kills process after 44min

Changes:
1. Added DEBUG=pw:api to all browser jobs
   - Will show exact Playwright API calls
   - Pinpoint where execution hangs (auth setup vs browser launch vs test init)

2. Reduced job timeout: 45min → 20min
   - Fail faster when tests hang
   - Reduces wasted CI resources
   - Still allows normal test execution (local: 1.2min)

Expected Outcome:
- Verbose logs reveal hang location
- Faster feedback loop (20min vs 44min)
- Can identify if issue is:
  * auth.setup.ts hanging
  * Browser process not launching
  * Connection issues to application

Next Steps Based on Logs:
- If browser launch hangs: Add dumb-init (Phase 3)
- If auth setup hangs: Investigate cookie/storage state
- If network hangs: Add localhost loopback routing

Phase: 2.5 of 3 (Diagnostic Logging)
See: docs/plans/ci_hang_remediation.md
2026-02-04 21:11:13 +00:00
GitHub Actions ff1bb06f60 feat(ci): Add explicit timeout enforcement (Phase 2)
Resource Constraint Management:

Problem:
- Tests hanging indefinitely during execution in CI
- 2-core runners resource-constrained vs local dev machines
- No timeout enforcement allows tests to run forever

Changes:
1. playwright.config.js:
   - Reduced per-test timeout: 90s → 60s (CI only)
   - Comment clarifies CI resource constraints
   - Local dev keeps 90s for debugging

2. .github/workflows/e2e-tests-split.yml:
   - Added timeout-minutes: 15 to all test steps
   - Ensures CI fails explicitly after 15 minutes
   - Prevents workflow hanging until 6-hour GitHub limit

Expected Outcome:
- Tests fail fast with timeout error instead of hanging
- Clearer debugging: timeout vs hang vs test failure
- CI resources freed up faster for other jobs

Phase: 2 of 3 (Resource Constraints)
See: docs/plans/ci_hang_remediation.md
2026-02-04 20:26:17 +00:00
Jeremy 30e90a18c9 Merge pull request #659 from Wikid82/hotfix/ci
fix(ci): update health check URL from localhost to 127.0.0.1 for consistency
v0.18.13
2026-02-04 15:08:24 -05:00
GitHub Actions eb917a82e6 fix(ci): update health check URL from localhost to 127.0.0.1 for consistency
- workflow explicitly set PLAYWRIGHT_BASE_URL: http://localhost:8080 which overrides all the 127.0.0.1 defaults
2026-02-04 20:06:15 +00:00
Jeremy 9b025edecd Merge pull request #658 from Wikid82/hotfix/ci
fix(ci): update comments for clarity on E2E tests workflow changes
v0.18.12
2026-02-04 14:47:58 -05:00