Skip to content

[automated] Publish an attempt-labeled outerloop TRX bundle - #22317

Draft
Ankit Jain (radical) wants to merge 2 commits into
mainfrom
copilot/publish-combined-trx-artifact
Draft

Ankit Jain (radical) wants to merge 2 commits into
mainfrom
copilot/publish-combined-trx-artifact

Conversation

@radical

@radical Ankit Jain (radical) commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Description

Outerloop results are currently split across per-job artifacts, making reruns difficult to distinguish and results tedious to collect. Add a combined bundle labeled with the workflow run and attempt, while making reused or missing lane results visible.

  • Bundle: Publish TRX files by project, OS, and source attempt, with a manifest reporting each expected lane’s status.
  • Provenance: Mark results as current, inherited, unknown, or missing. A rerun’s bundle may include results from earlier attempts.
  • Compatibility: Keep existing logs-* artifact names and add metadata to identify the attempt that produced each Outerloop artifact.

Example manifest entry:

{
  "project": "Hosting.Tests",
  "os": "ubuntu-latest",
  "sourceStatus": "inherited",
  "sourceAttempt": 1,
  "trxStatus": "present"
}

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@radical Ankit Jain (radical) changed the title [WIP] Publish combined TRX artifact for attempt-labeled test results [automated] Publish an attempt-labeled outerloop TRX bundle Nov 16, 2026
@aspire-repo-bot
aspire-repo-bot Bot requested a balanced review from Copilot November 16, 2026 17:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The metadata step is skipped after test or hang-dump failures while artifact uploads still run, leaving failed-lane artifacts without provenance and causing their TRX files to be labeled unknown.

1 open issue

Review effort: Balanced

run: ./eng/scripts/ci-resource-monitor.ps1 -Mode Stop -OutputDirectory "${{ github.workspace }}/artifacts/log/test-logs/resource-monitor"

- name: Write test artifact metadata
if: ${{ inputs.includeArtifactMetadata }}
@github-actions

Copy link
Copy Markdown
Contributor

Tests selector

Selects the full PR test matrix + all PR-gated jobs (ALL) — a rule matching '.github/workflows/run-tests.yml' selects ALL


Selection computed for commit 8036c67.

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@radical Ankit Jain (radical) added the cif-pr Pull request managed by the CIF CI automation group label Nov 17, 2026

This branch has not been deployed

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

Labels

cif-pr Pull request managed by the CIF CI automation group

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[automated] Publish an attempt-labeled outerloop test-results bundle

3 participants