Skip to content

Commit 2b08116

Browse files
committed
Minor fixes
1 parent b261e8b commit 2b08116

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

components/server/src/prebuilds/incremental-workspace-service.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@ export class IncrementalWorkspaceService {
171171

172172
// ensure the image source hasn't changed (skips older images)
173173
if (JSON.stringify(imageSource) !== JSON.stringify(candidateWorkspace.imageSource)) {
174+
log.debug(`Skipping parent prebuild: Outdated image`, {
175+
imageSource,
176+
parentImageSource: candidateWorkspace.imageSource,
177+
});
174178
return false;
175179
}
176180

components/server/src/workspace/context-service.spec.db.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ describe("ContextService", async () => {
590590

591591
const prebuildForCommit1 = await prebuildManager.startPrebuild(
592592
{},
593-
{ user: owner, project, commitInfo: commit1, context: ctx1.context as CommitContext, forcePrebuild: true },
593+
{ user: owner, project, commitInfo: commit1, context: ctx1.context as CommitContext },
594594
);
595595
const prebuild2 = await workspaceDb.findPrebuildByID(prebuildForCommit1.prebuildId);
596596
await workspaceDb.storePrebuiltWorkspace({

0 commit comments

Comments
 (0)