Description\nThe snapshot scripts (, , ) use which writes to . In CI the working directory is , so snapshots are written to as expected. However if a developer runs the scripts from the repository root, points to the root, resulting in snapshots being written to which does not exist, causing errors or missing snapshots.\n\nSteps to Reproduce\n1. to the repository root.\n2. Run Fetching repository data....\n3. Observe that no snapshot is generated in and an error may be thrown.\n\nExpected Behavior\nScripts should always write snapshots to regardless of the current working directory, or at least provide a clear error message.\n\nProposed Fix\nModify to resolve the path relative to the directory (e.g., using or by ensuring scripts before writing).\n\nLabels\nbug, enhancement
Description\nThe snapshot scripts (, , ) use which writes to . In CI the working directory is , so snapshots are written to as expected. However if a developer runs the scripts from the repository root, points to the root, resulting in snapshots being written to which does not exist, causing errors or missing snapshots.\n\nSteps to Reproduce\n1. to the repository root.\n2. Run Fetching repository data....\n3. Observe that no snapshot is generated in and an error may be thrown.\n\nExpected Behavior\nScripts should always write snapshots to regardless of the current working directory, or at least provide a clear error message.\n\nProposed Fix\nModify to resolve the path relative to the directory (e.g., using or by ensuring scripts before writing).\n\nLabels\nbug, enhancement