[PR #2557] [CLOSED] replace encoding/json with faster go-json #2730

Closed
opened 2025-12-29 04:18:41 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2557
Author: @CodingTil
Created: 5/2/2025
Status: Closed

Base: mainHead: go-json


📝 Commits (1)

  • 327b8f5 replace encoding/json with faster go-json

📊 Changes

29 files changed (+30 additions, -27 deletions)

View changed files

📝 cmd/headscale/cli/mockoidc.go (+1 -1)
📝 cmd/headscale/cli/utils.go (+1 -1)
📝 go.mod (+1 -0)
📝 go.sum (+2 -0)
📝 hscontrol/capver/gen/main.go (+1 -1)
📝 hscontrol/db/db.go (+1 -1)
📝 hscontrol/db/node.go (+1 -1)
📝 hscontrol/debug.go (+1 -1)
📝 hscontrol/derp/derp.go (+1 -1)
📝 hscontrol/derp/server/derp_server.go (+1 -1)
📝 hscontrol/dns/extrarecords.go (+1 -1)
📝 hscontrol/handlers.go (+1 -1)
📝 hscontrol/mapper/mapper.go (+1 -1)
📝 hscontrol/mapper/tail_test.go (+1 -1)
📝 hscontrol/noise.go (+1 -1)
📝 hscontrol/policy/v1/acls.go (+1 -1)
📝 hscontrol/policy/v1/acls_types.go (+1 -1)
📝 hscontrol/policy/v2/policy.go (+1 -1)
📝 hscontrol/policy/v2/types.go (+1 -1)
📝 hscontrol/policy/v2/types_test.go (+1 -1)

...and 9 more files

📄 Description

  • have read the CONTRIBUTING.md file
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

References #2513


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/2557 **Author:** [@CodingTil](https://github.com/CodingTil) **Created:** 5/2/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `go-json` --- ### 📝 Commits (1) - [`327b8f5`](https://github.com/juanfont/headscale/commit/327b8f52395403da258e8a3738ff550a7a4b9d9e) replace encoding/json with faster go-json ### 📊 Changes **29 files changed** (+30 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `cmd/headscale/cli/mockoidc.go` (+1 -1) 📝 `cmd/headscale/cli/utils.go` (+1 -1) 📝 `go.mod` (+1 -0) 📝 `go.sum` (+2 -0) 📝 `hscontrol/capver/gen/main.go` (+1 -1) 📝 `hscontrol/db/db.go` (+1 -1) 📝 `hscontrol/db/node.go` (+1 -1) 📝 `hscontrol/debug.go` (+1 -1) 📝 `hscontrol/derp/derp.go` (+1 -1) 📝 `hscontrol/derp/server/derp_server.go` (+1 -1) 📝 `hscontrol/dns/extrarecords.go` (+1 -1) 📝 `hscontrol/handlers.go` (+1 -1) 📝 `hscontrol/mapper/mapper.go` (+1 -1) 📝 `hscontrol/mapper/tail_test.go` (+1 -1) 📝 `hscontrol/noise.go` (+1 -1) 📝 `hscontrol/policy/v1/acls.go` (+1 -1) 📝 `hscontrol/policy/v1/acls_types.go` (+1 -1) 📝 `hscontrol/policy/v2/policy.go` (+1 -1) 📝 `hscontrol/policy/v2/types.go` (+1 -1) 📝 `hscontrol/policy/v2/types_test.go` (+1 -1) _...and 9 more files_ </details> ### 📄 Description <!-- Headscale is "Open Source, acknowledged contribution", this means that any contribution will have to be discussed with the Maintainers before being submitted. This model has been chosen to reduce the risk of burnout by limiting the maintenance overhead of reviewing and validating third-party code. Headscale is open to code contributions for bug fixes without discussion. If you find mistakes in the documentation, please submit a fix to the documentation. --> <!-- Please tick if the following things apply. You… --> - [X] have read the [CONTRIBUTING.md](./CONTRIBUTING.md) file - [x] raised a GitHub issue or discussed it on the projects chat beforehand - [ ] added unit tests - [ ] added integration tests - [ ] updated documentation if needed - [ ] updated CHANGELOG.md <!-- If applicable, please reference the issue using `Fixes #XXX` and add tests to cover your new code. --> References #2513 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 04:18:41 +01:00
adam closed this issue 2025-12-29 04:18:41 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2730