Skip to content

ci(TESTS): expand live API verification assertions in workflow#1541

Merged
TheLastCicada merged 3 commits into
v2-rc2from
ci/expand-live-api-verification-tests
Mar 19, 2026
Merged

ci(TESTS): expand live API verification assertions in workflow#1541
TheLastCicada merged 3 commits into
v2-rc2from
ci/expand-live-api-verification-tests

Conversation

@TheLastCicada

@TheLastCicada TheLastCicada commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds additional verify_field checks in the GitHub Actions live API test job for V1 and V2 generic testing data (projects, units, methodologies, programs, stakeholders, labels).

Notes

  • Branched from v2-rc2
  • YAML validated with js-yaml

Note

Low Risk
Low risk since changes are confined to GitHub Actions test assertions, though they may increase CI brittleness if API responses or test data drift.

Overview
Tightens the GitHub Actions live API verification steps by adding many more field-level assertions for V2 and V1 endpoints (projects, units, methodologies/programs/stakeholders/labels, locations/validations/verifications/issuances, estimations/ratings, and AEF tables).

Improves debuggability of failures by printing concise raw API response summaries, tracking FAILED_FIELDS, emitting per-entity JSON dumps only when new mismatches occur, and standardizing a final failure summary output.

Written by Cursor Bugbot for commit 3791f7f. This will update automatically on new commits. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment thread .github/workflows/tests.yaml Outdated
Add raw API response summaries, entity-level JSON dumps on failure,
and failure field tracking to all verification steps in both V1 and
V2 remote sync test jobs. When a field assertion fails, the full
entity JSON is dumped for debugging and a summary of all failed
field names is shown at the end.
…ync tests

U1 and U2 had their unitItmosReferenceId expected values swapped.
@TheLastCicada TheLastCicada merged commit 0ddcc27 into v2-rc2 Mar 19, 2026
23 of 24 checks passed
@TheLastCicada TheLastCicada deleted the ci/expand-live-api-verification-tests branch March 19, 2026 21:19
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.

1 participant