You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "Yicong-Huang (via GitHub)" <gi...@apache.org> on 2026/06/28 21:43:29 UTC
[I] bin/local-dev.sh: stale prior-version dist zip silently skips unzip in auto/up [texera]
Yicong-Huang opened a new issue, #5991:
URL: https://github.com/apache/texera/issues/5991
### What happened?
When a prior version's dist zip is left in `target/universal/` (e.g. `config-service-1.2.0-incubating.zip` sitting next to a fresh `config-service-1.3.0-incubating-SNAPSHOT.zip`), `bin/local-dev.sh auto` / `up` silently skips every JVM service:
```
⚠ config-service: config-service/target/universal/config-service-*.zip not produced — skipping
...
✓ auto bounce done: 0 rebuilt, 6 bounced
```
Stamps don't refresh, dirty indicator never clears, and services that were running get stopped without being restarted (unzip pass kills them, then never produces a launcher).
### How to reproduce?
1. `./bin/local-dev.sh up` once on a release branch (writes `<svc>-1.2.0-incubating.zip` under each `target/universal/`).
2. Switch to main, `./bin/local-dev.sh auto`. sbt produces `<svc>-1.3.0-incubating-SNAPSHOT.zip`; the old zip stays.
3. Every JVM service reports `<glob> not produced — skipping`.
### Root cause
Both unzip call sites use `unzip -oq ${zip_glob}` with the glob unquoted (bin/local-dev.sh:1718, :2126). With two matching zips, the shell expands to two filenames; unzip interprets the 2nd as a member to extract from the 1st archive (`unzip [file.zip] [members...]`), finds no such member, returns 11.
```
$ unzip -oq config-service/target/universal/config-service-*.zip
caution: filename not matched: ...-1.3.0-incubating-SNAPSHOT.zip
$ echo $?
11
```
Fix: pick the newest matching zip (`ls -t <glob> | head -1`) and feed unzip a single file.
### Version/Branch
main (1.3.0-incubating-SNAPSHOT), commit 0e0ec11ba.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] bin/local-dev.sh: stale prior-version dist zip silently skips unzip in auto/up [texera]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5991:
URL: https://github.com/apache/texera/issues/5991#issuecomment-4827484171
<!-- texera:template-compliance -->
👋 Thanks for opening this issue, @Yicong-Huang!
It looks like the issue description doesn't quite follow our template yet:
- This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see [CONTRIBUTING.md](https://github.com/apache/texera/blob/main/CONTRIBUTING.md) for the full contribution flow.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] bin/local-dev.sh: stale prior-version dist zip silently skips unzip in auto/up [texera]
Posted by "bobbai00 (via GitHub)" <gi...@apache.org>.
bobbai00 closed issue #5991: bin/local-dev.sh: stale prior-version dist zip silently skips unzip in auto/up
URL: https://github.com/apache/texera/issues/5991
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org