Skip to content

chore: bump github.com/tidwall/sjson from 1.2.7 to 1.2.9 in /core - #1902

Merged
huang195 merged 2 commits into
mainfrom
dependabot/go_modules/core/github.com/tidwall/sjson-1.2.9
Nov 17, 2026
Merged

huang195 merged 2 commits into
mainfrom
dependabot/go_modules/core/github.com/tidwall/sjson-1.2.9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Bumps github.com/tidwall/sjson from 1.2.7 to 1.2.9.

Commits
  • f0069f8 fix delete key "-1" while sibling "#" key exists
  • aabd7ae Update dependencies
  • 9f1cbfd Limit array padding and deny bad array indexes
  • See full diff in compare view

@dependabot
dependabot Bot requested a review from a team as a code owner November 16, 2026 23:18
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 16, 2026
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b938a144-eb79-44ce-ade8-ab6fe9cc51b8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot closed this Nov 16, 2026
@github-actions github-actions Bot reopened this Nov 16, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

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 @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@github-actions github-actions Bot added the ready-for-ai-review Request automated AI code review from clawgenti label Nov 16, 2026

@clawgenti clawgenti left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 clawgenti left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

@dependabot
dependabot Bot force-pushed the dependabot/go_modules/core/github.com/tidwall/sjson-1.2.9 branch from 2ecd81e to 5128fe6 Compare November 17, 2026 00:06
@github-actions github-actions Bot closed this Nov 17, 2026
@github-actions github-actions Bot reopened this Nov 17, 2026
@github-project-automation github-project-automation Bot moved this from New/ToDo to Done in Rossoctl Issue Prioritization Nov 17, 2026

@clawgenti clawgenti left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 clawgenti left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review tracking marker for the automation state machine (full review posted above):

@dependabot
dependabot Bot force-pushed the dependabot/go_modules/core/github.com/tidwall/sjson-1.2.9 branch from fbb3234 to 9ed3ab0 Compare November 17, 2026 00:20
@github-actions github-actions Bot closed this Nov 17, 2026
@github-actions github-actions Bot reopened this Nov 17, 2026
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/core/github.com/tidwall/sjson-1.2.9 branch from 87fbc87 to f4e3210 Compare November 17, 2026 00:42

@clawgenti clawgenti left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

@github-actions github-actions Bot closed this Nov 17, 2026
@github-actions github-actions Bot reopened this Nov 17, 2026

@clawgenti clawgenti left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review record: this PR was reviewed at commit f4e3210 — see the review above for findings.

@clawgenti clawgenti left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
@dependabot dependabot Bot changed the title build(deps): Bump github.com/tidwall/sjson from 1.2.7 to 1.2.9 in /core chore: bump github.com/tidwall/sjson from 1.2.7 to 1.2.9 in /core Nov 17, 2026
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/core/github.com/tidwall/sjson-1.2.9 branch from ec3de63 to 4529f24 Compare November 17, 2026 01:16

@clawgenti clawgenti left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
@github-actions github-actions Bot closed this Nov 17, 2026
@github-actions github-actions Bot reopened this Nov 17, 2026

@clawgenti clawgenti left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

@huang195
huang195 merged commit 5392467 into main Nov 17, 2026
74 checks passed
@huang195
huang195 deleted the dependabot/go_modules/core/github.com/tidwall/sjson-1.2.9 branch November 17, 2026 02:15

@clawgenti clawgenti left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

Comment thread core/go.mod
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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code ready-for-ai-review Request automated AI code review from clawgenti

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants