Skip to content

svc/components: build releases and patches ahead of time - #143

Open
dumbmoron wants to merge 1 commit into
keep-weekfrom
prebuild-split
Open

dumbmoron wants to merge 1 commit into
keep-weekfrom
prebuild-split

Conversation

@dumbmoron

Copy link
Copy Markdown
Member

No description provided.

@dumbmoron
dumbmoron added this pull request to stack #142 November 27, 2026 13:20
@greptile-apps

greptile-apps Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

The PR appears safe to merge, with a non-blocking concern about background patches delaying release builds.RetriggerView in Greptile

[Medium impact] The changes affect the component update workflow for browsers using this service.

The PR appears safe to merge, with a non-blocking concern about background patches delaying release builds.

Reviews (1) · Last reviewed commit: "svc/components: build releases and patch..." · Reviewed by Greptile

};
let made = self.diff(&spec.appid, puffin, from, &to).await;
let Some(newest) = state.releases.first_mut() else {
let _work = self.work.acquire().await?;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Background patches delay full updates

Eager patch jobs now share both work permits with release builds. If two long diffs are running, a first-time component build or a newly refreshed release cannot start until one finishes—even when a browser is waiting. With DIFF_TIMEOUT raised to 30 minutes, optional patches can delay full updates for that long. Consider reserving capacity for builds or giving them priority over background patches.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

wukko
wukko previously approved these changes Nov 27, 2026
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