Skip to content

Commit 4fa4061

Browse files
committed
chore: point the repo at ClickHouse/ClickStack ahead of the transfer
Repoints links, package metadata, OCI labels, the Go module path, CODEOWNERS and the review-bot footer from hyperdxio/hyperdx to ClickHouse/ClickStack. The CLI release notes derive the download URL from GITHUB_REPOSITORY, and security-audit.yml scans this repo instead of the hyperdxio org. deep-resolve now requires write access instead of trusting author_association, since MEMBER will cover every ClickHouse org member. docker-compose.yml and the deploy docs pull the app image as clickhouse/clickstack, published by the previous commit. Adds SECURITY.md pointing at the ClickHouse security policy. Merge after the transfer: npm provenance for @hyperdx/cli requires the package.json repository URL to match the publishing repo.
1 parent e810152 commit 4fa4061

53 files changed

Lines changed: 108 additions & 72 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@hyperdx/app': patch
3+
'@hyperdx/cli': patch
4+
---
5+
6+
chore: GitHub links (changelog, support, package metadata) now point at `ClickHouse/ClickStack`, and `docker-compose.yml` pulls the app image as `clickhouse/clickstack`

‎.github/CODEOWNERS‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# One reviewer is picked round robin by the team's code review settings.
2-
* @hyperdxio/clickstack-app-devs
2+
* @ClickHouse/clickstack-app-devs

‎.github/ISSUE_TEMPLATE/bug-report.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ paste the URL if it does. If you're working from the repo, `yarn app:dev:local`
1717
plus onboarding → "Connect to Demo Server" gives you the same data locally. If
1818
it only happens with your own data, include the table schema
1919
(`SHOW CREATE TABLE ...`) and source settings.
20-
See https://github.com/hyperdxio/hyperdx/blob/main/CONTRIBUTING.md#reproducing-issues-and-prs
20+
See https://github.com/ClickHouse/ClickStack/blob/main/CONTRIBUTING.md#reproducing-issues-and-prs
2121
-->
2222

2323
**Reproduces on play.hyperdx.io?** <!-- yes (link) / no / didn't try -->

‎.github/ISSUE_TEMPLATE/config.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ contact_links:
77
about:
88
For usage questions, setup help, and general discussion, ask on Discord.
99
- name: First-time contributor?
10-
url: https://github.com/hyperdxio/hyperdx/blob/main/CONTRIBUTING.md#getting-vouched
10+
url: https://github.com/ClickHouse/ClickStack/blob/main/CONTRIBUTING.md#getting-vouched
1111
about:
1212
No need to open an issue to get vouched. Open your pull request and a
1313
maintainer vouches from there.

‎.github/ISSUE_TEMPLATE/feature-request.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ labels: enhancement, Needs Feedback
2626
New issues start as `Needs Feedback` so we can discuss scope before anyone
2727
writes code. Once a maintainer swaps that for `Accepting PR`, the issue is ready
2828
to be picked up — see
29-
[CONTRIBUTING.md](https://github.com/hyperdxio/hyperdx/blob/main/CONTRIBUTING.md#from-issue-to-pull-request).
29+
[CONTRIBUTING.md](https://github.com/ClickHouse/ClickStack/blob/main/CONTRIBUTING.md#from-issue-to-pull-request).

‎.github/VOUCHED.td‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Vouched contributors for hyperdxio/hyperdx.
1+
# Vouched contributors for ClickHouse/ClickStack.
22
#
33
# Pull requests from GitHub users who are not in this list are closed
44
# automatically by .github/workflows/vouch.yml. See CONTRIBUTING.md for how to

‎.github/prompts/code-review.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
REPO: hyperdxio/hyperdx
1+
REPO: ClickHouse/ClickStack
22
PR: #{{PR_NUMBER}}
33

44
Review this pull request.

‎.github/scripts/code-review/review-comments.cjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const MAX_BODY = 65536;
2525
* FOOTER repeats the rule and this anchor; the anchor test pins both to the AGENTS.md heading.
2626
*/
2727
const GUIDE_URL =
28-
'https://github.com/hyperdxio/hyperdx/blob/main/AGENTS.md#responding-to-review-feedback';
28+
'https://github.com/ClickHouse/ClickStack/blob/main/AGENTS.md#responding-to-review-feedback';
2929
const GUIDE_LINK = `[How to respond](${GUIDE_URL})`;
3030

3131
/**

‎.github/workflows/deep-resolve.yml‎

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ name: Deep Review Resolver
88
# Limitations:
99
# - Same-repo PRs only. Fork PRs cannot be pushed to from CI with the
1010
# default GITHUB_TOKEN; the workflow exits early on forks.
11-
# - Collaborator-gated. The job `if` requires OWNER/MEMBER/COLLABORATOR
12-
# association on the triggering comment to prevent random drive-by use.
11+
# - Write-gated. The job `if` requires OWNER/MEMBER/COLLABORATOR association
12+
# on the triggering comment, and the first step checks the commenter has
13+
# write access, since MEMBER covers every org member.
1314
# - Single-shot. Re-trigger by commenting `/just-fix-it` again after the
1415
# follow-up deep-review run posts an updated finding list.
1516

@@ -38,6 +39,28 @@ jobs:
3839
actions: read
3940

4041
steps:
42+
# author_association MEMBER covers every org member, not just people with
43+
# write access to this repo. Check the real permission before touching the PR.
44+
- name: Require write access
45+
uses: actions/github-script@v9
46+
with:
47+
script: |
48+
const username = context.payload.comment.user.login;
49+
let p = {};
50+
try {
51+
const { data } = await github.rest.repos.getCollaboratorPermissionLevel({
52+
owner: context.repo.owner,
53+
repo: context.repo.repo,
54+
username,
55+
});
56+
p = data.user?.permissions ?? {};
57+
} catch (e) {
58+
if (e.status !== 404) throw e;
59+
}
60+
if (!(p.admin || p.maintain || p.push)) {
61+
core.setFailed(`${username} has no write access to this repo; ignoring /just-fix-it.`);
62+
}
63+
4164
- name: Acknowledge trigger
4265
uses: actions/github-script@v9
4366
with:

‎.github/workflows/deep-review.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ jobs:
850850
# collapsed P3 block. Twin of INLINE_FOOTER_BY_SEVERITY / AGENT_NOTICE
851851
# in .github/scripts/code-review/review-comments.cjs; the anchor test
852852
# there pins both to the AGENTS.md heading.
853-
FOOTER='<sub>No finding blocks merge automatically. A maintainer will expect P0/P1 findings in code this PR changes to be fixed; P2/P3 are your call -- fix or reply. Never fix findings about surrounding code here; reply instead. Do not widen the PR. [How to respond](https://github.com/hyperdxio/hyperdx/blob/main/AGENTS.md#responding-to-review-feedback)</sub>'
853+
FOOTER='<sub>No finding blocks merge automatically. A maintainer will expect P0/P1 findings in code this PR changes to be fixed; P2/P3 are your call -- fix or reply. Never fix findings about surrounding code here; reply instead. Do not widen the PR. [How to respond](https://github.com/ClickHouse/ClickStack/blob/main/AGENTS.md#responding-to-review-feedback)</sub>'
854854
# Only when there is something to triage, as renderSummary does for its
855855
# notice: a clean review or a zero-coverage (unhealthy-sandbox) one gets
856856
# no footer. Findings sit under a `### ` severity heading or, for P3

0 commit comments

Comments
 (0)