Re: The Trunk: System-ct.1520.mcz

Christoph Thiede via Squeak-dev <[email protected]> Wed, 1 Jul 2026 15:28:36 +0200
Newsgroups gmane.comp.lang.smalltalk.squeak.general
Message-ID <cbe74af6-d7fd-4b28-9248-6d1999fcf381@MX2025-DAG1.hpi.uni-potsdam.de>
Hi Marcel, all,

On 2026-06-28T13:58:37+02:00, [email protected] wrote:

> Hi Christoph --
> 
> Did you add a checkpoint to the update map as well? And such 
> post-scripts are typically not meant to grow.
> 
> (1) Replace the script as needed.
> (2) Add checkpoint to update map.

This does not match my understanding ... Every new checkpoint slows down image updates noticably. Updating a 6.0 image to the latest trunk already takes more than 10 minutes in the CI.
In my understanding, postscripts/preambles should generally be written in an idempotent style so you can simply append new migrations/clean-ups/etc. The CI will automatically rerun them once they are changed. Only when (a) the load order of certain versions (code changes or migrations) must be controlled or (b) a script cannot be idempotent for some reason (or executing it multiple times would be very slow), you should replace the current script and create a checkpoint for the previous version in the update map.

restartFinalizationProcess is idempotent. It is rerun at every image start-up.

What do you think?

Best,
Christoph
> 
-- 
Sent from Squeak Inbox Talk


> 
> Best
> Marcel
> 
> Am 28.06.2026 um 01:12 schrieb commits(a)source.squeak.org:
> > Christoph Thiede uploaded a new version of System to project The Trunk:
> > http://source.squeak.org/trunk/System-ct.1520.mcz
> >
> > ==================== Summary ====================
> >
> > Name: System-ct.1520
> > Author: ct
> > Time: 28 June 2026, 1:12:48.628838 am
> > UUID: 4d37cfbb-93cd-46ea-8e62-30f684849551
> > Ancestors: System-ct.1519
> >
> > Fixes a typo in the previous version. Sorry!
> >
> > =============== Diff against System-ct.1519 ===============
> >
> > Item was changed:
> > (PackageInfo named: 'System') postscript: 'Process startUp: true. "Update''s VM''s notion of threadAffinity and osError inst vars"
> > 
> > SystemNavigation initializeAuthors. "System-ct.1502"
> > + WeakArray restartFinalizationProcess. "System-eem.1472"'!
> > - self restartFinalizationProcess. "System-eem.1472"'!
> >
> > Squeak-dev mailing list -- squeak-dev(a)lists.squeakfoundation.org
> > To unsubscribe send an email to squeak-dev-leave(a)lists.squeakfoundation.org

Squeak-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]