Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/vercel-cli/osv-scanner.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Read by osv-scanner, which OpenSSF Scorecard runs on package-lock.json here.

# Both advisories are for the npm package `sandbox` before 1.0.0, an unrelated
# 2011 package whose name Vercel now publishes under. The OSV records give no
# upper bound, so osv-scanner flags every version, including Vercel's 4.x that
# the CLI depends on. GitHub's advisory database scopes both to < 1.0.0.
[[IgnoredVulns]]
id = "GHSA-gc25-3vc5-2jf9"
reason = "Affects npm sandbox < 1.0.0 only; this tree has Vercel's sandbox 4.x."

[[IgnoredVulns]]
id = "GHSA-fm4j-4xhm-xpwx"
reason = "Affects npm sandbox < 1.0.0 only; this tree has Vercel's sandbox 4.x."
3 changes: 3 additions & 0 deletions .github/workflows/claude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ on:
issues:
types: [opened, assigned]

# Nothing by default; the job below asks for exactly what it uses.
permissions: {}

concurrency:
group: claude-${{ github.event.issue.number || github.event.pull_request.number }}
cancel-in-progress: false
Expand Down
16 changes: 16 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Security Policy

This repository holds the vortex.dev website and bench.vortex.dev. It follows the Vortex project's security policy: <https://github.com/vortex-data/vortex/blob/develop/SECURITY.md>.

## Reporting a vulnerability

Email <security@vortex.dev>. Do not report security vulnerabilities through public GitHub issues, discussions or pull requests.

Include, where you can:

- the affected site or page (vortex.dev or bench.vortex.dev), or the file in this repository;
- a description of the issue and its impact;
- steps to reproduce or a proof of concept;
- whether the issue is publicly known or being actively exploited.

The project's policy gives the response targets and the emergency process for severe or actively exploited issues.
9 changes: 7 additions & 2 deletions bench/web/lib/server-smoke.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,13 @@ describe.skipIf(!databaseAvailable || !BUILD_PRESENT)(
const raw = await (await fetch(`${BASE}/chart/${slug}`)).text();
// React's streaming SSR separates adjacent text expressions with
// `<!-- -->` comment nodes; strip them so the assertions read the
// user-visible text.
const html = raw.replace(/<!--.*?-->/g, '');
// user-visible text. Comments can span lines, and removing one can join
// the text around it into a new `<!--`, so repeat until nothing changes.
let html = raw;
for (let previous = ''; previous !== html; ) {
previous = html;
html = html.replace(/<!--[\s\S]*?-->/g, '');
}
expect(html).toContain('tpch sf=1 Q1 [nvme] - Vortex Benchmarks');
expect(html).toContain('class="chart-meta"');
expect(html).toContain('unit: ');
Expand Down
Loading