Skip to content

chore: add runtime integration tests#1443

Draft
kabaros wants to merge 6 commits into
masterfrom
runtime-integration-tests
Draft

chore: add runtime integration tests#1443
kabaros wants to merge 6 commits into
masterfrom
runtime-integration-tests

Conversation

@kabaros

@kabaros kabaros commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

No description provided.

kabaros and others added 2 commits June 22, 2026 21:22
…bugs

- Add integration/ workspace: Docker stack (DHIS2 2.43 + nginx + PostgreSQL),
  Vitest test suite (DataEngine queries, PAT lifecycle, HTTP 414 alias,
  CRUD mutations), shared helpers, and one-command local runner
- Fix query alias mechanism in RestAPILink: add missing POST method, send
  root-relative target (/api/...) instead of absolute URL, normalize
  returned href to the configured baseUrl origin
- Add CI integration-test job (master + workflow_dispatch only) with Slack
  notification to #team-extensibility-notifications

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
needs: [integration-test]
if: "always() && needs.integration-test.result != 'skipped' && (github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master')"
steps:
- uses: rtCamp/action-slack-notify@v2
kabaros and others added 4 commits June 23, 2026 12:38
… trigger

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…uest

The Fetch API defaults a string body to text/plain, causing DHIS2 to
return HTTP 415 Unsupported Media Type when creating a query alias.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
5 New issues
C Security Rating on New Code (required ≥ A)
4 New Code Smells (required ≤ 0)
1 New Vulnerabilities (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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