Skip to content

Refresh worker-php runtime docs and config contract#66

Merged
fqjony merged 9 commits into
latestfrom
upgrade/udx-worker-0.42.0
Jul 8, 2026
Merged

Refresh worker-php runtime docs and config contract#66
fqjony merged 9 commits into
latestfrom
upgrade/udx-worker-0.42.0

Conversation

@fqjony

@fqjony fqjony commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Refresh the README around the current PHP Worker runtime, local development, deployment, and release workflow.
  • Add worker.yaml as the checked-in Worker runtime config contract for config.env and config.secrets.
  • Add focused Worker config docs and Rabbit CI context notes under .rabbit/.
  • Remove the legacy deploy.yml sample, old worker-deployment references, and stale Docker image version label.
  • Refresh generated repo context so it points at worker.yaml and the current 0.45.0 base image.

Validation

  • YAML parsed for worker.yaml, .rabbit/context.yaml, and workflow files.
  • shellcheck bin/start-nginx.sh bin/start-php-fpm.sh
  • hadolint Dockerfile
  • git diff --check

make test was attempted locally but Docker is not running on this machine; GitHub Actions should provide the container build/test result.

Copilot AI review requested due to automatic review settings June 5, 2026 09:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the base Worker image and pinned Ubuntu package versions for the PHP runtime container, and updates repository documentation to better describe the runtime contract and operational entrypoints.

Changes:

  • Upgrade base image to usabilitydynamics/udx-worker:0.42.0 and bump pinned package versions for PHP, NGINX, and mysql-client.
  • Restructure and expand documentation (README + new runtime docs) to describe runtime layout, services, mounts, and validation.
  • Add generated agent context file at .rabbit/context.yaml.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
README.md Updates overview, quick start, runtime/deployment/agent-context guidance, and doc links.
docs/runtime.md Adds a dedicated runtime contract doc (layout, services, mounts, validation, runtime output).
docs/README.md Adds a docs map and lists primary repo contracts.
Dockerfile Upgrades base image and bumps pinned package versions (PHP/NGINX/mysql-client).
.rabbit/context.yaml Adds generated dev.kit repo context describing refs, commands, and dependencies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
Comment thread docs/runtime.md Outdated
@fqjony fqjony force-pushed the upgrade/udx-worker-0.42.0 branch from 661315a to 7ee62bd Compare June 5, 2026 09:50
Copilot AI review requested due to automatic review settings June 5, 2026 09:53
@fqjony fqjony force-pushed the upgrade/udx-worker-0.42.0 branch from 7ee62bd to d4a08d4 Compare June 5, 2026 09:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

Comment thread README.md Outdated
Comment thread Dockerfile Outdated
Comment thread Dockerfile Outdated
@fqjony fqjony enabled auto-merge June 5, 2026 10:01
@fqjony fqjony force-pushed the upgrade/udx-worker-0.42.0 branch from d4a08d4 to f9df0b9 Compare June 5, 2026 10:04
@fqjony fqjony self-assigned this Jun 5, 2026
@fqjony fqjony added documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file docker Pull requests that update Docker code enhancement New feature or request labels Jun 5, 2026
…0.42.0

# Conflicts:
#	.rabbit/context.yaml
#	Dockerfile
Copilot AI review requested due to automatic review settings July 8, 2026 10:39
@fqjony fqjony changed the title Upgrade to udx-worker:0.42.0 Refresh worker-php runtime docs and config contract Jul 8, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Comment thread Dockerfile
Comment thread .rabbit/context.yaml Outdated
Copilot AI review requested due to automatic review settings July 8, 2026 15:27
@fqjony fqjony requested a review from a team July 8, 2026 15:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Comment thread .rabbit/context.yaml
Comment thread README.md
Copilot AI review requested due to automatic review settings July 8, 2026 15:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Comment thread README.md
Comment thread Makefile
Copilot AI review requested due to automatic review settings July 8, 2026 15:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings July 8, 2026 15:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Comment thread Makefile Outdated
Copilot AI review requested due to automatic review settings July 8, 2026 15:54
@fqjony fqjony merged commit 30ce328 into latest Jul 8, 2026
8 checks passed
@fqjony fqjony deleted the upgrade/udx-worker-0.42.0 branch July 8, 2026 15:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Comment thread README.md
```

Run a specific test script:
Current tests live in `src/tests/` and cover NGINX HTTP response, PHP runtime availability, PHP CLI execution, and write permissions under `/var/www`.
Comment thread README.md
Comment on lines +79 to 83
Run all validation:

```bash
npm install -g @udx/worker-deployment
worker run
make test
```
Comment thread README.md
Comment on lines +85 to 90
Run only the container test suite against an already built image:

```bash
make run-all-tests
```

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

Labels

dependencies Pull requests that update a dependency file docker Pull requests that update Docker code documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants