aidevops 3.32.237 → 3.32.239
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 +1 -1
- package/VERSION +1 -1
- package/aidevops.sh +1 -1
- package/package.json +1 -1
- package/setup.sh +27 -1
package/README.md
CHANGED
|
@@ -60,7 +60,7 @@ The result: an AI operations platform that manages projects across every busines
|
|
|
60
60
|
[](https://github.com/marcusquinn)
|
|
61
61
|
|
|
62
62
|
<!-- Release & Version Info -->
|
|
63
|
-
[](https://github.com/marcusquinn/aidevops/releases)
|
|
64
64
|
[](https://www.npmjs.com/package/aidevops)
|
|
65
65
|
[](https://github.com/marcusquinn/homebrew-tap)
|
|
66
66
|
[](https://github.com/marcusquinn/aidevops)
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.32.
|
|
1
|
+
3.32.239
|
package/aidevops.sh
CHANGED
package/package.json
CHANGED
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.32.
|
|
20
|
+
# Version: 3.32.239
|
|
21
21
|
#
|
|
22
22
|
# Quick Install:
|
|
23
23
|
# npm install -g aidevops && aidevops update (recommended)
|
|
@@ -817,6 +817,25 @@ SETUP_NONINTERACTIVE_LOCK_DIR=""
|
|
|
817
817
|
SETUP_NONINTERACTIVE_CHILD_PIDS=""
|
|
818
818
|
SETUP_NONINTERACTIVE_TERMINATING=false
|
|
819
819
|
|
|
820
|
+
_setup_guard_active_release_lane() {
|
|
821
|
+
local repo_slug=""
|
|
822
|
+
local remote_url=""
|
|
823
|
+
local lane_helper="${BASH_SOURCE[0]%/*}/.agents/scripts/release-lane-helper.sh"
|
|
824
|
+
# Isolated CI smoke homes cannot replace a user's active runtime. Keep this
|
|
825
|
+
# test-only bypass coupled to CI so normal setup cannot disable the lane.
|
|
826
|
+
if [[ "${CI:-false}" == "true" && "${AIDEVOPS_RELEASE_LANE_ISOLATED_CI:-0}" == "1" ]]; then
|
|
827
|
+
return 0
|
|
828
|
+
fi
|
|
829
|
+
[[ -f "$lane_helper" ]] || return 0
|
|
830
|
+
remote_url=$(git -C "${BASH_SOURCE[0]%/*}" remote get-url origin 2>/dev/null || true)
|
|
831
|
+
repo_slug=$(printf '%s' "$remote_url" | sed 's|.*github\.com[:/]||;s|\.git$||')
|
|
832
|
+
[[ "$repo_slug" == "marcusquinn/aidevops" ]] || return 0
|
|
833
|
+
# shellcheck source=.agents/scripts/release-lane-helper.sh
|
|
834
|
+
source "$lane_helper"
|
|
835
|
+
release_lane_setup_guard "$repo_slug"
|
|
836
|
+
return $?
|
|
837
|
+
}
|
|
838
|
+
|
|
820
839
|
_setup_lock_pid_alive() {
|
|
821
840
|
local pid="$1"
|
|
822
841
|
[[ "$pid" =~ ^[0-9]+$ ]] || return 1
|
|
@@ -1106,8 +1125,10 @@ _setup_acquire_noninteractive_setup_lock() {
|
|
|
1106
1125
|
local stale_ceiling="${AIDEVOPS_SETUP_STALE_TIMEOUT_S:-1800}"
|
|
1107
1126
|
local owner_pid="" owner_cmd="" owner_age=0
|
|
1108
1127
|
local reclaim_attempts=0 waited=0
|
|
1128
|
+
local lane_rc=0
|
|
1109
1129
|
local _diag_stl="$HOME/.aidevops/logs/setup-stage-timings.log"
|
|
1110
1130
|
local _diag_interval_s="${AIDEVOPS_SETUP_LOCK_DIAG_INTERVAL_S:-60}"
|
|
1131
|
+
_setup_guard_active_release_lane || return $?
|
|
1111
1132
|
[[ "$_diag_interval_s" =~ ^[0-9]+$ && "$_diag_interval_s" -gt 0 ]] || _diag_interval_s=60
|
|
1112
1133
|
mkdir -p "$(dirname "$lock_dir")" 2>/dev/null || true
|
|
1113
1134
|
while true; do
|
|
@@ -1118,6 +1139,11 @@ _setup_acquire_noninteractive_setup_lock() {
|
|
|
1118
1139
|
printf '%s\n' "$(date -u +%Y-%m-%dT%H:%M:%SZ)" >"$lock_dir/started_at" 2>/dev/null || true
|
|
1119
1140
|
printf '%s\n' "$(date +%s 2>/dev/null || printf '0')" >"$lock_dir/started_at_epoch" 2>/dev/null || true
|
|
1120
1141
|
printf '%s\n' "$0 $*" >"$lock_dir/command" 2>/dev/null || true
|
|
1142
|
+
_setup_guard_active_release_lane || lane_rc=$?
|
|
1143
|
+
if [[ "$lane_rc" -ne 0 ]]; then
|
|
1144
|
+
_setup_release_noninteractive_setup_lock
|
|
1145
|
+
return "$lane_rc"
|
|
1146
|
+
fi
|
|
1121
1147
|
trap '_setup_cleanup_noninteractive_children; _setup_release_noninteractive_setup_lock' EXIT
|
|
1122
1148
|
trap '_setup_noninteractive_signal_exit TERM' TERM
|
|
1123
1149
|
trap '_setup_noninteractive_signal_exit INT' INT
|