Skip to content

Commit 053aefe

Browse files
committed
fix: comments
Signed-off-by: Uroš Marolt <uros@marolt.me>
1 parent 561766e commit 053aefe

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

services/apps/packages_worker/src/deps-dev/activities/checkEdgeSnapshotQuality.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,8 @@ export async function checkEdgeSnapshotQuality(
203203
[
204204
{
205205
title: 'Snapshot',
206-
text: input.snapshotDate,
206+
// Full/fill probe *Latest (no partition filter), so the literal date isn't what was scanned.
207+
text: input.fullScan ? `${input.snapshotDate} (probed *Latest)` : input.snapshotDate,
207208
},
208209
{
209210
title: 'Canaries',

services/apps/packages_worker/src/deps-dev/workflows/bootstrapOsspckgs.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,10 @@ export async function bootstrapOsspckgs(opts: {
201201
args: [
202202
{
203203
runId,
204-
snapshotDate: today,
204+
// Honor --snapshot-date like the partition kinds do (snap()). The closure reads *Latest
205+
// manifests regardless, but anchors the dependent_repos 60-day window on this date, so a
206+
// recovery run with an override must use it for a consistent window.
207+
snapshotDate: opts.snapshotDate ?? today,
205208
variant,
206209
reuseExports: opts.reuseExports,
207210
exportName: opts.exportName,

0 commit comments

Comments
 (0)