Bump google.golang.org/grpc from 1.67.1 to 1.70.0#103
Open
dependabot[bot] wants to merge 648 commits intomainfrom
Open
Bump google.golang.org/grpc from 1.67.1 to 1.70.0#103dependabot[bot] wants to merge 648 commits intomainfrom
dependabot[bot] wants to merge 648 commits intomainfrom
Conversation
Update version to v2.3.6
Bumps [github.com/xtls/xray-core](https://github.com/xtls/xray-core) from 1.8.15 to 1.8.16. - [Release notes](https://github.com/xtls/xray-core/releases) - [Commits](XTLS/Xray-core@v1.8.15...v1.8.16) --- updated-dependencies: - dependency-name: github.com/xtls/xray-core dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…tls/xray-core-1.8.16 Update version to Xray Core v1.8.16
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to Xray Core v1.8.16
Update version to Xray Core v1.8.16
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Added English practical navigation buttons in the background
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.8
Update version to v2.3.8
Update version to v2.3.8
Update version to v2.3.8
Update version to v2.3.8
Update version to v2.3.8
Update version to v2.3.8
…alyala/fasthttp-1.56.0 Bump github.com/valyala/fasthttp from 1.55.0 to 1.56.0
Bumps [github.com/shirou/gopsutil/v4](https://github.com/shirou/gopsutil) from 4.24.8 to 4.24.9. - [Release notes](https://github.com/shirou/gopsutil/releases) - [Commits](shirou/gopsutil@v4.24.8...v4.24.9) --- updated-dependencies: - dependency-name: github.com/shirou/gopsutil/v4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.67.0 to 1.67.1. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.67.0...v1.67.1) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…g.org/grpc-1.67.1 Bump google.golang.org/grpc from 1.67.0 to 1.67.1
…hirou/gopsutil/v4-4.24.9 Bump github.com/shirou/gopsutil/v4 from 4.24.8 to 4.24.9
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp) from 1.56.0 to 1.57.0. - [Release notes](https://github.com/valyala/fasthttp/releases) - [Commits](valyala/fasthttp@v1.56.0...v1.57.0) --- updated-dependencies: - dependency-name: github.com/valyala/fasthttp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…alyala/fasthttp-1.57.0 Bump github.com/valyala/fasthttp from 1.56.0 to 1.57.0
fix access url
Bumps [github.com/mymmrac/telego](https://github.com/mymmrac/telego) from 0.31.3 to 0.31.4. - [Release notes](https://github.com/mymmrac/telego/releases) - [Commits](mymmrac/telego@v0.31.3...v0.31.4) --- updated-dependencies: - dependency-name: github.com/mymmrac/telego dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…ymmrac/telego-0.31.4 Bump github.com/mymmrac/telego from 0.31.3 to 0.31.4
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.67.1 to 1.70.0. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.67.1...v1.70.0) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
hehelove
added a commit
to hehelove/x-panel-ce
that referenced
this pull request
Apr 26, 2026
Stage 7 ce-1.2.0 第 1/3 项。在入站列表新增"状态"列,
直观显示每条 inbound 的运行健康度,第一时间发现孤儿数据
(典型 ce-1.0.2 user_id=0 / 序列化失败 / xray 未重启等)。
实现:
- web/service/inbound_health.go (新建):
* InboundHealthService.CheckAll(force) 三态判定:
- green: enable + xray 已加载 + 端口可建连
- yellow: enable + xray 已加载但端口 dial 失败
- red: enable 但 xray 当前 config 不含此 tag (孤儿)
- gray: disabled (用户主动禁用)
* 端口探测纯 net.DialTimeout("tcp", "127.0.0.1:port", 1s),
不依赖 ss/lsof,零外部命令、零网络外发
* 30s 缓存(healthCacheTTL)+ ?force=1 强刷
* 并发上限 8(maxParallelDials)+ ctx 5s 总超时兜底,
sync.Mutex 保护读写,缓存 copy-out 避免外部修改
* classifyInboundHealth 抽成纯函数便于单测
- web/service/xray.go:
* 新增 GetCurrentXrayConfig():返回 p.GetConfig() 内存对象,
与 GetXrayConfig() 不同(后者会重建模板有副作用)
- web/controller/inbound.go:
* 注册 GET /panel/api/inbounds/health
* InboundController 加 inboundHealthService 字段
- web/html/inbounds.html:
* 表格 columns 紧跟"启用"加"状态"列(圆点 + tooltip)
* data 加 healthMap / healthTimer / healthIntervalMs
* methods 加 refreshHealth / startHealthRefreshLoop /
healthDotColor / healthTooltip
* mounted 启动轮询 → beforeDestroy 清理 timer
* manualRefresh 顺带强刷健康度(force=1)
- web/translation/*.toml: pages.inbounds.{health,healthUnknown} +
pages.inbounds.healthReason.{disabled,orphan_not_in_xray,port_not_listening}
三语 (zh_CN/zh_TW/en_US)
测试 (web/service/inbound_health_test.go):
- TestClassifyInboundHealth: 4 个 case 覆盖 gray/red/needDial 分支
- TestDialAll: 真起 listener 验证 green,空闲端口验证 yellow
- TestDialAllManyRefused: N>maxParallelDials 个无人监听端口,
验证不超时不死锁、全部 yellow
- TestCheckAllCacheTTL: 缓存命中 + 返回 copy 而非共享引用
- TestCheckAllCacheExpired: 缓存过期判定边界
- TestDialAllWithEmptyJobs: jobs 为空不 panic
验证:
- go vet ./... clean
- go build ./... clean
- web/locale TestParseAllTranslationFiles 通过 (i18n 回归保护)
- web/service health 6/6 通过
hehelove
added a commit
to hehelove/x-panel-ce
that referenced
this pull request
Apr 26, 2026
Stage 7 ce-1.2.0 第 2/3 项。管理员在路上不必 SSH 即可掌握 VPS 状态。
实现:
- web/service/tgbot_health.go (新建):
* sendCEHealthReport(chatId):拼装 markdown 报告并 SendMsgToTgbot
* 数据来源:
- serverService.GetStatus(gopsutil 本机指标)
- inboundService.GetAllInbounds(DB)
- InboundHealthService.CheckAll(true)(CE xeefei#103 三态健康度,强刷)
* 报告四段:
1. ⚙️ 系统:CPU / MEM / Disk / Uptime / Load / Net / TCP-UDP
2. 🚀 Xray:state / version / ErrorMsg(单行截断) / 面板进程内存与 uptime
3. 📊 入站健康度:🟢🟡🔴⚪ 计数 + 问题节点列表(最多 10 条)
4. 📈 流量 Top 5(按 Up+Down 降序)+ 公网 IP
* 严格本机:完全复用既有 service,零外部 API
* 失败容忍:任何子模块出错只影响该段
* 辅助函数(rune-safe 截断、除零保护、多行压成单行)单独可测
- web/service/tgbot.go:
* answerCommand 新增 case "health" → t.sendCEHealthReport(仅 admin)
* SetMyCommands 列表加 /health 自动补全条目
测试 (web/service/tgbot_health_test.go):
- TestFormatUptimeSeconds: 10 个 case 覆盖 0/m/h/d 边界
- TestPercentString: 除零保护 + 5 case 边界
- TestTrimMultiline: 多行压成单行 / 头尾 trim / rune 安全截断(中文不乱码)/ maxLen=0 不截断
验证:
- go vet ./... clean
- go build ./... clean
- web/locale TestParseAllTranslationFiles 通过
- web/service 13/13 通过(xeefei#103 + xeefei#104 全部)
hehelove
added a commit
to hehelove/x-panel-ce
that referenced
this pull request
Apr 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps google.golang.org/grpc from 1.67.1 to 1.70.0.
Release notes
Sourced from google.golang.org/grpc's releases.
... (truncated)
Commits
98a0092Change version to 1.70.0 (#7984)bf380deCherrypick #7998, #8011, #8010 into 1.70.x (#8028)54b3eb9experimental/credentials: Add credentials that don't enforce ALPN (#7980) (#8...62b9185clustetresolver: Copy endpoints.Addresses slice from DNS updates to avoid dat...724f450examples/features/csm_observability: use helloworld client and server instead...e8d5febrbac: add method name to :path in headers (#7965)e912015cleanup: Fix usages of non-constant format strings (#7959)681334acleanup: replace dial with newclient (#7943)063d352internal/resolver: introduce a new resolver to handle target URI and proxy ad...10c7e13outlierdetection: Support health listener for ejection updates (#7908)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)