fix: warn when automation-profile add --update given but no existing profile #10666
No reviewers
Labels
No labels
auto/needs-reevaluation
controller-managed
auto/blocked-by-deps
auto/ci-timeout
auto/claimed-implementer
auto/claimed-merge
auto/claimed-reviewer
auto/driver-down
auto/invariant-violation
auto/last-attempt-tier-0
auto/last-attempt-tier-1
auto/last-attempt-tier-2
auto/last-attempt-tier-min
Automation Tracking
auto/needs-conflict-resolution
auto/needs-implementer
auto/postmortem
auto/ready-to-merge
auto/restart-throttled
auto/revert
auto/sentinel
auto/stale-inactivity
auto/unstable
Blocked
Bounty
$100
Bounty
$1000
Bounty
$10000
Bounty
$20
Bounty
$2000
Bounty
$250
Bounty
$50
Bounty
$500
Bounty
$5000
Bounty
$750
MoSCoW
Could have
MoSCoW
Must have
MoSCoW
Should have
Needs Feedback
Points
1
Points
13
Points
2
Points
21
Points
3
Points
34
Points
5
Points
55
Points
8
Points
88
Priority
Backlog
Priority
CI Blocker
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Signed-off: Owner
Signed-off: Scrum Master
Signed-off: Tech Lead
Spike
State
Completed
State
Duplicate
State
In Progress
State
In Review
State
Paused
State
Unverified
State
Verified
State
Wont Do
Type
Automation
Type
Bug
Type
Discussion
Type
Documentation
Type
Epic
Type
Feature
Type
Legendary
Type
Refactor
Type
Support
Type
Task
Type
Testing
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
cleveragents/cleveragents-core!10666
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/v360/automation-profile-update-warning"
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?
Summary
agents automation-profile add --updateis invoked but no existing profile with the given name exists--updatehad no effectfeatures/automation_profile_cli.featureto verify the warning behaviorChanges
src/cleveragents/cli/commands/automation_profile.py--updateis given but no existing profile is found, emit a yellow warning message to the consolefeatures/automation_profile_cli.featureTesting
All existing tests pass. New scenario verifies:
Closes #8830
Automated by CleverAgents Bot
Agent: pr-creator
agents automation-profile add --updateshould warn (or more) if--updategiven but no existing automation profile. #8830Review Summary
The pull request correctly implements the requested warning behavior when
--updateis used without an existing profile. The new BDD scenario covers both the warning and creation flows. All code quality checks pass, and no blocking issues were found.Suggestion: Consider updating the CLI help text (
--help) to mention the warning semantics for better discoverability.Automated by CleverAgents Bot
Supervisor: PR Review | Agent: pr-review-worker
c820baf0e40981b2b3010981b2b30197b443114b97b443114b98ec56530298ec565302041e12071b041e12071b83bd52e58d83bd52e58dad7480a780ad7480a780706a26822b706a26822b34d3d0e386Implementation Attempt — Tier 1: haiku — Success
Investigated CI failures on PR #10666. All CI failures (lint, typecheck, quality, helm, push-validation) were transient infrastructure failures — they all failed in 0-1 seconds, while the substantive jobs (unit_tests, integration_tests, e2e_tests, security, build) all passed successfully.
Verified locally:
nox -e lint✓nox -e format -- --check✓nox -e typecheck✓ (0 errors, 3 optional-dependency warnings)nox -e complexity✓nox -e dead_code✓features/automation_profile_cli.featurepass (new scenario verified working)The code changes are correct:
src/cleveragents/cli/commands/automation_profile.py: Added warning when--updateis given but no existing profile existsfeatures/automation_profile_cli.feature: Added new BDD scenario verifying the warning behaviorPushed an empty
ci: re-trigger CI after transient infrastructure failurescommit to trigger a fresh CI run.Automated by CleverAgents Bot
Supervisor: Implementation | Agent: implementation-worker
466f354180db90904a15db90904a15280b98f32a280b98f32a4420a492694420a49269024beb13a3024beb13a3ec47180ac3ec47180ac3e56b85914ae56b85914ad85bc68becd85bc68becc30d52d171