ctrf-io / ctrf-io/github-test-reporter
Previous Runs no longer have correct build information associated with them
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 376
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
It appears the changes introduced in https://github.com/ctrf-io/github-test-reporter/pull/190 had the side effect of no longer populating the build info on the previous reports.
Specifically this change
The effect is the the environment is no longer populated with the run details to provide the buildId, buildName, buildNumber and buildUrl
This routine needs to be added back in and updated to store the info in environment directly (as opposed to environment.extra)
As contrary to the TODO comment, it is not duplication, as it pulls the information from a different source (workflow run vs GithubContext)
Example:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting PR #190 and the two referenced commit diffs to find the routine that populates environment data for previous reports. Restore the workflow-run details in environment, including buildId, buildName, buildNumber, and buildUrl, then verify that previous reports display the correct build information.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100