Skip to content

test_render_work and atlas goal tests: work goals have no name since #6289 dropped the <strong> title walk #6329

Closed

Description

@leaf-agent

Since #6289, a work goal has no name of its own. Before it, a goal took its name from its leading <strong>. #6289 deleted that walk in both runtimes, so that no widget takes a name from its markup and a widget names itself with label. But the goal widgets don't declare label: neither lf-atlas-task (examples/command-hub.page/registry.json) nor the fixture's lf-test-task (tests/fixtures/packages/work/registry.json) lists it. As a result, readWork titles each goal by its id (work.js#L259, addressableName(goal) || goal.id), and the activity feed names a goal by every word in it.

Failing in push run 44182772749 on ddc6239fa, the first run after #6289 merged:

  • tests/browser/test_render_work.py::test_public_work_roles_preserve_scope_remit_and_reports: ['leaf', 'done', 'Leaf work'] in [['area', 'active', 'area'], ['leaf', 'done', 'leaf'], ['other', 'blocked', 'other']]
  • tests/browser/test_render_work.py::test_a_page_owned_goal_joins_the_public_projection: ['local', 'blocked', 'local'] != ['local', 'blocked', 'Local milestone']
  • tests/browser/test_render_projection.py::test_atlas_send_and_pause_is_one_thread_fold: the activity row for #goal-parser in examples/command-hub.html reads active Replace the XML parser Two workers own separate… where the test expects Replace the XML parser

On command-hub the user sees this: the Leaf panel's activity row for an atlas task names it by all of its words, status chip included.

Decision needed (@max-sixty). These options pull in different directions, and #6325, which is still open, is changing how titles and names relate:

  1. Give the goal widgets label and write it on each goal, keeping the visible <strong> title. This matches Show an option's and a board card's title as its author's HTML, with label as its name alone #6325's split ("label as its name alone"). page check's title-in-strong advice stays quiet, since it fires only where label is absent. The name is written twice, though, and the two copies can drift.
  2. Give them label and drop the <strong>. That follows Take an option's and a board card's title from label, and recommended from an attribute #6289 strictly, but lf-atlas-task doesn't draw its label, so the example would lose its visible task titles unless its module draws them.
  3. Accept id titles for goals and change the tests to expect them. That gives up the names users see in the activity feed.

Option 1 looks like the smallest change consistent with #6325. Once you choose, the repair is a registry entry for each goal widget, label on the example's tasks and the tests' fixtures.

#6328 repairs the run's three other #6289 failures, which were stale test markup only. #6139 owns the run's remaining failure.

Cause of a failure tracked in #3985.

Activity

  1. added
    tend-ci-cause
    on Nov 18, 2026
  2. leaf-agent commented on Nov 18, 2026

    @leaf-agent
    CollaboratorAuthor

    #6325 has merged since this was filed, and it answers the question here. It keeps label as the name Leaf reads and the <strong> as the title the page shows. That is option 1, so #6331 applies it to goals: lf-atlas-task and lf-test-task declare label, and every goal in command-hub and the work tests carries one beside its title. The three goal tests listed above fail on current main and pass on the branch. CI and landing for #6331 are with tend-land. Merging it closes this issue.

    @max-sixty, I've unassigned you because #6325 supplied the decision. If you'd rather goals drop the <strong> (option 2), say so on #6331.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions