Skip to content

MOSIP-45746: Bump apitest-commons to 1.8.0 and add coverage matrix - #609

Open
mohanachandran-s wants to merge 2 commits into
mosip:developfrom
mohanachandran-s:MOSIP-45746-commons-1.8.0-coverage-matrix
Open

mohanachandran-s wants to merge 2 commits into
mosip:developfrom
mohanachandran-s:MOSIP-45746-commons-1.8.0-coverage-matrix

Conversation

@mohanachandran-s

@mohanachandran-s mohanachandran-s commented Nov 12, 2026 •

Copy link
Copy Markdown

Jira: MOSIP-45746

Changes

  • api-test/pom.xml: apitest-commons 1.7.0-SNAPSHOT -> 1.8.0-SNAPSHOT.
  • api-test/src/main/resources/coverage/: coverage matrix bootstrapped with CoverageCli init.
    • 56 matrix files: 4 wired subjects plus 52 planned files, one for every controller endpoint without YAML.
    • 683 rows: 37 automated, 627 not automated, 19 not automatable (each with a reason).
    • legacy-ids.txt: all 244 test cases from the retired Keymanager TC Excel sheet, each mapped to a row.
    • Scenario flows F1-F18 for end-to-end key and crypto behaviour.
    • README section on how authentication works in this module.
  • .github/workflows/coverage-matrix-check.yml: CI caller for the shared coverage-matrix check. It points at mosip/kattu and is disabled (manual dispatch only) until that reusable workflow exists; a kattu PR will follow when the check is enabled.

No YAML, templates, suite XML or Java changed.

Verification

  • CoverageCli check --fail-on-warnings: 0 gaps. 2 possible-duplicate rows are baselined, each with a reason. A second sync writes nothing.
  • Fault-injection checks: orphan uid, duplicate ID, stale report, baseline line without a reason, malformed Story and empty Steps are each detected.
  • Build passes on 1.8.0-SNAPSHOT.
  • Implementation review and independent fresh-context review: both PASS after repair rounds.

Known issues (please read)

  • Regression on commons 1.8.0. The keymanager suite ran on the released env, base (1.7.0) then branch (1.8.0). Base passed 35 of 37 tests, the branch 12 of 37. 23 tests that pass on base fail on the branch, all with KER-KMS-002 (ApplicationId not found in Key Policy), even though the key-policy DB setup logged success in both runs. The root cause is not confirmed. These failures were accepted by the task owner to unblock this PR and need follow-up before relying on 1.8.0. The other 2 failures (GenerateCSR_02, _04) already fail on base.
  • Depends on MOSIP-45746: Add coverage-matrix tooling (CoverageCli) and reusable CI check mosip-functional-tests#2016. The coverage docs and Summary.md here are rendered from that PR's module-neutral templates, so merge #2016 first; running sync/check against older commons regenerates the old text and reports reports-stale. The coverage CI check stays disabled until the kattu workflow exists, so run CoverageCli check locally meanwhile.
  • Planned rows record possible service bugs as ⚠️ Possible bug notes with file:line. Some planned rows expect the product behaviour (for example 401 KER-ATH-401 with no token), so they fail against today's service by design. No defects have been filed.

🤖 Generated with Claude Code

…e matrix

- api-test/pom.xml: apitest-commons 1.7.0-SNAPSHOT -> 1.8.0-SNAPSHOT
- api-test/src/main/resources/coverage/: CoverageCli init + 56 matrix files (4 wired subjects, 52 planned endpoints), 683 rows; 244/244 legacy Excel IDs in legacy-ids.txt; scenario flows F1-F18; README auth section; check-baseline.txt with 2 reasoned entries
- .github/workflows/coverage-matrix-check.yml: CI caller for the shared coverage-matrix check

CoverageCli check --fail-on-warnings: 0 gaps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Mohanachandran S <mohanachandran.s@technoforte.co.in>
@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

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

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI; Enforced overrides: Organization
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: e61cdab9-828c-41d7-b605-f3f1ea361f2d
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

…efresh module docs

The reusable coverage workflow is moving out of mosip-functional-tests (a library repo) into mosip/kattu. The caller now targets mosip/kattu and runs only on manual dispatch until that workflow exists. AGENTS.md and the README tooling section are re-rendered from the module-neutral commons templates; Summary.md is regenerated. Depends on mosip/mosip-functional-tests#2016.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Mohanachandran S <mohanachandran.s@technoforte.co.in>
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