docker_manager/spec
dobon 275295bc01
FIX: Update pitchfork master_pid regex to avoid self-reference shell pid (#306)
```
root@07d212411142-app:/var/www/discourse# pgrep -f "pitchfork monitor"
30864
root@07d212411142-app:/var/www/discourse# rails c
Loading production environment (Rails 8.0.4)
discourse(prod)> `pgrep -af "pitchfork monitor"`
=> "11035 sh -c pgrep -af \"pitchfork monitor\"\n30864 pitchfork monitor - \n"
discourse(prod)> `pgrep -f "pitchfork monitor"`.strip.to_i
=> 12545
```

The current regex is getting the pid of the pgrep shell command, rather than the actual pitchfork monitor. Using ^ anchor avoids this problem.
2026-03-10 17:19:22 +01:00
..
lib FIX: Update pitchfork master_pid regex to avoid self-reference shell pid (#306) 2026-03-10 17:19:22 +01:00
requests DEV: Speed up /admin/docker/repos.json spec (#237) 2024-09-04 13:58:00 +03:00
support DEV: Add compatibility with Pitchfork (#293) 2025-12-18 14:23:00 +01:00
system UX: Change from legacy d-admin-table CSS to d-table classes (#305) 2026-02-26 09:25:40 +10:00
plugin_helper.rb DEV: Add compatibility with Pitchfork (#293) 2025-12-18 14:23:00 +01:00