Skip to content

Add seconds to auto-generated run directory names#86

Merged
cweniger merged 1 commit into
mainfrom
feat/run-name-seconds
Jun 5, 2026
Merged

Add seconds to auto-generated run directory names#86
cweniger merged 1 commit into
mainfrom
feat/run-name-seconds

Conversation

@cweniger

@cweniger cweniger commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • Changes the auto-generated output directory format from YYMMDD-HHMM-adj-noun to YYMMDD-HHMMSS-adj-noun
  • Removes a redundant datetime.now() call (single call instead of two)
  • Updates the docstring in cli.py to reflect the new format

Motivation

The minute-precision format caused collisions when multiple runs were launched within the same minute. Adding seconds makes each run name unique under normal usage.

Test plan

  • falcon launch without --output produces a directory named output/YYMMDD-HHMMSS-adj-noun
  • Re-running within the same minute produces a distinct directory

🤖 Generated with Claude Code

Output dirs now use YYMMDD-HHMMSS-adj-noun instead of YYMMDD-HHMM-adj-noun,
preventing collisions when multiple runs are launched within the same minute.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@cweniger cweniger merged commit a20f1c7 into main Jun 5, 2026
4 checks passed
@cweniger cweniger deleted the feat/run-name-seconds branch June 5, 2026 22:00
@codecov

codecov Bot commented Jun 5, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 9.61%. Comparing base (7179199) to head (f97a86a).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
falcon/core/run_name.py 0.00% 3 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##            main     #86   +/-   ##
=====================================
  Coverage   9.61%   9.61%           
=====================================
  Files         33      33           
  Lines       4141    4141           
=====================================
  Hits         398     398           
  Misses      3743    3743           
Flag Coverage Δ
unit 9.61% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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