mirror of
https://github.com/gotempsh/temps.git
synced 2026-04-25 06:15:55 +03:00
[PR #6] [MERGED] fix(cli): move logs under deployments subcommand and fix log rendering #11
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/temps#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/gotempsh/temps/pull/6
Author: @dviejokfs
Created: 2/17/2026
Status: ✅ Merged
Merged: 2/17/2026
Merged by: @dviejokfs
Base:
main← Head:fix/cli-logs-command-restructure📝 Commits (1)
454dd88fix(cli): move logs under deployments subcommand and fix log rendering📊 Changes
3 files changed (+63 additions, -24 deletions)
View changed files
📝
apps/temps-cli/src/commands/deploy/index.ts(+2 -3)📝
apps/temps-cli/src/commands/deploy/logs.ts(+42 -15)📝
apps/temps-cli/src/commands/runtime-logs.ts(+19 -6)📄 Description
Summary
temps logstotemps deployments logs— deployment build logs belong under the deployments command group, not as a generic root commandundefinedfor every job — the API returns JSONL as a raw string, but the CLI was treating it as a JSON array\nthatconsole.logdoubles upBefore
(double-spaced output)
After
(single-spaced output)
Changes
apps/temps-cli/src/commands/deploy/index.tslogsfromprogram(root) todeploymentssubcommand groupapps/temps-cli/src/commands/deploy/logs.tsparseLogEntries()to properly parse JSONL string responses intoLogEntry[]; fix streaming dedup logicapps/temps-cli/src/commands/runtime-logs.ts\r?\nfrom WebSocket messages beforeconsole.log🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.