comparison mrjunejune/test/production_inference_bundle_test.sh @ 271:13d61401c57d

redirect Copilot cache to service state Set XDG_CACHE_HOME from the configured inference state so the systemd service can extract Copilot outside its protected home directory. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Fri, 07 Aug 2026 13:24:05 -0700
parents f7b1188d5fb1
children
comparison
equal deleted inserted replaced
270:358dd5950985 271:13d61401c57d
100 )" 100 )"
101 grep -q '"type":"ready"' <<<"$output" 101 grep -q '"type":"ready"' <<<"$output"
102 grep -q '"public_visitor"' <<<"$output" 102 grep -q '"public_visitor"' <<<"$output"
103 grep -q '"invited_friend"' <<<"$output" 103 grep -q '"invited_friend"' <<<"$output"
104 grep -q '"june_admin"' <<<"$output" 104 grep -q '"june_admin"' <<<"$output"
105 grep -q 'XDG_CACHE_HOME=' "$(
106 find -L "$bundle" -type f -name inference_stack.sh -print -quit
107 )"
105 "$python" "$litellm" --help >/dev/null 108 "$python" "$litellm" --help >/dev/null