Objective
Extend the GitHub Actions step summary produced by pick_experiment.cjs to include the experiment description and a link to the tracking issue when the enhanced frontmatter schema (from the companion issue) provides those fields.
Context
Issue #29604 (Area 3 — Step summary enhancements). After the schema enhancement sub-issue lands, pick_experiment.cjs will have access to description and issue fields per experiment. The step summary should surface these so engineers can understand the experiment purpose without reading the workflow YAML.
Approach
- In
actions/setup/js/pick_experiment.cjs, after reading experiment config, check whether config.description or config.issue are present.
- Append to the Markdown step summary:
- A Description row/section:
> {description}
- A Tracking issue link:
[#{issue}](https://github.com/{owner}/{repo}/issues/{issue}) — use the GITHUB_REPOSITORY env var for the repo URL.
- Only emit these extras when the fields are non-empty (backward-compatible with bare-array experiments that have no metadata).
- Run
make fmt-cjs && make lint-cjs to validate JavaScript.
Files to Modify
actions/setup/js/pick_experiment.cjs — extend step summary generation
Acceptance Criteria
Generated by Plan Command for issue #29604 · ● 253.3K · ◷
Objective
Extend the GitHub Actions step summary produced by
pick_experiment.cjsto include the experimentdescriptionand a link to the tracking issue when the enhanced frontmatter schema (from the companion issue) provides those fields.Context
Issue #29604 (Area 3 — Step summary enhancements). After the schema enhancement sub-issue lands,
pick_experiment.cjswill have access todescriptionandissuefields per experiment. The step summary should surface these so engineers can understand the experiment purpose without reading the workflow YAML.Approach
actions/setup/js/pick_experiment.cjs, after reading experiment config, check whetherconfig.descriptionorconfig.issueare present.> {description}[#{issue}](https://github.com/{owner}/{repo}/issues/{issue})— use theGITHUB_REPOSITORYenv var for the repo URL.make fmt-cjs && make lint-cjsto validate JavaScript.Files to Modify
actions/setup/js/pick_experiment.cjs— extend step summary generationAcceptance Criteria
description:field is setissue:field is setmake lint-cjspassesRelated to [ab-advisor] Improve experiment infrastructure: schema, reporting & audit #29604