From 75a322c5e099a66afa73e4e0704297660bf55f7c Mon Sep 17 00:00:00 2001 From: "prompt.ac/@jeffrey" Date: Sun, 27 Sep 2026 15:29:01 -0700 Subject: [PATCH] lith deploy: a stale oskiewar preview warns instead of blocking oskiewar releases on its own clock through npm run oskiewar:deploy, which reburns the preview first; unreleased oskiewar commits on main no longer roll back unrelated lith deploys. Co-Authored-By: Claude Opus 5.5 --- lith/deploy.fish | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/lith/deploy.fish b/lith/deploy.fish index 979fcf3545..bc88ea1adf 100644 --- a/lith/deploy.fish +++ b/lith/deploy.fish @@ -222,15 +222,12 @@ sh xbox/tools/precompress-live.sh" exit 1 end +# Advisory, not a gate: oskiewar ships on its own clock (npm run +# oskiewar:deploy reburns the preview before it deploys), so unreleased +# oskiewar commits on main must not hold every other lith change hostage. echo -e "$GREEN-> Verifying oskiewar social preview freshness...$NC" if not ssh -i $SSH_KEY $LITH_USER@$TARGET_HOST "cd $REMOTE_DIR && node xbox/live/render-social-preview.mjs --check" - echo -e "$RED x oskiewar social preview is stale; restoring $PREVIOUS_HEAD.$NC" - ssh -i $SSH_KEY $LITH_USER@$TARGET_HOST "\ -cd $REMOTE_DIR && \ -git reset --hard $PREVIOUS_HEAD --quiet && \ -git rev-parse HEAD > system/public/.commit-ref && \ -sh xbox/tools/precompress-live.sh" - exit 1 + echo -e "$RED ! oskiewar social preview is stale; deploying anyway. Run npm run oskiewar:deploy to release oskiewar.$NC" end echo -e "$GREEN-> Verifying disk worker bundle freshness...$NC" -- 2.51.2