Title: ci(pm-stack): pm-stack tests red on main since 2026-11-04 — deploy-install-smoke fails 4 checks (aggregator unit cp resolves through the fixture symlink; ready-for-agent fixture missing apply-config.sh) · Issue #7680 · developing-today/code · GitHub
Open Graph Title: ci(pm-stack): pm-stack tests red on main since 2026-11-04 — deploy-install-smoke fails 4 checks (aggregator unit cp resolves through the fixture symlink; ready-for-agent fixture missing apply-config.sh) · Issue #7680 · developing-today/code
X Title: ci(pm-stack): pm-stack tests red on main since 2026-11-04 — deploy-install-smoke fails 4 checks (aggregator unit cp resolves through the fixture symlink; ready-for-agent fixture missing apply-config.sh) · Issue #7680 · developing-today/code
Description: Problem The pm-stack tests workflow has failed every completed run since 2026-11-04 (last success 2026-11-04T19:24Z at a5dfe4f3; ~25 completed runs on 2026-11-05/06/07 all failure). The failing step is always the same one — Test seed and...
Open Graph Description: Problem The pm-stack tests workflow has failed every completed run since 2026-11-04 (last success 2026-11-04T19:24Z at a5dfe4f3; ~25 completed runs on 2026-11-05/06/07 all failure). The failing ste...
X Description: Problem The pm-stack tests workflow has failed every completed run since 2026-11-04 (last success 2026-11-04T19:24Z at a5dfe4f3; ~25 completed runs on 2026-11-05/06/07 all failure). The failing ste...
Opengraph URL: https://github.com/developing-today/code/issues/7680
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ci(pm-stack): pm-stack tests red on main since 2026-11-04 — deploy-install-smoke fails 4 checks (aggregator unit cp resolves through the fixture symlink; ready-for-agent fixture missing apply-config.sh)","articleBody":"## Problem\n\nThe `pm-stack tests` workflow has failed every completed run since 2026-11-04 (last success 2026-11-04T19:24Z at a5dfe4f3; ~25 completed runs on 2026-11-05/06/07 all `failure`). The failing step is always the same one — **Test seed and deploy/install scripts** — and inside it only `pm-stack/scripts/deploy-install-smoke.test.sh`, which fails the same 4 checks deterministically in CI and on the laptop. `seed-smoke.test.sh` in the same step passes, so the step is not environment-broken in general.\n\n## Verified this run (laptop primary @ 8c84644124, origin/main)\n\n```\n$ bash pm-stack/scripts/deploy-install-smoke.test.sh # exit 1, twice, identical\ncp: cannot stat '/tmp/opencode/deploy-install-smoke.XXX/aggregator-home/git/code/pm-stack/aggregator/../systemd/pm-aggregator.service': No such file or directory\nFAIL - aggregator install smoke completes using temporary HOME and stubs\nFAIL - aggregator copies package and unit files only under temporary HOME\nFAIL - aggregator health-version gate accepts the stubbed matching version\nFAIL - ready-for-agent install smoke completes using temporary HOME and stubs\ndeploy-install-smoke.test.sh: 4 check(s) failed\n```\n\nCI says the same: `gh run view 42390617495 --log-failed` shows the identical `cp: cannot stat '.../aggregator/../systemd/pm-aggregator.service'` line, the same 4 FAILs, and `ready-src/install.sh: line 192: ./apply-config.sh: No such file or directory`. Control: `bash pm-stack/scripts/seed-smoke.test.sh` passes on the same tree.\n\n## Root causes (two fixture/install drifts, one per failing half)\n\n1. **Aggregator unit path resolves through a symlink.** `pm-stack/aggregator/install.sh:30` sets `UNIT_SRC=\"$SRC/../systemd/pm-aggregator.service\"` and `:126` copies it. The smoke fixture links the aggregator package into the fake checkout (`deploy-install-smoke.test.sh:321`: `ln -s \"$AGG_SRC\" \"$AGG_EXPECTED_SRC\"`) and creates the unit at the *logical* sibling path (`:319`, `$AGG_HOME/git/code/pm-stack/systemd/pm-aggregator.service`). Path resolution of `symlink/../` goes through the symlink *target's* parent, so the copy looks in `$TMP/systemd/…`, where nothing exists. The install's own guard at `install.sh:72` already treats a missing unit as `unit:absent` for hashing, but the copy at `:126` is unconditional when the destination is not symlink-managed. (Distinct from closed #5396, which was the *destination* unit being a home-manager symlink; that skip exists at `install.sh:123-127`.)\n2. **Ready-for-agent fixture predates #1203.** `pm-stack/ready-for-agent/install.sh:192` runs `./apply-config.sh` unconditionally on the verified-serving path (added by #1203, commit dcea7fa213). The smoke fixture copies only `install.sh` into the fake deploy root (`deploy-install-smoke.test.sh:359`) plus its systemd unit — no `apply-config.sh`, no stub — so the success path always dies at line 192. This is the same root cause as open #5368, which tracks it for the sibling harness `pm-stack/ready-for-agent/test-install.sh`; the smoke fixture in `pm-stack/scripts/` has the identical gap and is not named there.\n\n## Why it matters\n\n`pm-stack-tests` is the only CI venue for the aggregator/projector/dispatch bun suites, the claimant/grist Python suites, and the quota-exporter suites. It has been red on main for four days, so none of those suites' results mean anything right now — a real regression in any of them is invisible inside a permanently-failing workflow, and every PR run inherits a known-red step that trains everyone to ignore it.\n\n## Acceptance criteria\n\n- [ ] `bash pm-stack/scripts/deploy-install-smoke.test.sh` exits 0 on current main: all aggregator and ready-for-agent checks pass.\n- [ ] The aggregator fix keeps the #1150/#5396 behavior pinned: install from the real primary checkout still copies `pm-stack/systemd/pm-aggregator.service`, and the symlink-managed destination skip still applies. Whether the fix lands in `install.sh` (resolve the unit against the checkout root, not through a possibly-symlinked package dir) or in the fixture (materialize the package instead of symlinking it), the smoke must still exercise the real `install.sh`.\n- [ ] The ready-for-agent smoke case provides `apply-config.sh` the way #5368 requires for `test-install.sh` (real script + config with dependencies stubbed, or a recording stub) and asserts it was invoked — deleting or skipping the call in `install.sh` does not count.\n- [ ] A `pm-stack tests` run on main completes with conclusion `success` (all steps, not just this one).\n\nRelated: #5368 (same apply-config root cause, sibling harness), #5396 (closed; destination-symlink unit skip), #5993 (the other two pm-stack script suites are unwired), #6126 (pm-aggregator-tests dispatch-only, blocked separately).\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-08T12:18:45Z","url":"https://github.com/developing-today/code/issues/7680"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6f3b86d3-6b9c-1caf-4026-352a236ec378 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E2BA:2D14E:7E3D91:A9BFE5:6B063518 |
| html-safe-nonce | 5695d84cdc07ce7c8aff301b2f3bbb48dca7082966af20a108c34c760ffbe23b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkJBOjJEMTRFOjdFM0Q5MTpBOUJGRTU6NkIwNjM1MTgiLCJ2aXNpdG9yX2lkIjoiMzUzOTc5NDc0MzAxMTk4MDU2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 27755b9fac3cfc7257ee3c3cb1ad721f7edfbf141d423912f47c3d6c8cfd70f7 |
| hovercard-subject-tag | issue:6270831255 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/7680/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aeb119884d4d52283bed5155891727ff8f0eb17df7e9a70252da74831f4134f3/developing-today/code/issues/7680 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aeb119884d4d52283bed5155891727ff8f0eb17df7e9a70252da74831f4134f3/developing-today/code/issues/7680 |
| og:image:alt | Problem The pm-stack tests workflow has failed every completed run since 2026-11-04 (last success 2026-11-04T19:24Z at a5dfe4f3; ~25 completed runs on 2026-11-05/06/07 all failure). The failing ste... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9eb3bb1597d09170a5f282cd38ae376dee1a5ec1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width