Skip to content

Conversation

@pquentin
Copy link
Member

The existing namespace computation was too naive. We now use this version instead:

export function getNamespace (api) {
  if (api.includes('.')) return api.split('.')[0]
  return 'global'
}

The existing namespace computation was too naive.
@pquentin pquentin requested a review from a team as a code owner June 24, 2025 10:29
@pquentin pquentin added skip-backport This pull request should not be backported backport 8.19 backport 8.18 backport 9.0 and removed skip-backport This pull request should not be backported labels Jun 24, 2025
@pquentin pquentin merged commit bd228bb into main Jun 24, 2025
16 of 17 checks passed
@pquentin pquentin deleted the fix-global-validation branch June 24, 2025 10:33
github-actions bot pushed a commit that referenced this pull request Jun 24, 2025
The existing namespace computation was too naive.

(cherry picked from commit bd228bb)
github-actions bot pushed a commit that referenced this pull request Jun 24, 2025
The existing namespace computation was too naive.

(cherry picked from commit bd228bb)
github-actions bot pushed a commit that referenced this pull request Jun 24, 2025
The existing namespace computation was too naive.

(cherry picked from commit bd228bb)
pquentin added a commit that referenced this pull request Jun 24, 2025
The existing namespace computation was too naive.

(cherry picked from commit bd228bb)

Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
pquentin added a commit that referenced this pull request Jun 24, 2025
The existing namespace computation was too naive.

(cherry picked from commit bd228bb)

Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
pquentin added a commit that referenced this pull request Jun 24, 2025
The existing namespace computation was too naive.

(cherry picked from commit bd228bb)

Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants