Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] template extend + inbound is broken since 1.1.0 #40

Open
shirok1 opened this issue Dec 24, 2024 · 0 comments
Open

[Bug] template extend + inbound is broken since 1.1.0 #40

shirok1 opened this issue Dec 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@shirok1
Copy link

shirok1 commented Dec 24, 2024

Minimal reproducible config:

{
  "templates": [
    {
      "name": "a"
    },
    {
      "name": "b",
      "extend": "a",
      "inbounds": [
        {
          "type": "mixed",
          "tag": "a-tag"
        }
      ]
    }
  ]
}
git checkout v1.1.0-alpha.1
Previous HEAD position was 4dd3530 documentation: Bump version
HEAD is now at dc0001a documentation: Bump versionmake build
go build -v -trimpath -ldflags "-X 'github.com/sagernet/serenity/constant.Version=1.1.0-alpha.1' -s -w -buildid=" ./cmd/serenity
github.com/sagernet/serenity/template
github.com/sagernet/serenity/server
github.com/sagernet/serenity/cmd/serenity./serenity check
FATAL[0000] initialize template[b]: unmarshal extended template: a: inbounds[0]: missing Inbound fields registry in contextgit checkout v1.0.0-beta.20
Previous HEAD position was dc0001a documentation: Bump version
HEAD is now at fedd571 Add mips buildmake build
go build -v -trimpath -ldflags "-X 'github.com/sagernet/serenity/constant.Version=1.0.0-beta.20' -s -w -buildid=" ./cmd/serenity./serenity check

In d2f1118 context.Background() was changed to globalCtx with a commit message claiming "Update dependencies". Wonder if it was intentional.

@nekohasekai nekohasekai added the bug Something isn't working label Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants