aidevops 3.39.204 → 3.39.205

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -25,7 +25,7 @@ token efficiency, and quality control built in.**
25
25
  [![Maintainability](https://qlty.sh/gh/marcusquinn/projects/aidevops/maintainability.svg)](https://qlty.sh/gh/marcusquinn/projects/aidevops)
26
26
  [![Codacy Badge](https://app.codacy.com/project/badge/Grade/2b1adbd66c454dae92234341e801b984)](https://app.codacy.com/gh/marcusquinn/aidevops/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
27
27
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
28
- [![Version](https://img.shields.io/badge/Version-3.39.204-blue.svg)](https://github.com/marcusquinn/aidevops/releases)
28
+ [![Version](https://img.shields.io/badge/Version-3.39.205-blue.svg)](https://github.com/marcusquinn/aidevops/releases)
29
29
  [![npm version](https://img.shields.io/npm/v/aidevops)](https://www.npmjs.com/package/aidevops)
30
30
  [![Homebrew](https://img.shields.io/badge/homebrew-marcusquinn%2Ftap-orange)](https://github.com/marcusquinn/homebrew-tap)
31
31
 
package/VERSION CHANGED
@@ -1 +1 @@
1
- 3.39.204
1
+ 3.39.205
package/aidevops.sh CHANGED
@@ -5,7 +5,7 @@
5
5
  # AI DevOps Framework CLI
6
6
  # Usage: aidevops <command> [options]
7
7
  #
8
- # Version: 3.39.204
8
+ # Version: 3.39.205
9
9
 
10
10
  set -euo pipefail
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "3.39.204",
3
+ "version": "3.39.205",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "packageManager": "bun@1.3.11",
package/setup.sh CHANGED
@@ -17,7 +17,7 @@ fi
17
17
  # AI Assistant Server Access Framework Setup Script
18
18
  # Helps developers set up the framework for their infrastructure
19
19
  #
20
- # Version: 3.39.204
20
+ # Version: 3.39.205
21
21
  #
22
22
  # Quick Install:
23
23
  # npm install -g aidevops && aidevops update (recommended)
@@ -1007,6 +1007,8 @@ _setup_run_noncritical_stage_bounded() {
1007
1007
  local start_s=$SECONDS
1008
1008
  local pid=""
1009
1009
  local rc=0
1010
+ # Lets callers tell a timeout kill apart from a clean return (t19030).
1011
+ _SETUP_NONCRITICAL_STAGE_TIMED_OUT=false
1010
1012
  [[ "$timeout_s" =~ ^[0-9]+$ ]] || timeout_s=60
1011
1013
  "$@" &
1012
1014
  pid=$!
@@ -1017,6 +1019,7 @@ _setup_run_noncritical_stage_bounded() {
1017
1019
  sleep "${AIDEVOPS_SETUP_CHILD_TERM_GRACE_S:-2}" 2>/dev/null || true
1018
1020
  _setup_kill_pid_tree KILL "$pid"
1019
1021
  wait "$pid" 2>/dev/null || true
1022
+ _SETUP_NONCRITICAL_STAGE_TIMED_OUT=true
1020
1023
  print_warning "${stage_label} exceeded ${timeout_s}s — skipping remaining non-critical work"
1021
1024
  return 0
1022
1025
  fi
@@ -1937,6 +1940,11 @@ _setup_noninteractive_schedulers() {
1937
1940
  # whenever the supervisor pulse is consented.
1938
1941
  if _should_setup_noninteractive_pulse_merge_routine; then
1939
1942
  _time_step "setup_pulse_merge_routine" _setup_run_noncritical_stage_bounded "Pulse merge routine setup" "${AIDEVOPS_SETUP_PULSE_MERGE_ROUTINE_TIMEOUT:-30}" setup_pulse_merge_routine
1943
+ # t19030: a timeout kill can leave the merge scheduler unregenerated
1944
+ # before the child reaches its own deferral.
1945
+ if [[ "${_SETUP_NONCRITICAL_STAGE_TIMED_OUT:-false}" == "true" ]]; then
1946
+ _schedulers_defer_template_hash "pulse merge routine setup timed out"
1947
+ fi
1940
1948
  fi
1941
1949
  # t2932 (GH#21125): peer productivity monitor — adaptive cross-runner
1942
1950
  # dispatch coordination, runs every 30 min.
@@ -1964,6 +1972,8 @@ _setup_noninteractive_schedulers() {
1964
1972
  _time_step "setup_storage_hygiene" setup_storage_hygiene
1965
1973
  # Migrate cron entries to systemd after schedulers are installed (GH#17695 Finding D)
1966
1974
  _time_step "migrate_cron_to_systemd" migrate_cron_to_systemd
1975
+ # t19030: only a full scheduler pass records the plist drift template hash.
1976
+ _schedulers_record_template_hash
1967
1977
  _time_step "$SETUP_STAGE_TABBY" setup_tabby
1968
1978
  return 0
1969
1979
  }
@@ -2021,6 +2031,8 @@ _setup_post_setup_steps() {
2021
2031
  setup_storage_hygiene
2022
2032
  # Migrate cron entries to systemd after schedulers are installed (GH#17695 Finding D)
2023
2033
  migrate_cron_to_systemd
2034
+ # t19030: only a full scheduler pass records the plist drift template hash.
2035
+ _schedulers_record_template_hash
2024
2036
  setup_tabby
2025
2037
  print_final_instructions
2026
2038