Skip to content

Simplify configuration fingerprint canonicalization - #49295

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/890e79865a1d690adea3b35f19fcc6c30dbd17ce
Sep 29, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/890e79865a1d690adea3b35f19fcc6c30dbd17ce

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Simplify configuration fingerprint canonicalization

What changed

Replace the custom recursive JSON canonicalizer with serde_json::Value::sort_all_objects() before hashing configuration values, preserving existing fingerprints.

Testing

Add a regression test that checks reordered keys in nested tables and tables inside arrays produce the same existing fingerprint.

## What changed

Replace the custom recursive JSON canonicalizer with `serde_json::Value::sort_all_objects()` before hashing configuration values, preserving existing fingerprints.

## Testing

Add a regression test that checks reordered keys in nested tables and tables inside arrays produce the same existing fingerprint.

GitOrigin-RevId: 890e79865a1d690adea3b35f19fcc6c30dbd17ce
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/890e79865a1d690adea3b35f19fcc6c30dbd17ce branch from d129977 to cf12c86 Compare September 29, 2026 16:10
@copyberry
copyberry Bot merged commit cf12c86 into main Sep 29, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/890e79865a1d690adea3b35f19fcc6c30dbd17ce branch September 29, 2026 16:10
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 29, 2026
@shafty023
shafty023 deployed to issue-triage September 29, 2026 16:11 — with GitHub Actions Active
@shafty023
shafty023 deployed to issue-triage September 29, 2026 16:11 — with GitHub Actions Active
@shafty023
shafty023 deployed to issue-triage September 29, 2026 16:11 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — cf12c86d Deployed Sep 29, 2026 by shafty023 via Identify potential duplicates (all issues) #49795
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants