Skip to content

Add archive snapshots option and separate replay command#2173

Closed
anambl wants to merge 3 commits into
percy:masterfrom
anambl:upload-snapshots-cli
Closed

Add archive snapshots option and separate replay command#2173
anambl wants to merge 3 commits into
percy:masterfrom
anambl:upload-snapshots-cli

Conversation

@anambl

@anambl anambl commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open for more than 14 days with no activity. Remove stale label or comment or this will be closed in 14 days.

@github-actions github-actions Bot added the 🍞 stale Closed due to inactivity label Apr 28, 2026
@prklm10 prklm10 marked this pull request as ready for review May 5, 2026 05:25
@prklm10 prklm10 requested a review from a team as a code owner May 5, 2026 05:25
@prklm10 prklm10 removed the 🍞 stale Closed due to inactivity label May 5, 2026
// Validates the archive dir to prevent path traversal attacks.
// Returns the resolved absolute path.
export function validateArchiveDir(archiveDir) {
let resolved = path.resolve(archiveDir);
fs.mkdirSync(archiveDir, { recursive: true });

let filename = sanitizeFilename(snapshot.name);
let filepath = path.join(archiveDir, `${filename}.json`);
for (let entry of entries) {
if (!entry.endsWith('.json')) continue;

let filepath = path.join(resolved, entry);
for (let entry of entries) {
if (!entry.endsWith('.json')) continue;

let filepath = path.join(resolved, entry);
@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open for more than 14 days with no activity. Remove stale label or comment or this will be closed in 14 days.

@github-actions github-actions Bot added the 🍞 stale Closed due to inactivity label May 19, 2026
@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

This PR was closed because it has been stalled for 28 days with no activity.

@github-actions github-actions Bot closed this Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🍞 stale Closed due to inactivity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants