Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@flashguerdon
Copy link

@flashguerdon flashguerdon commented Oct 7, 2025

Bug Fixes

Fixes job creation failures when Auth0 user IDs (containing |) are used as label values.

Root Cause

username was injected directly into metadata.labels, violating Kubernetes label rules.

Fix

Added sanitizeLabelValue() in handlers/sanitize.go

Applied sanitization when creating job labels and selectors

Preserved original username in metadata.annotations["gen3.original-username"]

Updated Dockerfile to build correctly in forks and CI (no .git dependency)

Affected actions

Export (e.g. Pelican/PFB)

Import jobs (same label pipeline)

Testing

Verified job creation and status endpoints with Auth0 user IDs.

Improvements

Dependency updates

Deployment changes

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