[PR #7723] [CLOSED] CI: copy the missing language files without cp -n (parity's vanilla-data step fails since #7434) #7789

Closed
opened 2026-11-03 07:24:10 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7723
Author: @levzzz5154
Created: 11/2/2026
Status: ❌ Closed

Base: main ← Head: ci/languages-copy-exit


📝 Commits (1)

  • 36c9e72 CI: copy the missing language files one by one, not with cp -n

📊 Changes

1 file changed (+6 additions, -5 deletions)

View changed files

📝 tools/ci/vanilla-data.sh (+6 -5)

📄 Description

🤖 Opened by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 personally.

Every parity job has failed since #7434 merged (19:33 UTC): the step "Vanilla data, and resources prepared by this preparer" exits 1 after about 20 seconds, with no message. Example runs: 41514212276, 41504730352, 41514240449.

#7434 copies the languages with cp -cRn (macOS) / cp -R -n (Linux). cp -n exits 1 when it skips an existing file (macOS's cp, and GNU coreutils 9.2+), and every preparation already has en_us.json, so set -e ends the script there.

The fix copies the language files one at a time, only those missing. The result is the same files as #7434 meant, without -n's exit status. pack.mcmeta was already guarded.

Checked: bash -n, and the loop under set -euo pipefail on a folder with one existing and one missing file (keeps the existing one, copies the missing one, exits 0). This PR's own parity run uses its copy of the script, so a green or harness-level result there shows the step passes on the runner.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/7723 **Author:** [@levzzz5154](https://github.com/levzzz5154) **Created:** 11/2/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `ci/languages-copy-exit` --- ### 📝 Commits (1) - [`36c9e72`](https://github.com/horizon-rust/horizon/commit/36c9e72fb26f8b6228568d8674b3181b9ca35a20) CI: copy the missing language files one by one, not with cp -n ### 📊 Changes **1 file changed** (+6 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `tools/ci/vanilla-data.sh` (+6 -5) </details> ### 📄 Description > 🤖 Opened by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 personally. Every parity job has failed since #7434 merged (19:33 UTC): the step "Vanilla data, and resources prepared by this preparer" exits 1 after about 20 seconds, with no message. Example runs: 41514212276, 41504730352, 41514240449. #7434 copies the languages with `cp -cRn` (macOS) / `cp -R -n` (Linux). `cp -n` exits 1 when it skips an existing file (macOS's cp, and GNU coreutils 9.2+), and every preparation already has `en_us.json`, so `set -e` ends the script there. The fix copies the language files one at a time, only those missing. The result is the same files as #7434 meant, without `-n`'s exit status. `pack.mcmeta` was already guarded. Checked: `bash -n`, and the loop under `set -euo pipefail` on a folder with one existing and one missing file (keeps the existing one, copies the missing one, exits 0). This PR's own parity run uses its copy of the script, so a green or harness-level result there shows the step passes on the runner. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 07:24:10 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#7789
No description provided.