Skip to content

test(display-labels-lab): pin labels and target state on read surfaces - #30

Merged
yilmaztayfun merged 1 commit into
masterfrom
feature/display-labels-lab
Oct 3, 2026
Merged

yilmaztayfun merged 1 commit into
masterfrom
feature/display-labels-lab

Conversation

@yilmaztayfun

Copy link
Copy Markdown
Contributor

Summary

Changes

  • core/Workflows/display-labels-lab/ (+ child flow, generator build-display-labels-lab.py),
    core/Views/display-labels-lab/, core/Schemas/display-labels-lab/; the catalog check reuses
    the already-labelled til-cached-echo function.
  • Tests/DisplayLabelsLab (3 tests): state/transition/target/timeout descriptors; view, schema,
    master and catalog labels reached through the state body's own hrefs; the parent describing the
    child's state during the subflow window.
  • Tests/TimeoutLab: reads target.key and asserts that a parent override's target resolves in
    the child's own definition (finish/timeout).
  • TEST-SCENARIOS.md: new row + TimeoutLab status; scenario README.

Test Plan

  • dotnet test tests/Core.IntegrationTests --settings tests/Core.IntegrationTests/test.runsettings --filter "FullyQualifiedName~DisplayLabelsLab"
  • Same for TimeoutLab
  • npm run validate: the new components are valid; the 32 remaining failures are
    pre-existing files.

Integration test evidence

  • Runtime: vnext 0556eda0 + feature/transition-labels-target working tree (= 4e357147) at
    VNEXT_BASE_URL=http://localhost:4201
  • Result: DisplayLabelsLab 3/3, TimeoutLab 4/4; neighbour set 63/65 before the TimeoutLab update
    (the two reds were the string read of timeout.target)
  • TEST-SCENARIOS.md row added/updated: yes

Notes

  • Merge after feat(functions): carry labels and the target state on read surfaces vnext#1070: against an older runtime DisplayLabelsLab is red and
    TimeoutLab's updated assertions fail.
  • The published vnext-schema (0.0.52) requires one Initial state and at least one label per
    transition, so the review states are Initial and every transition is labelled; the "no labels
    ⇒ field omitted" case is pinned by vnext unit tests.

🤖 Generated with Claude Code

New scenario for burgan-tech/vnext-client-sdk-core#43: the state
function describes the displayed state (stateType, stateSubType,
stateLabels) and every transition's target with one object
{ key, stateType, stateSubType, labels, subFlow }, $self resolved; the
timeout block's target uses the same object; the view, schema, master
and catalog functions, followed through the state body's own links,
return their component's labels; during the subflow window the parent
describes the child's state. 3/3 green on the locally built runtime.

TimeoutLab read timeout.target as a string; it now reads target.key and
also asserts that a parent override's target resolves in the child's
own definition (finish/timeout). 4/4 green.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@yilmaztayfun
yilmaztayfun requested review from a team October 2, 2026 22:32
@coldtea-pr-lens

Copy link
Copy Markdown

◈ PR Lens

Note

The title starts with test(display-labels-lab):, so PR Lens left this pull request undrawn. Comment @pr-lens draw to draw it

github.comment.notice: false in .github/pr-lens.yml turns this note off

@coderabbitai

coderabbitai Bot commented Oct 2, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ee6744a9-e451-4cd2-b36e-c19f886377c6
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@yilmaztayfun yilmaztayfun self-assigned this Oct 3, 2026
@yilmaztayfun
yilmaztayfun merged commit 0ba041b into master Oct 3, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant