Skip to content

test(integration): skip crypto-* cases; the crypto API is intentionally disabled - #204

Merged
pacificcode merged 1 commit into
mainfrom
test/skip-crypto-integration
Sep 30, 2026
Merged

pacificcode merged 1 commit into
mainfrom
test/skip-crypto-integration

Conversation

@pacificcode

@pacificcode pacificcode commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

The required dsv-cli.tests.integration check has failed on every PR since Feb 2026 because of the crypto cases. That's why recent PRs (e.g. #203) needed admin bypass.

Why

The DSV crypto API (EaaS, /v1/crypto/*) is intentionally disabled server-side. An API Gateway MOCK integration returns 403 on /v1/crypto/{proxy+} on dev (2026-02-06/12) and in all four prod regions (2026-02-20). Tom Dillenbeck confirmed (2026-09-29) he added it after a security finding; the feature had no customer usage. Every crypto-manual-* case gets a 403 from the edge and fails.

Change

  • cicd-integration/integration_test.go: cases named crypto-* call t.Skip(...) with the reason, so they show as SKIP in the output instead of vanishing. That's the 6 cases: 5 EaaS-Manual + crypto-manual-key-delete in cleanup. No other case depends on them. Re-enabling is deleting the guard.
  • changie entry.

The CLI's crypto commands are unchanged; only the integration test stops expecting the server to answer.

Companion change for the backend acceptance tests: api-bambe PR 228980 (ADO).

Testing

go vet ./cicd-integration/ and gofmt: clean. The real verification is this PR's dsv-cli.tests.integration run against the dev tenant: expect the crypto-* subtests as SKIP and everything else as PASS.

🤖 Generated with Claude Code

AB#767047

…ly disabled

The DSV crypto API (EaaS, /v1/crypto/*) is blocked on purpose: an API
Gateway MOCK integration returns 403 on dev (2026-02-06/12) and in all
four prod regions (2026-02-20), added after a security finding (Tom
Dillenbeck; the feature had no customer usage). Every crypto-manual-*
case therefore fails, which has kept the required
dsv-cli.tests.integration check red on every PR since Feb 2026.

Skip the 6 crypto-* cases (5 EaaS-Manual + key-delete in cleanup) with
t.Skip and an explanation, so they report as SKIP rather than vanish;
re-enabling is deleting the guard. No other case depends on them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@snyk-io

snyk-io Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ changie entry was found

@codecov

codecov Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 47.47%. Comparing base (a2521eb) to head (07b4c00).
⚠️ Report is 133 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #204       +/-   ##
===========================================
+ Coverage   32.61%   47.47%   +14.86%     
===========================================
  Files          80       87        +7     
  Lines       10855    11914     +1059     
===========================================
+ Hits         3540     5656     +2116     
+ Misses       7027     5981     -1046     
+ Partials      288      277       -11     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jonbos
jonbos self-requested a review September 29, 2026 20:32
@pacificcode
pacificcode merged commit 71fc71c into main Sep 30, 2026
16 of 17 checks passed
@pacificcode
pacificcode deleted the test/skip-crypto-integration branch September 30, 2026 16:06
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