Skip to content

chore: bump the all-minor-patch group with 7 updates - #3

Merged
adibarra merged 1 commit into
mainfrom
dependabot/npm_and_yarn/all-minor-patch-cbb4f79f9c
Mar 19, 2026
Merged

adibarra merged 1 commit into
mainfrom
dependabot/npm_and_yarn/all-minor-patch-cbb4f79f9c

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 19, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the all-minor-patch group with 7 updates:

Package From To
@tanstack/react-query 5.90.21 5.91.0
@tanstack/react-query-persist-client 5.90.24 5.90.25
next 16.1.6 16.2.0
posthog-js 1.360.2 1.362.0
@tailwindcss/postcss 4.2.1 4.2.2
@types/adm-zip 0.5.7 0.5.8
tailwindcss 4.2.1 4.2.2

Updates @tanstack/react-query from 5.90.21 to 5.91.0

Release notes

Sourced from @​tanstack/react-query's releases.

@​tanstack/react-query@​5.91.0

Minor Changes

  • feat: environmentManager (#10199)

Patch Changes

  • Updated dependencies [6fa901b]:
    • @​tanstack/query-core@​5.91.0

@​tanstack/react-query-persist-client@​5.90.25

Patch Changes

  • Updated dependencies [6fa901b]:
    • @​tanstack/react-query@​5.91.0
    • @​tanstack/query-persist-client-core@​5.92.2

@​tanstack/react-query-persist-client@​5.90.23

Patch Changes

  • Updated dependencies [978fc52]:
    • @​tanstack/query-persist-client-core@​5.92.0
    • @​tanstack/react-query@​5.90.21

@​tanstack/react-query-persist-client@​5.90.22

Patch Changes

  • Updated dependencies []:
    • @​tanstack/query-persist-client-core@​5.91.19
    • @​tanstack/react-query@​5.90.20
Changelog

Sourced from @​tanstack/react-query's changelog.

5.91.0

Minor Changes

  • feat: environmentManager (#10199)

Patch Changes

  • Updated dependencies [6fa901b]:
    • @​tanstack/query-core@​5.91.0
Commits
  • 3761d2b ci: Version Packages (#10290)
  • 6fa901b feat/environmentManager (#10199)
  • 3fac499 test(react-query/useSuspenseInfiniteQuery): add test for basic suspend and re...
  • 6d0a2a9 test(react-query/useSuspenseQuery): remove unnecessary 'act' from background ...
  • 9ec0fc6 test(react-query/useSuspenseQueries): remove unnecessary 'act' from backgroun...
  • 67cf8b6 ref: ts cutoff (#10253)
  • 8a59b2d test({react,preact}-query/useSuspenseQueries): add test for suspending when t...
  • 0eca134 test({react,preact}-query/useSuspenseQueries): add test for not suspending bu...
  • 6af63a7 test({react,preact}-query/useSuspenseQueries): add test for not suspending wh...
  • 282cdc2 test(react-query/useQueries): add test for not fetching during restoring peri...
  • Additional commits viewable in compare view

Updates @tanstack/react-query-persist-client from 5.90.24 to 5.90.25

Release notes

Sourced from @​tanstack/react-query-persist-client's releases.

@​tanstack/react-query-persist-client@​5.90.25

Patch Changes

  • Updated dependencies [6fa901b]:
    • @​tanstack/react-query@​5.91.0
    • @​tanstack/query-persist-client-core@​5.92.2
Changelog

Sourced from @​tanstack/react-query-persist-client's changelog.

5.90.25

Patch Changes

  • Updated dependencies [6fa901b]:
    • @​tanstack/react-query@​5.91.0
    • @​tanstack/query-persist-client-core@​5.92.2
Commits

Updates next from 16.1.6 to 16.2.0

Release notes

Sourced from next's releases.

v16.2.0

[!TIP]
Check out our Next v16.2 Blog Post to learn more about this release.

Core Changes

  • Upgrade React from f93b9fd4-20251217 to 65eec428-20251218: #87323
  • Turbopack: Create junction points instead of symlinks on Windows: #87606
  • Turbopack: Symlink handling follow-up: #87637
  • Add experimental routing package for resolving adapter routes: #86404
  • Ensure outputs are correct with cache components in deployment adapters: #87018
  • Move off of deprecated url.parse: #87257
  • [strict-route-types] Add experimental.strictRouteTypes config: #87378
  • misc: fix type check log for CI envs: #87838
  • fix: revalidateTag with profile should not trigger client cache invalidation: #88069
  • chore: warn when running tests against stale build: #88001
  • Redesign default error pages with cleaner, more user-friendly UI: #87988
  • dx: avoid next-env.d.ts change in dev: #88103
  • prevent browser cache from using stale RSC responses from previous builds: #86554
  • [strict-route-types] Typecheck App Router page props: #87386
  • [strict-route-types] Enforce common React Component return types in App Router: #87389
  • [strict-route-types] Switch to satisfies when validating page and route modules: #87398
  • [strict-route-types] Don't reject number in config.api.bodyParser.sizeLimit when validating route: #87633
  • Revert "dx: avoid next-env.d.ts change in dev": #88153
  • [strict-route-types] Typecheck pages router routes in absence of App Router: #87628
  • [strict-route-types] Ensure cache profiles and routes are type-checked even if .next is excluded: #87768
  • add compilation error for taint when not enabled: #88173
  • feat(next/image)!: add images.maximumResponseBody config: #88183
  • Add maximum size limit for postponed body parsing: #88175
  • metadata: use fixed segment in dynamic routes with static metadata files: #88113
  • feat: add --experimental-cpu-prof flag for dev, build, and start: #87946
  • Add experimental option to use no-cache instead of no-store in dev: #88182
  • fix overlay frames cannot be opened sometimes: #88210
  • Handle pnpm-workspace.yaml while searching for monorepo root: #74818
  • Add more debug logs to 'use cache' wrapper: #88219
  • Omit unused arguments from 'use cache' function calls: #86920
  • Only log pending revalidates... debug log if applicable: #88221
  • fix(next/image): bump [email protected]: #88238
  • Disallow javascript urls in router methods and redirects: #88185
  • Fix relative same host redirects in node middleware: #88253
  • Remove loadConfig from main development process, pass value from child process: #88230
  • Update deploy adapters outputs and handler interfaces for node and edge: #88247
  • Move Ready in time before handler initialization: #88235
  • next/image: support custom cache handlers: #88248
  • feat: add Claude Code plugin marketplace with Cache Components skill: #87993
  • refactor: consolidate PPR into cacheComponents architecture: #88243
  • Turbopack: include fewer traced files for standalone: #88322
  • feat(turbopack): add resolve plugin condition variant of Always and Never: #88190
  • perf: use length = 0 to clear the logging array: #88244
  • Time logs: Show full millisecond instead of 1 decimal: #88313

... (truncated)

Commits
  • c5c94df v16.2.0
  • 649d302 Unflake router events deploy test (#91589)
  • bcd9c19 docs: Clarify ignoreBuildErrors behavior (#91367)
  • 3683192 v16.2.0-canary.104
  • b61823d SRI turbopack documentation (#90477)
  • 0ca967b Add group depth tracking to instant validation boundary discovery (#91208)
  • a41bef9 improve allowedDevOrigins error (#91521)
  • 75c51c6 Turbopack: Use debug = "line-tables-only" for dev builds (#91539)
  • 39e705c Turbopack: Merge release-with-assertions-no-lto profile into release-with-ass...
  • 4de2201 [turbopack] Share scratch buffer across shards using thread local (#90167)
  • Additional commits viewable in compare view

Updates posthog-js from 1.360.2 to 1.362.0

Release notes

Sourced from posthog-js's releases.

[email protected]

1.362.0

Minor Changes

  • #3244 ff8a93e Thanks @​sampennington! - Fixed $set_once initial person properties (e.g. $initial_current_url) not being included with $identify calls when they had already been sent with a prior event. This ensures initial properties are reliably set when identifying users across subdomains, even if an anonymous event was captured first. (2026-03-18)

Patch Changes

  • Updated dependencies [9cd2313]:
    • @​posthog/core@​1.24.0
    • @​posthog/types@​1.362.0

[email protected]

1.361.1

Patch Changes

  • #3249 c265d62 Thanks @​marandaneto! - fix: preserve _overrideSDKInfo from terser mangling so wrapper SDKs can call it (2026-03-18)
  • Updated dependencies []:
    • @​posthog/types@​1.361.1

[email protected]

1.361.0

Minor Changes

  • #3201 552c018 Thanks @​frankh! - Add a serviceName config option to logs config (2026-03-18)

  • #3240 e4a58d0 Thanks @​marandaneto! - Add internal _overrideSDKInfo method to allow wrapper SDKs to override $lib and $lib_version event properties (2026-03-18)

  • #3241 fe1fd7b Thanks @​dustinbyrne! - feat: add advanced_feature_flags_dedup_per_session config option to scope $feature_flag_called deduplication to the current session (2026-03-18)

Patch Changes

  • #3239 bf4f078 Thanks @​jonathanlab! - fix: debug mode not persisting across page navigations (2026-03-18)

  • #3228 8773fdf Thanks @​TueHaulund! - fix: restart session recorder when session rotates externally while idle, preventing "Recording not found" for sessions where analytics events triggered session rotation (2026-03-18)

  • Updated dependencies [552c018, fe1fd7b]:

    • @​posthog/types@​1.361.0
Commits
  • f4e5889 chore: update versions and lockfile [version bump]
  • 9cd2313 fix: pipe to cli stdin (#3246)
  • ff8a93e fix(web): always include initial person in $identify events (#3244)
  • 434c4f8 chore: update versions and lockfile [version bump]
  • c265d62 fix: preserve _overrideSDKInfo from terser mangling (#3249)
  • 09f58b0 chore: assign team reviewers on posthog upgrade PR (#3248)
  • 52ddf4e chore: update versions and lockfile [version bump]
  • 476a823 feat(ai): replace otel client-side span mapping with PostHogTraceExporter (#3...
  • 697e423 fix: make captureExceptionImmediate return the promise (#3243)
  • 552c018 feat(logs): allow customising service name (#3201)
  • Additional commits viewable in compare view

Updates @tailwindcss/postcss from 4.2.1 to 4.2.2

Release notes

Sourced from @​tailwindcss/postcss's releases.

v4.2.2

Added

  • Support Vite 8 in @tailwindcss/vite (#19790)

Fixed

  • Don't crash when candidates contain prototype properties like row-constructor (#19725)
  • Canonicalize calc(var(--spacing)*…) expressions into --spacing(…) (#19769)
  • Fix crash in canonicalization step when handling utilities containing @property at-rules (e.g. shadow-sm border) (#19727)
  • Skip full reload for server only modules scanned by client CSS when using @tailwindcss/vite (#19745)
  • Improve canonicalization for bare values exceeding default spacing scale suggestions (e.g. w-1234 h-1234 → size-1234) (#19809)
  • Fix canonicalization resulting in empty list (e.g. w-5 h-5 size-5 → '' instead of size-5) (#19812)
Changelog

Sourced from @​tailwindcss/postcss's changelog.

[4.2.2] - 2026-03-18

Fixed

  • Don't crash when candidates contain prototype properties like row-constructor (#19725)
  • Canonicalize calc(var(--spacing)*…) expressions into --spacing(…) (#19769)
  • Fix crash in canonicalization step when handling utilities containing @property at-rules (e.g. shadow-sm border) (#19727)
  • Skip full reload for server only modules scanned by client CSS when using @tailwindcss/vite (#19745)
  • Add support for Vite 8 in @tailwindcss/vite (#19790)
  • Improve canonicalization for bare values exceeding default spacing scale suggestions (e.g. w-1234 h-1234 → size-1234) (#19809)
  • Fix canonicalization resulting in empty list (e.g. w-5 h-5 size-5 → '' instead of size-5) (#19812)
Commits

Updates @types/adm-zip from 0.5.7 to 0.5.8

Commits

Updates tailwindcss from 4.2.1 to 4.2.2

Release notes

Sourced from tailwindcss's releases.

v4.2.2

Added

  • Support Vite 8 in @tailwindcss/vite (#19790)

Fixed

  • Don't crash when candidates contain prototype properties like row-constructor (#19725)
  • Canonicalize calc(var(--spacing)*…) expressions into --spacing(…) (#19769)
  • Fix crash in canonicalization step when handling utilities containing @property at-rules (e.g. shadow-sm border) (#19727)
  • Skip full reload for server only modules scanned by client CSS when using @tailwindcss/vite (#19745)
  • Improve canonicalization for bare values exceeding default spacing scale suggestions (e.g. w-1234 h-1234 → size-1234) (#19809)
  • Fix canonicalization resulting in empty list (e.g. w-5 h-5 size-5 → '' instead of size-5) (#19812)
Changelog

Sourced from tailwindcss's changelog.

[4.2.2] - 2026-03-18

Fixed

  • Don't crash when candidates contain prototype properties like row-constructor (#19725)
  • Canonicalize calc(var(--spacing)*…) expressions into --spacing(…) (#19769)
  • Fix crash in canonicalization step when handling utilities containing @property at-rules (e.g. shadow-sm border) (#19727)
  • Skip full reload for server only modules scanned by client CSS when using @tailwindcss/vite (#19745)
  • Add support for Vite 8 in @tailwindcss/vite (#19790)
  • Improve canonicalization for bare values exceeding default spacing scale suggestions (e.g. w-1234 h-1234 → size-1234) (#19809)
  • Fix canonicalization resulting in empty list (e.g. w-5 h-5 size-5 → '' instead of size-5) (#19812)
Commits
  • d596b0c 4.2.2 (#19821)
  • 2228a57 Bump Lightning CSS (#19771)
  • f302fce Fix canonicalization resulting in empty list (#19812)
  • bb2f170 Improve canonicalization for bare values exceeding default spacing scale sugg...
  • faa5e88 Cleanup inconsistencies related to (regex) escapes (#19804)
  • d5717f2 run prettier
  • 51aa9d7 fix(canonicalize): handle utilities with empty property maps in collapse (#19...
  • c586bd6 Canonicalize calc(var(--spacing)*…) expressions into --spacing(…) (#19769)
  • 9ded4a2 Guard object lookups against inherited prototype properties (#19725)
  • See full diff in compare view

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the all-minor-patch group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) | `5.90.21` | `5.91.0` |
| [@tanstack/react-query-persist-client](https://github.com/TanStack/query/tree/HEAD/packages/react-query-persist-client) | `5.90.24` | `5.90.25` |
| [next](https://github.com/vercel/next.js) | `16.1.6` | `16.2.0` |
| [posthog-js](https://github.com/PostHog/posthog-js) | `1.360.2` | `1.362.0` |
| [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) | `4.2.1` | `4.2.2` |
| [@types/adm-zip](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/adm-zip) | `0.5.7` | `0.5.8` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) | `4.2.1` | `4.2.2` |


Updates `@tanstack/react-query` from 5.90.21 to 5.91.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Changelog](https://github.com/TanStack/query/blob/main/packages/react-query/CHANGELOG.md)
- [Commits](https://github.com/TanStack/query/commits/@tanstack/[email protected]/packages/react-query)

Updates `@tanstack/react-query-persist-client` from 5.90.24 to 5.90.25
- [Release notes](https://github.com/TanStack/query/releases)
- [Changelog](https://github.com/TanStack/query/blob/main/packages/react-query-persist-client/CHANGELOG.md)
- [Commits](https://github.com/TanStack/query/commits/@tanstack/[email protected]/packages/react-query-persist-client)

Updates `next` from 16.1.6 to 16.2.0
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v16.1.6...v16.2.0)

Updates `posthog-js` from 1.360.2 to 1.362.0
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/[email protected]@1.362.0)

Updates `@tailwindcss/postcss` from 4.2.1 to 4.2.2
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.2.2/packages/@tailwindcss-postcss)

Updates `@types/adm-zip` from 0.5.7 to 0.5.8
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/adm-zip)

Updates `tailwindcss` from 4.2.1 to 4.2.2
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.2.2/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
  dependency-version: 5.91.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-minor-patch
- dependency-name: "@tanstack/react-query-persist-client"
  dependency-version: 5.90.25
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-minor-patch
- dependency-name: next
  dependency-version: 16.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-minor-patch
- dependency-name: posthog-js
  dependency-version: 1.362.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-minor-patch
- dependency-name: "@tailwindcss/postcss"
  dependency-version: 4.2.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all-minor-patch
- dependency-name: "@types/adm-zip"
  dependency-version: 0.5.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all-minor-patch
- dependency-name: tailwindcss
  dependency-version: 4.2.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all-minor-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github

dependabot Bot commented on behalf of github Mar 19, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot
dependabot Bot requested a review from a team March 19, 2026 00:22
@adibarra adibarra added the type/dependencies Related to dependencies label Mar 19, 2026
@adibarra
adibarra merged commit 3333fd9 into main Mar 19, 2026
1 check passed
@adibarra
adibarra deleted the dependabot/npm_and_yarn/all-minor-patch-cbb4f79f9c branch March 19, 2026 01:03
adibarra added a commit that referenced this pull request Nov 24, 2026
- computeChartSeries groups sources by their raw identity, then serves endpointUrl, the source id
  and endpoint-based engine labels through redactText. Ids that then collide get #2, #3.
- CHART_SERIES_VERSION stays at 21: read-only, all 776 endpoint URLs in production's 6,002
  chart_series rows (535 with sources) are private, so a recompute would change nothing.
- Document it on /api/v1/trace-server-metrics and update the reviewed source digest.

computeChartSeries 先按原始标识对来源分组,再用 redactText 清理对外提供的 endpointUrl、来源 ID 以及基于端点的
引擎标签,清理后重复的 ID 加上 #2、#3。CHART_SERIES_VERSION 保持 21:只读检查显示生产环境 6,002 行
chart_series(535 行含来源)中的 776 个端点 URL 全部是私有地址,重新计算不会有任何变化。同时更新
/api/v1/trace-server-metrics 文档和已审核的源文件摘要。
zbpatel pushed a commit to zbpatel/InferenceX-app that referenced this pull request Nov 25, 2026
* fix: redact IPs from public logs and stop exposing database hosts

Redact IP addresses, Oracle VCN domains and credentials from server-log text
and chart-series endpoint identifiers at ingest, in the public-database copy,
and in a dry-run-by-default backfill for stored rows. Tags are HMACs under a
per-process random key, so distinct endpoints stay distinct and nothing is
reversible. The rules and test vectors match InferenceX's artifact redactor.

Drop the database hostname from the agentx-integrity manifest, which was
uploaded as a public artifact, and stop printing database hosts in the ingest
and recompute workflows.

中文:入库时、复制到公开数据库时,以及通过默认试运行的回填脚本,对服务日志文本和
chart series 端点标识中的 IP 地址、Oracle VCN 域名和凭据进行脱敏。标签为使用每个进程
随机密钥计算的 HMAC,不同端点仍可区分且无法反推。规则和测试向量与 InferenceX 的产物
脱敏工具一致。从作为公开产物上传的 agentx-integrity manifest 中移除数据库主机名,并且
ingest 和 recompute workflow 不再打印数据库主机名。

* chore: tidy log sanitization docs and fixtures

中文:整理日志清理相关文档和测试数据

* refactor: simplify log sanitization

中文:简化日志清理逻辑

* feat: extend log sanitization to promoted runs

中文:将日志清理扩展到推广的运行

* fix: harden log sanitization

中文:加固日志清理

* Catch JWTs, keep pip versions, test the log backfill on the real driver

- Redact JWTs, as an HF Xet access token leaked in a stored header dump.
- Keep pip's '(9.19.0.56)' installed-version suffix, which was redacted as an IP.
- Add both as shared vectors, with a parenthesised public IP and mq_connect_ip still redacted.
- Move the backfill loop into backfillLogRedaction so a PGlite test runs it twice on the real
  driver: dry run writes nothing, rows other than log text stay, and the second run is a no-op.
- Port the redaction tests to bun:test and pgliteDriverSql, and test that ingest stores
  sanitized text and blocks.
- Keep the shared vectors out of oxfmt and document what is kept and when the backfill runs.

捕获 JWT(存储的请求头中泄露了 HF Xet 访问令牌),保留 pip 输出中 "(9.19.0.56)" 形式的已安装版本号,
并将两者加入共享测试向量。将回填循环提取为 backfillLogRedaction,在真实驱动上用 PGlite 连续运行两次:
试运行不写入,日志以外的数据保持不变,第二次运行没有任何改动。脱敏相关测试迁移到 bun:test 与
pgliteDriverSql,并新增摄取写入已脱敏文本和数据块的测试。文档说明了保留的内容以及回填的运行时机。

* Redact email addresses in stored logs

- Replace email addresses with ***REDACTED***, after URL passwords. A real employee address
  appeared inside /home/<email>/.cache paths in 3 sampled points.
- Keep what only looks like an email: user@host without a letters-only TLD, URL userinfo right
  after ://, scp-style remotes ([email protected]:org/repo), [email protected], @scope/pkg, image digests
  and decorators. The domain may not continue past a match, so a host is never cut short.
- Flip the shared 'compact json url next to an email kept' case (renamed without 'kept') and add
  cases for each kept shape. InferenceX#5013 has to take the same file and rule.

清理存储日志中的邮箱地址(替换为 ***REDACTED***,在 URL 密码之后处理)。抽样中有 3 个数据点的
/home/<邮箱>/.cache 路径包含一位员工的邮箱。形似邮箱的内容保持不变:没有纯字母顶级域名的 user@host、
紧跟 :// 的 URL 用户信息、[email protected]:org/repo 形式的远程地址、[email protected]、@scope/pkg、镜像摘要和
装饰器。共享用例 "compact json url next to an email kept" 改为清理邮箱并去掉 kept,同时为每种保留形式
新增用例,InferenceX#5013 需同步更新。

* Catch tokens after colour codes and escapes, and more secret formats

- Tokens, IPs and emails right after an ANSI SGR code (\x1b[0m ends in a word character) or an
  escaped \n, \r or \t were skipped. Treat those as boundaries.
- Redact Authorization Bearer/Basic/Token values, long bare Bearer tokens, upper-case *_TOKEN,
  *_API_KEY, *_SECRET, *_ACCESS_KEY and *_PASSWORD assignments with a non-placeholder value,
  nvapi- and ASIA keys, URL passwords under any scheme case and with JSON-escaped :\/\/.
- Keep emails with internal TLDs (.internal, .local, .lan), [email protected](...) and the version
  column of pip list, conda list and torch's [conda] dump.
- Bound the scheme and host-label repeats and the line look-back, so long dotted runs and huge
  single lines stay linear (100 MB: 45 s or more before, about 1 s after).
- Add shared vectors for each, including non-ASCII text next to an IP and a token.

紧跟在 ANSI 颜色码(\x1b[0m 以单词字符结尾)或转义的 \n、\r、\t 之后的令牌、IP 和邮箱此前会被漏掉,现在视为
边界。新增清理 Authorization 的 Bearer/Basic/Token 值、较长的独立 Bearer 令牌、值不是占位符的大写
*_TOKEN、*_API_KEY、*_SECRET、*_ACCESS_KEY、*_PASSWORD 赋值、nvapi- 与 ASIA 密钥,以及任意大小写协议
和 JSON 转义 :\/\/ 形式的 URL 密码。保留内部顶级域名的邮箱、[email protected](...) 以及 pip list、conda list
和 torch [conda] 输出中的版本列。限制协议、主机标签和回看行首的长度,使长点分串和超长单行保持线性耗时。
为以上每项新增共享测试向量,包括与 IP 和令牌相邻的非 ASCII 文本。

* Strip private repo names in every form, and authenticate visibility reads

- Only a letter or digit now continues a private repository name, so name-server-1,
  name_default and name-tools lose it, and owner%2Fname and the name with - and _ swapped match.
- Read repository visibility with GITHUB_TOKEN when it is set; the anonymous limit is 60 an hour.

私有仓库名只有在后面紧跟字母或数字时才保留,因此 name-server-1、name_default、name-tools 中的仓库名都会被
清理,owner%2Fname 以及 - 与 _ 互换的写法也会匹配。设置了 GITHUB_TOKEN 时,仓库可见性查询使用该令牌(匿名
调用每小时仅 60 次)。

* Sanitize trace server-metric endpoint URLs, ids and engine labels

- computeChartSeries groups sources by their raw identity, then serves endpointUrl, the source id
  and endpoint-based engine labels through redactText. Ids that then collide get SemiAnalysisAI#2, SemiAnalysisAI#3.
- CHART_SERIES_VERSION stays at 21: read-only, all 776 endpoint URLs in production's 6,002
  chart_series rows (535 with sources) are private, so a recompute would change nothing.
- Document it on /api/v1/trace-server-metrics and update the reviewed source digest.

computeChartSeries 先按原始标识对来源分组,再用 redactText 清理对外提供的 endpointUrl、来源 ID 以及基于端点的
引擎标签,清理后重复的 ID 加上 SemiAnalysisAI#2、SemiAnalysisAI#3。CHART_SERIES_VERSION 保持 21:只读检查显示生产环境 6,002 行
chart_series(535 行含来源)中的 776 个端点 URL 全部是私有地址,重新计算不会有任何变化。同时更新
/api/v1/trace-server-metrics 文档和已审核的源文件摘要。

* Restore the agentic backfill manifest database check with a host hash

- Snapshots store a SHA-256 of the database host instead of the host, and --verify refuses a
  manifest from another database, or one without a fingerprint.

快照记录数据库主机名的 SHA-256 而不是主机名本身,--verify 会拒绝来自其他数据库或缺少指纹的清单。

* Make the log backfill race-safe, recoverable and downstream-aware

- Take a per-file advisory lock in the backfill and in compact-server-logs (now through
  compactStoredServerLogFile), and rebuild blocks whose char_count no longer matches
  already-sanitized text, which a racing compaction could have built from the raw text.
- Append every html_url about to be cleared to an operator-only JSONL file (--url-map, default
  ~/.inferencex/redacted-run-urls/, mode 600), in the backfill and in sync-public-db, and print
  only its path.
- backfill-server-log-files, backfill-gpu-metrics and backfill-runtime-metadata report and skip a
  run without html_url instead of querying INGEST_REPO.
- Add --downstream: shared rules only, keeping a downstream database's private repository names
  and run URLs, without GitHub calls.

回填与 compact-server-logs(改为通过 compactStoredServerLogFile)对每个日志文件加同一把 advisory 锁;对已清理
文本但 char_count 不一致的数据块(可能由并发压缩根据原始文本生成)重新生成。在回填和 sync-public-db 清空
html_url 之前,把原 URL 追加到仅操作者可读的 JSONL 文件(--url-map,默认 ~/.inferencex/redacted-run-urls/,
权限 600),只打印文件路径。backfill-server-log-files、backfill-gpu-metrics、backfill-runtime-metadata 遇到
没有 html_url 的运行时报告并跳过,不再改用 INGEST_REPO。新增 --downstream:只应用通用规则,保留下游数据库
自己的私有仓库名和运行 URL,也不调用 GitHub。

* Document log sanitization coverage, caches and copies

- List every rule and what stays, the trace-metric sanitization, the URL map, --downstream, the
  s-maxage=31536000 log cache, downstream purges and backfills, and Neon branches and PITR.

文档列出全部清理规则和保留内容、跟踪指标的脱敏、URL 映射文件、--downstream、日志缓存的
s-maxage=31536000、下游部署各自的缓存清除与回填,以及 Neon 分支和时间点恢复中保留的原始文本。

* Widen escape boundaries and secret keys, and keep only real package rows

- Treat any ANSI CSI ending in a letter (\x1b[2K, \x1b[1A, not just colour codes) and the
  escaped spellings \x1b[, \u001b[ and \033[ as token boundaries.
- Redact JSON-escaped secret assignments (\"MY_SECRET_TOKEN\":\"...\"), lower-case *_token,
  *api_key, *_secret and *_password keys and --*-token/--api-key style flags when the value mixes
  letters and digits. Match those keys from the key word with a lookbehind, which also makes URL
  passwords cheaper; skip the email scan unless an @ is followed by a dotted domain.
- Keep a pip/conda version column only when the package name has a lower-case letter and no
  address-like word, so MASTER_ADDR, mq_connect_ip and node-a lines with public IPs are redacted.
- Keep a bare Bearer followed by a slash path without digits (bearer src/auth/...).
- 12 new shared vectors and one changed: the placeholder case now ends hf_token=None.

任何以字母结尾的 ANSI CSI 序列(\x1b[2K、\x1b[1A,不只是颜色码)以及转义写法 \x1b[、\u001b[、\033[ 现在都视为
边界。新增清理 JSON 转义引号的密钥赋值、小写的 *_token、*api_key、*_secret、*_password 键以及 --*-token、
--api-key 等命令行参数(值须同时含字母和数字);这些键改为从关键词开始匹配并用后行断言校验,URL 密码同样
如此,邮箱扫描仅在 @ 后跟带点的域名时运行,以保持性能。pip/conda 版本列只有在包名含小写字母且不含地址类
词语时才保留,因此 MASTER_ADDR、mq_connect_ip、node-a 等行中的公网 IP 会被清理。独立的 Bearer 后跟不含
数字的斜杠路径时保留。新增 12 个共享用例,并修改占位符用例,改为以 hf_token=None 结尾。

* Fingerprint the manifest database by host and database name

- Hash hostname plus pathname, so two databases on one host no longer share a fingerprint.

清单指纹改为对主机名加路径(数据库名)取哈希,同一主机上的两个数据库不再共用指纹。

* Fail backfills loudly, verify redacted blocks, and recover cleared repos

- backfill-log-redaction exits 1 whenever a file failed, --downstream included, through the
  new reportLogRedaction.
- For already-sanitized text holding ***REDACTED***, decode the blocks and rebuild them when they
  differ, which catches raw blocks whose replacements kept the same length.
- chmod the URL map to 600 after every append, even when it already existed.
- Admin backfills read every URL map in ~/.inferencex/redacted-run-urls/ and use a cleared run's
  recorded repository; other runs without html_url fall back to INGEST_REPO again. No migration.

backfill-log-redaction 只要有文件失败就以 1 退出(包括 --downstream),由新的 reportLogRedaction 统一处理。
对已清理且含 ***REDACTED*** 的文本,解码数据块并在不一致时重建,以发现替换前后长度相同的原始数据块。
每次追加后都把 URL 映射文件权限设为 600,即使文件已存在。管理类回填会读取
~/.inferencex/redacted-run-urls/ 下的全部映射文件,对被清空 URL 的运行使用记录的仓库;其他没有 html_url
的运行重新回退到 INGEST_REPO。无需数据库迁移。

* Document the widened rules, exit codes and URL-map lookups

- Describe CSI and escaped boundaries, lower-case and flag secrets, the package-row and Bearer
  limits, the decoded-block check, the exit code and how admin backfills use the URL maps.

文档补充 CSI 与转义边界、小写键和命令行参数中的密钥、包版本行与 Bearer 的限制、数据块解码校验、
退出码,以及管理类回填如何使用 URL 映射文件。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/dependencies Related to dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant