Repository navigation
chore: bump github.com/tidwall/sjson from 1.2.7 to 1.2.9 in /core - #1902
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
clawgenti
left a comment
There was a problem hiding this comment.
AI review pass (comment-only).
Routine Dependabot bump of the tidwall JSON helpers — gjson 1.20.1 → 1.20.2, sjson 1.2.7 → 1.2.9, pretty 1.2.1 → 1.3.0 — applied consistently across all five Go modules (core, cmd/cortex, cmd/cortex-envoy, cmd/agentop, scripts/readme-demo), with go.sum entries matching in every module. Both commits are signed off (DCO ok), and the follow-up chore: go mod tidy across modules commit keeps the module graph tidy, which the CI job enforces.
No code changes, no new direct dependencies, no agent/IDE config files in the diff, and no secrets or unpinned actions touched. The upstream repos publish no release notes for these tags; the bumps are patch/minor and touch the same import paths.
No blocking findings. All checks pass from the static review; CI was still pending at review time — please confirm it goes green before merge.
Author: dependabot[bot] (CONTRIBUTOR — returning external, elevated scrutiny applied)
Areas reviewed: Go modules / dependency manifests, security
Agent/IDE config (.claude/.vscode): none
Commits: 2 commits, all signed-off: yes
CI status: pending at review time
Generated by RepoMan github-pr-review@235a7f7 (https://github.com/rossoctl/agent-skills/blob/235a7f7620139ee3e4ab0872b8439591fe52e8c1/skills/github-pr-review/SKILL.md).
clawgenti
left a comment
There was a problem hiding this comment.
Footer for the review above (state-machine marker for the PR-Review automation):
Generated by RepoMan github-pr-review@235a7f7 (https://github.com/rossoctl/agent-skills/blob/235a7f7620139ee3e4ab0872b8439591fe52e8c1/skills/github-pr-review/SKILL.md).
2ecd81e to
5128fe6
Compare
clawgenti
left a comment
There was a problem hiding this comment.
Summary
Routine Dependabot bump of github.com/tidwall/sjson 1.2.7 → 1.2.9 across all five Go modules (core direct, four indirect). go.mod/go.sum changes only; no code or config changes. No issues found — all checks pass. Ready for human review.
Author: dependabot[bot] (CONTRIBUTOR — returning external, automated)
Areas reviewed: Go modules (go.mod/go.sum), security, agent/IDE config gate
Agent/IDE config (.claude/.vscode): none
Commits: 2 commits, all signed-off: yes
CI status: DCO passing; pr-title-check pending
Generated by RepoMan github-pr-review@235a7f7 (https://github.com/rossoctl/agent-skills/blob/235a7f7620139ee3e4ab0872b8439591fe52e8c1/skills/github-pr-review/SKILL.md).
clawgenti
left a comment
There was a problem hiding this comment.
Review tracking marker for the automation state machine (full review posted above):
fbb3234 to
9ed3ab0
Compare
87fbc87 to
f4e3210
Compare
clawgenti
left a comment
There was a problem hiding this comment.
Automated review (clawgenti PR-Review): dependency bump github.com/tidwall/sjson 1.2.7 → 1.2.9 in /core, plus matching go.sum entries. No code changes, no agent/IDE config files in the diff, DCO passes, no secrets. Patch-level bump within the same module. All checks pass — nothing to flag beyond letting CI finish its pending jobs. Ready for human review.
Author: dependabot[bot] (CONTRIBUTOR — returning external)
Areas reviewed: Go modules, security
Agent/IDE config (.claude/.vscode): none
Commits: 1 commit, signed-off: yes
CI status: passing (some jobs pending at review time)
Generated by RepoMan github-pr-review@235a7f7 (https://github.com/rossoctl/agent-skills/blob/235a7f7620139ee3e4ab0872b8439591fe52e8c1/skills/github-pr-review/SKILL.md).
clawgenti
left a comment
There was a problem hiding this comment.
Summary
Straightforward Dependabot bump of github.com/tidwall/sjson from 1.2.7 to 1.2.9 across all modules (core direct, cmd/* and scripts/readme-demo via tidy sync), with no code changes. The upstream release includes a fix for deleting key "-1" when a sibling "#" key exists, a dependency refresh, and hardening that limits array padding and denies bad array indexes — a worthwhile patch-level security-adjacent update. All 25 checks that have run are green (DCO, CodeQL, Dependency Review, Trivy, Go CI across modules); a handful are still pending on the re-triggered run. No must-fix issues; no inline comments.
Author: dependabot[bot] (CONTRIBUTOR — returning external)
Areas reviewed: Go module manifests/lockfiles (go.mod, go.sum), dependency supply-chain
Agent/IDE config (.claude/.vscode): none
Commits: 2 commits, all signed-off: yes
CI status: passing (some checks pending on latest run)
Generated by RepoMan github-pr-review@235a7f7 (https://github.com/rossoctl/agent-skills/blob/235a7f7620139ee3e4ab0872b8439591fe52e8c1/skills/github-pr-review/SKILL.md).
Bumps [github.com/tidwall/sjson](https://github.com/tidwall/sjson) from 1.2.7 to 1.2.9. - [Commits](tidwall/sjson@v1.2.7...v1.2.9) --- updated-dependencies: - dependency-name: github.com/tidwall/sjson dependency-version: 1.2.9 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
ec3de63 to
4529f24
Compare
clawgenti
left a comment
There was a problem hiding this comment.
Tracking note: the review above was posted against head commit ec3de63d8343776bb78dfb5f93737e4f05e0f336 (the latest push of this PR). No new findings.
Generated by RepoMan github-pr-review@235a7f7 (https://github.com/rossoctl/agent-skills/blob/235a7f7620139ee3e4ab0872b8439591fe52e8c1/skills/github-pr-review/SKILL.md).
Auto-tidied by dependabot-tidy workflow to keep cmd/* go.sum files in sync with core after a Dependabot bump. Signed-off-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
clawgenti
left a comment
There was a problem hiding this comment.
Automated review of this Dependabot bump of github.com/tidwall/sjson 1.2.7 → 1.2.9 across all five modules.
What changed upstream (v1.2.7…v1.2.9): edge-case hardening in path handling — array padding is now capped at 100,000 elements and returns an error instead of allocating unboundedly, malformed array indexes are denied, and deleting key "-1" no longer misbehaves when a sibling "#" key exists. No API changes.
Risk to cortex: low. The call sites in core (pipeline/model.go, inferencerouter/fit.go, inferencerouter/strip.go, toolprune/plugin.go) all use plain, in-range, non-negative indexes (messages.0, tools, content) or top-level keys — none rely on the padded/negative-index behavior that changed. Where errors were previously silent, they are now surfaced, which is strictly safer for the error-checked call sites (e.g. toolprune/plugin.go:356).
Verified on head (81ab6cc): go test ./... in core — all packages pass except a pre-existing failure in core/session/archive (TestWriteSession_FailedEraseKeepsNumbering: LastSeq = 0, want the 4 reserved), which reproduces identically on main with sjson 1.2.7 and is unrelated to this bump. The sjson-dependent packages (inferencerouter, toolprune) pass.
Commits: 2, both signed off (DCO passing). Title follows the conventional prefix. No agent/IDE config files in the diff.
No must-fix findings — the bump looks safe to merge once the pre-existing archive test flake is understood (worth a separate look; it fails on main too).
Generated by RepoMan github-pr-review@235a7f7 (https://github.com/rossoctl/agent-skills/blob/235a7f7620139ee3e4ab0872b8439591fe52e8c1/skills/github-pr-review/SKILL.md).
clawgenti
left a comment
There was a problem hiding this comment.
Summary
Routine Dependabot bump of github.com/tidwall/sjson 1.2.7 → 1.2.9 across all five modules (core direct, cmd/* and scripts/readme-demo indirect), plus the auto-tidy commit keeping go.sum files in sync. The diff is exactly the version/hash replacement in 5 go.mod/go.sum pairs — no code changes, no agent/IDE config files, no new dependencies. All CI checks pass, including DCO, Dependency Review, CodeQL (Go/Python), Trivy, and "Verify module graph is tidy".
Worth noting for context rather than concern: 1.2.9 includes behavior changes around array-index paths ("Limit array padding and deny bad array indexes", plus a fix for deleting key "-1" when a "#" sibling exists). Cortex does use numeric index paths with sjson — e.g. sjson.DeleteBytes(body, "messages."+strconv.Itoa(i)) in core/plugins/inferencerouter/strip.go — but those indexes are generated in-range from message counts, not user-supplied, and the affected plugin tests pass in CI. No action needed.
Author: dependabot[bot] (CONTRIBUTOR — returning external, bot)
Areas reviewed: Go modules/dependency manifests, security (Dependency Review, CodeQL, Trivy all green)
Agent/IDE config (.claude/.vscode): none
Commits: 2 commits, all signed-off: yes (DCO check passes)
CI status: passing (all checks)
Generated by RepoMan github-pr-review@235a7f7 (https://github.com/rossoctl/agent-skills/blob/235a7f7620139ee3e4ab0872b8439591fe52e8c1/skills/github-pr-review/SKILL.md).
| github.com/spiffe/go-spiffe/v2 v2.9.0 | ||
| github.com/tidwall/gjson v1.20.2 | ||
| github.com/tidwall/sjson v1.2.7 | ||
| github.com/tidwall/sjson v1.2.9 |
There was a problem hiding this comment.
suggestion — This module is the only direct consumer of sjson, and 1.2.9 changes array-index handling (padding limits, bad-index denial). The index paths used here (messages.<i>, input.<i> in core/plugins/inferencerouter/strip.go) are all generated from in-range loop counters, so the behavior changes shouldn't bite — and CI's Go core + plugin-profile jobs confirm. Flagging only so the bump's semantic content is visible in the review trail.
Bumps github.com/tidwall/sjson from 1.2.7 to 1.2.9.
Commits
f0069f8fix delete key "-1" while sibling "#" key existsaabd7aeUpdate dependencies9f1cbfdLimit array padding and deny bad array indexes