docs: WHEEL_DEBUG_METADATA_{JSON,XML} overwrite behavior - #130
Merged
Merged
Conversation
The dump path is fixed (the env-var value, no component name / suffix) and written with node:fs/promises writeFile (flag 'w', truncate): - multiple inputFiles in one HPCI-SS / HPCISS-tar component => a single dump (gatherComponentMetadata / componentMetadataToXml run once per _hpcissHandler call; extra inputFiles only add wheel.workflow xattr targets). - 2+ HPCI-SS components, or one component re-run in a loop => each run overwrites the same path; only the last survives. Each dump is a whole-project snapshot. Documented in gfarm.md's "デバッグ用メタデータ書き出し" section with a new "上書き挙動" subsection, plus a discoverability pointer from configuration.md section 4 (WHEEL_* env var list). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017xw6DdyQhrdTZMjYbKvFZi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents what happens to the
WHEEL_DEBUG_METADATA_JSON/WHEEL_DEBUG_METADATA_XMLdump files when a project has more than one HPCI-SS metadata write.
Behavior (unchanged, just now written down):
node:fs/promiseswriteFile(flagw, truncate).inputFilesin one HPCI-SS / HPCISS-tar component → one dump.gatherComponentMetadata/componentMetadataToXmlare called once per_hpcissHandlerrun; extrainputFilesonly addwheel.workflowxattr targets.Changes:
documentMD/design/gfarm.md— new "上書き挙動" subsection under "デバッグ用メタデータ書き出し".documentMD/design/configuration.md§4 — adds the two vars to theWHEEL_*env-var list with a pointer to gfarm.md (they were previously only documented in gfarm.md).No code change.
🤖 Generated with Claude Code