Skip to content

feat: make app install fetch fresh resources by default - #2633

Open
koppor wants to merge 1 commit into
jbangdev:mainfrom
koppor:patch-3
Open

feat: make app install fetch fresh resources by default#2633
koppor wants to merge 1 commit into
jbangdev:mainfrom
koppor:patch-3

Conversation

@koppor

@koppor koppor commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

🤖 Copy-pasting jbang app install --force <app> did not pick up updated -SNAPSHOT dependencies, because installs reused cached resources. Following the suggestion in the review, app install now defaults to fresh resolution while runs stay lazy; --no-fresh or --offline opts back out.

Test: jbang app install --force gavsearch@jbangdev picks up a new snapshot; --no-fresh does not.

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • ai-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 5e371ef4-683c-44ad-af0a-b1e3ffd4edb1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@koppor koppor changed the title Add "--fresh" to update docs: add --fresh to app install update example Jul 30, 2026
@maxandersen

Copy link
Copy Markdown
Collaborator

Not sure I follow - why should we add --fresh here for something that is not using snapshot ?

Always fresh is waste of time 99% of the time...

...and update should happen every 24hrs I believe.

Wondering if should default to fresh on install ?

Be lazy on runs?

@koppor

koppor commented Aug 27, 2026

Copy link
Copy Markdown
Contributor Author

Wondering if should default to fresh on install ?

Be lazy on runs?

Yeah, good idea :)

Installing an app is a rare, explicit act, so it now resolves sources and
dependencies freshly unless `--no-fresh` or `--offline` is given. Running
apps stays cached.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TbfSDMWfD3o31bg28NJNbS
@koppor koppor changed the title docs: add --fresh to app install update example feat: make app install fetch fresh resources by default Aug 31, 2026
@github-actions

Copy link
Copy Markdown

📦 PR Build Available

Install this PR build:

curl -sL https://github.com/jbangdev/jbang-pr-builds/releases/download/pr-2633/jbang.tar | tar xf - && ./jbang/bin/jbang version

Release
| Built from b15a2bb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants