You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ab5ba9e
Browse filesBrowse the repository at this point in the historyBrowse files
constceremony=`A package-less customization stored before this release is still served: run \`os migrate packageless-overlays\` to move it into ${pair}`;
257
+
constceremony='A package-less customization stored before this release is still served; run '
258
+
+`\`os migrate packageless-overlays\` first to move it into ${pair}.`;
258
259
constfix=operation==='delete'
259
-
? `Remove it from ${pair}${query}. ${ceremony} first.`
260
+
? `Remove it from ${pair}${query}. ${ceremony}`
260
261
: operation==='rollback'
261
-
? `${ceremony}, then roll it back there.`
262
-
: operation==='publish'
263
-
? `Publish it into ${pair}${query}, declaring ${declared}. ${ceremony} first.`
264
-
: `Save it into ${pair}${query}, declaring ${declared}. ${ceremony} first.`;
262
+
? `Its customization belongs in ${pair}: run \`os migrate packageless-overlays\` to move the row there, then roll it back.`
263
+
: `${operation==='publish' ? 'Publish' : 'Save'} it into ${pair}${query}, declaring ${declared}. ${ceremony}`;
265
264
constwhat=operation==='rollback' ? 'a rollback of its package-less row' : 'a write naming no package';
266
265
consterr=newError(
267
266
`${item}${shipped}, and ${what} onto a packaged item is closed: a customization of an installed package `
@@ -343,19 +360,32 @@ describe('the five overlay-enabled types keep their environment overlay of a pac
343
360
});
344
361
345
362
for(consttopologyofTOPOLOGIES){
346
-
it.each(OVERLAY_ENABLED)(`${topology}: a save over the packaged %s is accepted, stored with no organization, and served back`,async(type)=>{
363
+
it.each(OVERLAY_ENABLED)(`${topology}: a package-less save over the packaged %s is refused naming its pair; the same save into the pair is accepted, stored with no organization, and served back`,async(type)=>{
// NULL is how the repository writes "no organization" today; a
360
390
// tenant-less row with no such column reads the same here.
361
391
expect(rows[0].organization_id??null).toBeNull();
@@ -378,7 +408,7 @@ describe('the five overlay-enabled types keep their environment overlay of a pac
378
408
});
379
409
}
380
410
381
-
it.each(OVERLAY_ENABLED)('GET /meta/types advertises %s as overlay-writable, from the registry',async(type)=>{
411
+
it.each(OVERLAY_ENABLED)('GET /meta/types carries the overlay flag on %s, from the registry (the migration\'s and the unmigrated read\'s predicate)',async(type)=>{
0 commit comments