Skip to content

fix(ops): plugin_pins.py の再出力で日本語を \uXXXX に変換しない - #12

Merged
malken21 merged 1 commit into
mainfrom
fix/plugin-pins-ensure-ascii
Nov 24, 2026
Merged

malken21 merged 1 commit into
mainfrom
fix/plugin-pins-ensure-ascii

Conversation

@malken21

Copy link
Copy Markdown
Member

概要

.github/scripts/plugin_pins.py の update() で json.dumps(new, indent=2) に ensure_ascii=False を追加する1行の修正です。

背景

週次の plugin-pins ワークフローが PR を作る際に plugins.lock.json 全体を再出力するため、日本語が \uXXXX に変換されていました(#5 で確認)。恒久対応です。

影響

  • パース結果は原本と一致します(json.loads の結果が修正前後で同一)。
  • 動作への影響はありません。出力の見た目が変わるだけです。

検証

  • 同一入力で修正前は \uXXXX 出力、修正後は日本語がそのまま出力されることを確認しました。
  • .github/scripts の既存テスト 9 件が OK でした。

…he lock file

Pass ensure_ascii=False to json.dumps in update() so the weekly plugin-pins
workflow no longer converts Japanese text to \uXXXX escapes.
@malken21
malken21 merged commit 438f1b0 into main Nov 24, 2026
4 checks passed
@malken21
malken21 deleted the fix/plugin-pins-ensure-ascii branch November 24, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant