Skip to content

fix(e2e): isolate cgi-fcgi environment and surface FastCGI errors - #63

Merged
Fahl-Design merged 1 commit into
mainfrom
fix/e2e-fcgi-env-and-diagnostics
Nov 30, 2026
Merged

Fahl-Design merged 1 commit into
mainfrom
fix/e2e-fcgi-env-and-diagnostics

Conversation

@Fahl-Design

@Fahl-Design Fahl-Design commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Isolate cgi-fcgi in tests/e2e/_lib.sh via env -i so large CI runner environments are not forwarded in FastCGI PARAMS.
  • Capture fcgi_call exit codes in 10_fcgi_tcp.sh, 11_fcgi_sock.sh, and 12_php_ini_effective.sh so $RESPONSE and the exit code are printed before failing under set -euo pipefail.
  • Upload /tmp/php-fpm.log alongside /tmp/fpm.stdout and /tmp/fpm.stderr in the CI failure artifact.

Verification

  • Verified locally in tests/e2e/Dockerfile (01_install, 08_fpm_config, 09_fpm_run, 10_fcgi_tcp, 11_fcgi_sock, 12_php_ini_effective) against PHP 8.5.12 — all 6 cases passed.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 29 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f3101de3-dd7b-4d96-bb74-89f605894124
Commits

Reviewing files that changed from the base of the PR and between 9de82bc and a4db0dc.

Files selected for processing: 5

  • .github/workflows/release.yml
  • tests/e2e/_lib.sh
  • tests/e2e/cases/10_fcgi_tcp.sh
  • tests/e2e/cases/11_fcgi_sock.sh
  • tests/e2e/cases/12_php_ini_effective.sh
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@Fahl-Design
Fahl-Design merged commit 817c84e into main Nov 30, 2026
6 checks passed
@Fahl-Design
Fahl-Design deleted the fix/e2e-fcgi-env-and-diagnostics branch November 30, 2026 20:01
webproject-bot Bot pushed a commit that referenced this pull request Nov 30, 2026
## [2.0.3](v2.0.2...v2.0.3) (2026-11-30)

### Bug Fixes

* **e2e:** isolate cgi-fcgi environment and surface FastCGI errors ([#63](#63)) ([817c84e](817c84e))
@webproject-bot

Copy link
Copy Markdown

🎉 This PR is included in version 2.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant