fix: finish /new creator-owned cron revocation and bound host snapshot memory #423
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/new-revokes-origin-cron"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Followup422 explicitoperatorrequiresALLoldworkinitiatedfromexactGWconversation stopped. ActualMinerva7reportedcontinuations/14parentrecords alreadyverifiedstopped on422; discovered5enabledlegacycronjobscreatedinthatsameGW (origin.user_id+platform/chat_id/thread_id), notjustdelivery.
PreflightnamesUNIONcurrentowneddefinitions,capturedactivecreator,retainedcronSessions.sourceOwner,persistedresetSources; validateallagainstforeignownershipbeforereset. LeaseheldENTIREparentstop/persist/drain/recursivesourcereset/freshcontext. EmptyplansstillleaseglobalreloadandresetGenerationfencesinflightreadincludingENOENT. Persistcreator-sourceBEFOREscript/admission; oldsourcecanberevokedafterdefinitionremoved/restart. Pauseandpersistownedcronoverrides, SIGTERM+drainactualownedscriptwithoriginalharddeadline, stopownedcronparents/children; exactotherthreads/delivery-only/foreignjobsuntouched. Genuineambiguityfailsclosed. Privatehostresetcontrolnoidletimeoutduringfulldrain, ordinaryrequestsunchanged. Existingadminmanualcronrunstillworksafterreset.
ActualMinervaavailabilityblocker:75MBstate, repeated V8OOM at2/3Gi from eagerlymaterialized snapshots/strings queuedbyconcurrentonStateChange beforediskwrite. AddStateStore.capture(factory): capture+serializeINSIDEexistingwritequeue, everybarrierretained/no coalescing, eachpromiseafteritsownwrite. CLIcurrentstatefactoryavoidsNqueued75MBgraphs. Existing save(object) exacteagersemanticsunchanged; shutdownexplicitpendingpreserved. No ledgercleanup/permission/provider/modelchanges.
BuildPASS focused47pass; finalFULL2366pass/1skip/0fail. IndependentfinalAPPROVE aftermultipleactualscope/raceblockersfixed (allreviewlogsretained). Tests coveractiveandcompletedoccurrencedefinitionremoval/restart, persistedforeignreplacementreject, reloadawayduringparentstop+recursivephase+emptyplan, oldscriptdrain/nolateenqueue, durabilityofsourceowner/plan,100queuedcapturefactories/noeagergraphs/no lostbarriers/static-saveexactness/errorrecovery; existingharddeadline/languagecronrestarttestsunchanged. FullsuitegateCIonly notinstalledhosts. Activation/liveallcreatorcronpaused stillpending; doNOTclaimglobalcompletefrommerge.