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
2 changes: 1 addition & 1 deletion .github/workflows/codacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
PY

- name: Upload SARIF chunks artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: codacy-sarif-chunks
path: sarif-chunks/*.sarif
Expand Down
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ repos:
cspell.json |
admin-ui/package.json |
admin-ui/package-lock.json |
admin-ui/tsconfig.json
admin-ui/tsconfig.json |
.vscode/settings.json
)$
- id: end-of-file-fixer
- id: mixed-line-ending
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit/golangci-lint-hook
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if [[ -f "${ROOT_DIR}/.project-settings.env" ]]; then
# shellcheck disable=SC1090
source "${ROOT_DIR}/.project-settings.env"
fi
GOLANGCI_LINT_VERSION="${GOLANGCI_LINT_VERSION:-v2.9.0}"
GOLANGCI_LINT_VERSION="${GOLANGCI_LINT_VERSION:-v2.10.1}"

# #######################################
# Install dependencies to run the pre-commit hook
Expand Down
2 changes: 1 addition & 1 deletion .project-settings.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GOLANGCI_LINT_VERSION=v2.9.0
GOLANGCI_LINT_VERSION=v2.10.1
BUF_VERSION=v1.65.0
GO_VERSION=1.26.0
GCI_PREFIX=github.com/hyp3rd/go-worker
Expand Down
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"yaml.schemas": {
"https://golangci-lint.run/jsonschema/golangci.jsonschema.json": "file:///Users/dy14uc/Developer/github.com/hyp3rd/go-worker/.golangci.yaml"
Copy link

Copilot AI Feb 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The VS Code YAML schema mapping uses a hard-coded absolute file:///Users/... path, which will not resolve for other developers or in Codespaces. Use a workspace-relative path (e.g., ${workspaceFolder}/.golangci.yaml) or a relative file match like .golangci.yaml instead.

Suggested change
"https://golangci-lint.run/jsonschema/golangci.jsonschema.json": "file:///Users/dy14uc/Developer/github.com/hyp3rd/go-worker/.golangci.yaml"
"https://golangci-lint.run/jsonschema/golangci.jsonschema.json": ".golangci.yaml"

Copilot uses AI. Check for mistakes.
}
},
"snyk.advanced.organization": "e3a23328-9b6e-43a2-acb5-e23bc7cfc9dc",
"snyk.advanced.autoSelectOrganization": true
Comment on lines +4 to +6
Copy link

Copilot AI Feb 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Committing a specific Snyk organization UUID into the shared workspace settings hard-codes scanner behavior for everyone and may not be appropriate to version-control (it can also leak internal org identifiers). Consider removing these settings from the repo, or moving them to a documented optional local settings file (e.g., .vscode/settings.local.json / .vscode/settings.example.json).

Suggested change
},
"snyk.advanced.organization": "e3a23328-9b6e-43a2-acb5-e23bc7cfc9dc",
"snyk.advanced.autoSelectOrganization": true
}

Copilot uses AI. Check for mistakes.
}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include .project-settings.env

REPO_ROOT = $(shell git rev-parse --show-toplevel)
GOLANGCI_LINT_VERSION ?= v2.9.0
GOLANGCI_LINT_VERSION ?= v2.10.1
BUF_VERSION ?= v1.65.0
GO_VERSION ?= 1.26.0
GCI_PREFIX ?= github.com/hyp3rd/go-worker
Expand Down
13 changes: 13 additions & 0 deletions admin-ui/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,22 @@ import { defineConfig, globalIgnores } from "eslint/config";
import nextVitals from "eslint-config-next/core-web-vitals";
import nextTs from "eslint-config-next/typescript";

const disabledReactRules = Object.fromEntries(
[...nextVitals, ...nextTs]
.flatMap((entry) => Object.keys(entry?.rules ?? {}))
.filter((rule) => rule.startsWith("react/"))
.map((rule) => [rule, "off"]),
);

const eslintConfig = defineConfig([
...nextVitals,
...nextTs,
{
rules: {
// eslint-config-next@16.1.6 pulls eslint-plugin-react that is not ESLint v10 compatible.
...disabledReactRules,
},
},
// Override default ignores of eslint-config-next.
globalIgnores([
// Default ignores of eslint-config-next:
Expand Down
6 changes: 3 additions & 3 deletions admin-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
"lint": "eslint"
},
"dependencies": {
"dayjs": "^1.11.13",
"dayjs": "^1.11.19",
"next": "16.1.6",
"react": "^19.2.4",
"react-dom": "^19.2.4"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/node": "^24.10.12",
"@types/node": "^25.3.0",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9.39.2",
"eslint": "^10.0.1",
"eslint-config-next": "^16.1.6",
"tailwindcss": "^4",
"typescript": "^5"
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/google/uuid v1.6.0
github.com/hyp3rd/ewrap v1.3.7
github.com/hyp3rd/sectools v1.2.2
github.com/redis/rueidis v1.0.71
github.com/redis/rueidis v1.0.72
github.com/robfig/cron/v3 v3.0.1
github.com/spf13/cobra v1.10.2
go.opentelemetry.io/otel/metric v1.40.0
Expand All @@ -32,5 +32,5 @@ require (
golang.org/x/net v0.50.0 // indirect
golang.org/x/sys v0.41.0 // indirect
golang.org/x/text v0.34.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260209200024-4cfbd4190f57 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260217215200-42d3e9bedb6d // indirect
)
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ github.com/onsi/gomega v1.38.3 h1:eTX+W6dobAYfFeGC2PV6RwXRu/MyT+cQguijutvkpSM=
github.com/onsi/gomega v1.38.3/go.mod h1:ZCU1pkQcXDO5Sl9/VVEGlDyp+zm0m1cmeG5TOzLgdh4=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/redis/rueidis v1.0.71 h1:pODtnAR5GAB7j4ekhldZ29HKOxe4Hph0GTDGk1ayEQY=
github.com/redis/rueidis v1.0.71/go.mod h1:lfdcZzJ1oKGKL37vh9fO3ymwt+0TdjkkUCJxbgpmcgQ=
github.com/redis/rueidis v1.0.72 h1:rc1ZUha266B7PYAeZp0OafXFcGz69WKy0aHtbkZzrJg=
github.com/redis/rueidis v1.0.72/go.mod h1:lfdcZzJ1oKGKL37vh9fO3ymwt+0TdjkkUCJxbgpmcgQ=
github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs=
github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro=
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
Expand Down Expand Up @@ -72,8 +72,8 @@ golang.org/x/time v0.14.0 h1:MRx4UaLrDotUKUdCIqzPC48t1Y9hANFKIRpNx+Te8PI=
golang.org/x/time v0.14.0/go.mod h1:eL/Oa2bBBK0TkX57Fyni+NgnyQQN4LitPmob2Hjnqw4=
gonum.org/v1/gonum v0.16.0 h1:5+ul4Swaf3ESvrOnidPp4GZbzf0mxVQpDCYUQE7OJfk=
gonum.org/v1/gonum v0.16.0/go.mod h1:fef3am4MQ93R2HHpKnLk4/Tbh/s0+wqD5nfa6Pnwy4E=
google.golang.org/genproto/googleapis/rpc v0.0.0-20260209200024-4cfbd4190f57 h1:mWPCjDEyshlQYzBpMNHaEof6UX1PmHcaUODUywQ0uac=
google.golang.org/genproto/googleapis/rpc v0.0.0-20260209200024-4cfbd4190f57/go.mod h1:j9x/tPzZkyxcgEFkiKEEGxfvyumM01BEtsW8xzOahRQ=
google.golang.org/genproto/googleapis/rpc v0.0.0-20260217215200-42d3e9bedb6d h1:t/LOSXPJ9R0B6fnZNyALBRfZBH0Uy0gT+uR+SJ6syqQ=
google.golang.org/genproto/googleapis/rpc v0.0.0-20260217215200-42d3e9bedb6d/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8=
google.golang.org/grpc v1.79.1 h1:zGhSi45ODB9/p3VAawt9a+O/MULLl9dpizzNNpq7flY=
google.golang.org/grpc v1.79.1/go.mod h1:KmT0Kjez+0dde/v2j9vzwoAScgEPx/Bw1CYChhHLrHQ=
google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE=
Expand Down
Loading