fix(resource): call bootstrap_builtin_types during initialization #626
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 project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#523
agents resource add fs-directory should not cause an error.
cleveragents/cleveragents-core
#524
agents resource add git-checkout should not cause an error.
cleveragents/cleveragents-core
Reference
cleveragents/cleveragents-core!626
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/m3-fix-resource-bootstrap-rebased"
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
Built-in resource types (
fs-directory,git-checkout) were not available afteragents initbecausebootstrap_builtin_types()inResourceRegistryServicewas never called during the initialization path. Runningagents resource add fs-directoryoragents resource add git-checkoutfailed with "Resource type not found" because the types defined in_BUILTIN_TYPESwere never seeded into the database.This PR fixes the initialization path to call
bootstrap_builtin_types()so that all built-in resource types are available immediately afteragents init. It also activates previously@wip-tagged BDD test scenarios that were excluded from CI viabehave.ini, removes the global~@wiptag exclusion frombehave.ini, and fixes mock patching inplan_commands_new_coverage_steps.pyto work correctly underbehave-parallel's fork-based workers.Changes
tags = ~@wipexclusion so previously skipped TDD scenarios now run in CI.@wiptags from 4 scenarios (bug #522).@wiptag from fs-directory bootstrap scenario (bug #523).@wiptag from git-checkout bootstrap scenario (bug #524)._get_apply_servicemock patching to patchPlanApplyServiceat both the canonical source module and the plan module (withcreate=True) so the lazy import resolves correctly underbehave-parallelfork workers.Closes #523
Closes #524
feature/m3-fix-resource-bootstrap-rebasedto fix(resource): call bootstrap_builtin_types during initializationagents resource add fs-directoryshould not cause an error.agents resource add git-checkoutshould not cause an error.c566759b4f9c1ab4b8769c1ab4b87687b63be83987b63be83989f1af66f53fca95632f025e7cbe60025e7cbe6064cfdc782a