Skip to content

fix: create data directory before writing CSVs - #12

Open
omerbek wants to merge 1 commit into
base:mainfrom
omerbek:fix/create-data-dir-before-write
Open

fix: create data directory before writing CSVs#12
omerbek wants to merge 1 commit into
base:mainfrom
omerbek:fix/create-data-dir-before-write

Conversation

@omerbek

@omerbek omerbek commented Aug 16, 2026

Copy link
Copy Markdown

Summary

  • create the CSV output parent directory before writing latency results
  • return file/write errors from writeToFile instead of exiting inside the helper
  • add regression coverage for writing into a missing nested output directory

Fixes #11.

Testing

  • git diff --check

Note: Go is not installed in this Windows environment, so go test ./... and gofmt could not be run locally.

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.

writeToFile fails after a full run if ./data does not exist

1 participant