feat(7835): what resembles the work but is not shown is named by id in one pointer line
CI & Build / Python lint (push) Successful in 3s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 35s
CI & Build / Python tests (push) Failing after 2m1s
CI & Build / integration (push) Successful in 2m20s
CI & Build / Build & push image (push) Skipped
CI & Build / Python lint (push) Successful in 3s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 35s
CI & Build / Python tests (push) Failing after 2m1s
CI & Build / integration (push) Successful in 2m20s
CI & Build / Build & push image (push) Skipped
A pointer before a payload:
- the notes arms fetch a few results past the menu; those that cleared
the floor but were held back by the gate, the band or the budget are
named by id per kind, with the call that opens each kind, in one line
("Also resembling this, not shown: ...") at the message and the write
path;
- they are recorded in the record ledger as `pointed`, so an open that
follows is counted apart from pushed lines;
- setting a task in progress returns records_in_area: the notes and open
issues tagged to the task's areas, by id (a work.start row in the
kind x moment table says which kinds; it answers in a tool reply, so it
is shown as unmeasured).
The static context says what a pointer line means. Plugin version minted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+6
-4
@@ -390,10 +390,11 @@ def _default_record_kinds(request):
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def _no_linked_issues(request):
|
||||
"""Stub the write path's structural issue lookup to find nothing.
|
||||
"""Stub the structural lookups (`record_links`) to find nothing.
|
||||
|
||||
It reads notes and task logs, which a unit test of the write path has
|
||||
not written; a test about linked issues patches it with its own answer.
|
||||
They read notes, task logs and areas, which a unit test of the write path
|
||||
or of `update_task` has not written; a test about them patches its own
|
||||
answer.
|
||||
The integration lane runs the real query.
|
||||
"""
|
||||
if request.node.get_closest_marker("integration"):
|
||||
@@ -401,7 +402,8 @@ def _no_linked_issues(request):
|
||||
return
|
||||
from grimoire.services import record_links
|
||||
|
||||
with patch.object(record_links, "issues_for_path", AsyncMock(return_value=[])):
|
||||
with patch.object(record_links, "issues_for_path", AsyncMock(return_value=[])), \
|
||||
patch.object(record_links, "area_records", AsyncMock(return_value={})):
|
||||
yield
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user