Skip to content

ci: Update coverage workflow #362

Merged
bartek-gralewicz merged 1 commit into
mainfrom
bgralewicz/update_coverage_workflow
Mar 19, 2026
Merged

ci: Update coverage workflow #362
bartek-gralewicz merged 1 commit into
mainfrom
bgralewicz/update_coverage_workflow

Conversation

@bartek-gralewicz
Copy link
Copy Markdown
Contributor

@bartek-gralewicz bartek-gralewicz commented Mar 19, 2026

Description

Modification to code coverage calculation workflow so that the comparison is made against target branch and not main.
This is valuable when PR targets some epic branch. Comparing the coverage with main branch is not accurate if the epic branch already drifted from main.

IMPORTANT NOTE

An attempt to test this change was done on a draft PR: #363 but the coverage comment workflow is executed from the main branch and not from the branch checkout. This means that in order to properly test this functionality in action, it needs to reach main state.

In case any issues occur, I will provide an update to this logic or revert back to the original state.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@bartek-gralewicz bartek-gralewicz marked this pull request as ready for review March 19, 2026 10:08
@bartek-gralewicz bartek-gralewicz requested a review from a team as a code owner March 19, 2026 10:08
@ishymko ishymko changed the title feat: Update coverage workflow ci: Update coverage workflow Mar 19, 2026
@ishymko
Copy link
Copy Markdown
Member

ishymko commented Mar 19, 2026

(replaced feat -> ci to avoid pulling this PR into the changelog by release-please)

@bartek-gralewicz bartek-gralewicz merged commit 2220644 into main Mar 19, 2026
18 checks passed
@bartek-gralewicz bartek-gralewicz deleted the bgralewicz/update_coverage_workflow branch March 19, 2026 10:11
@bartek-gralewicz
Copy link
Copy Markdown
Contributor Author

FYI: The change looks to be working as expected: #363 (comment)

ikubicki pushed a commit to ikubicki/a2a-js that referenced this pull request Mar 19, 2026
# Description

Modification to code coverage calculation workflow so that the
comparison is made against target branch and not `main`.
This is valuable when PR targets some epic branch. Comparing the
coverage with `main` branch is not accurate if the epic branch already
drifted from `main`.

# IMPORTANT NOTE

An attempt to test this change was done on a draft PR: a2aproject#363 but the
coverage comment workflow is executed from the `main` branch and not
from the branch checkout. This means that in order to properly test this
functionality in action, it needs to reach `main` state.

In case any issues occur, I will provide an update to this logic or
revert back to the original state.
bartek-gralewicz added a commit that referenced this pull request Mar 20, 2026
# Description

Applying the same code test coverage comparison changes as on the `main`
branch: #362 .
bartek-gralewicz added a commit that referenced this pull request Mar 23, 2026
# Description

Applying the same code test coverage comparison changes as on the `main`
branch: #362 .
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.

2 participants