Mercurial
comparison mrjunejune/test/production_inference_bundle_test.sh @ 261:b401627fc49e
Add JRPG mock flows and interactive previews
Add scripted mock SSE commands, custom event forwarding, animated chat turns, full-height message navigation, and a cyberpunk resume dossier.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <mrjunejune@users.noreply.github.com> |
|---|---|
| date | Wed, 05 Aug 2026 20:38:32 -0700 |
| parents | 1f9877b637e9 |
| children | 056790c4fb0d |
comparison
equal
deleted
inserted
replaced
| 260:1f9877b637e9 | 261:b401627fc49e |
|---|---|
| 23 if ! grep -Eq "$pattern" <<<"$files"; then | 23 if ! grep -Eq "$pattern" <<<"$files"; then |
| 24 echo "Production bundle is missing inference runtime: $pattern" >&2 | 24 echo "Production bundle is missing inference runtime: $pattern" >&2 |
| 25 exit 1 | 25 exit 1 |
| 26 fi | 26 fi |
| 27 done | 27 done |
| 28 | |
| 29 if grep -Eq '/mock_sidecar($|\\.)|/mock_responses\\.json$' <<<"$files"; then | |
| 30 echo "Production bundle contains the development mock inference runtime" >&2 | |
| 31 exit 1 | |
| 32 fi | |
| 28 | 33 |
| 29 config="$(find -L "$bundle" -type f -name litellm_config.yaml -print -quit)" | 34 config="$(find -L "$bundle" -type f -name litellm_config.yaml -print -quit)" |
| 30 grep -q 'os.environ/LITELLM_MASTER_KEY' "$config" | 35 grep -q 'os.environ/LITELLM_MASTER_KEY' "$config" |
| 31 if grep -Eq 'sk-[A-Za-z0-9_-]{16,}|gh[opurs]_[A-Za-z0-9]{16,}' "$config"; then | 36 if grep -Eq 'sk-[A-Za-z0-9_-]{16,}|gh[opurs]_[A-Za-z0-9]{16,}' "$config"; then |
| 32 echo "Production LiteLLM config contains a credential" >&2 | 37 echo "Production LiteLLM config contains a credential" >&2 |