atlassian / atlassian/twg-cli

[Bug]: Enabling Upkeep from Powershell 7 does not work

Open
#8 1 comment 0 reactions 0 assignees View on GitHub
bug needs-triage
Dominant language
JavaScript
Stars
17
Forks
1
PR merge metrics
No merged PRs in 30d

Description

### TWG CLI version

1.2.5

### Operating system

Windows 11

### Command or agent request

twg upkeep enable

### Expected behavior

TWG upkeep enabled every 12 minutes via windows-task-scheduler.
Launcher: C:\Users\...\AppData\Local\Programs\twg\bin\twg.exe
OAuth refresh runs only near expiry. Update checks notify you but never install automatically.
Initial maintenance: OAuth fresh; update check current.
The per-user scheduler can maintain the persistent OAuth session stored in your TWG config directory.

### Actual behavior

Error: PowerShell scheduler command failed: PowerShell reported no detail.
Code: TWG_COMMAND_FAILED

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `twg upkeep enable` with TWG CLI 1.2.5 in PowerShell 7 on Windows 11, focusing on the Windows Task Scheduler command and the reported lack of PowerShell detail. Done means the command succeeds and enables the per-user scheduler with the expected 12-minute upkeep behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, powershell
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.