Skip to content

cli: validate logs tail argument#329

Open
jovial-liu wants to merge 1 commit into
Conway-Research:mainfrom
jovial-liu:codex/validate-logs-tail
Open

cli: validate logs tail argument#329
jovial-liu wants to merge 1 commit into
Conway-Research:mainfrom
jovial-liu:codex/validate-logs-tail

Conversation

@jovial-liu

Copy link
Copy Markdown

Summary

  • validate automaton-cli logs --tail before querying the database
  • reject missing, zero, negative, and non-numeric tail values with a clear CLI error
  • add focused CLI tests for invalid tail arguments

Validation

  • npm test src/__tests__/cli-logs.test.ts
  • npm run typecheck
  • npx pnpm@10.28.1 build

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