Skip to content

Add context to archival URI validation errors - #11902

Open
vjymisal0 wants to merge 5 commits into
temporalio:mainfrom
vjymisal0:fix/issue-983
Open

vjymisal0 wants to merge 5 commits into
temporalio:mainfrom
vjymisal0:fix/issue-983

Conversation

@vjymisal0

Copy link
Copy Markdown

What changed

  • Wrap history and visibility archival URI validation errors with archival-specific context.
  • Preserve the underlying archiver/provider error in the error chain.
  • Add a regression test for namespace registration returning an underlying archival validation error.

Fixes #983

Validation

  • go test ./service/frontend -run TestNamespaceHandlerCommonSuite/TestRegisterNamespace_InvalidHistoryArchivalURIIncludesUnderlyingError -count=1
  • go test ./service/frontend -run TestNamespaceHandlerCommonSuite -count=1
  • git diff --check

@vjymisal0
vjymisal0 requested a review from a team September 2, 2026 12:54
@vjymisal0
vjymisal0 requested review from a team as code owners September 2, 2026 12:54
@CLAassistant

CLAassistant commented Sep 2, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Resolve import conflict in namespace_handler_test.go by keeping both
errors and maps.

Signed-off-by: vjymisal0 <misalvijay153@gmail.com>

This branch has not been deployed

No deployments
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.

loggging/exception stack trace not capturing underlying errors

2 participants