Skip to content

fix: Adding fix for incorrect archived workflows URL redirection - #14

Closed
v-abhijeets wants to merge 5 commits into
zillow:feature/zgfrom
v-abhijeets:dev-aip-10019
Closed

v-abhijeets wants to merge 5 commits into
zillow:feature/zgfrom
v-abhijeets:dev-aip-10019

Conversation

@v-abhijeets

@v-abhijeets v-abhijeets commented May 28, 2026

Copy link
Copy Markdown
Collaborator

Fixes #AIP-10019

Motivation

With BASE_HREF=/argo-ui/, the UI built URLs like
/argo-ui//archived-workflows/<ns>/<uid> because uiUrl / apiUrl naively concatenated the base href with paths that started with /. Archived-workflow links from train-and-evaluate (job 101830841) redirected to that broken URL.

Modifications

  • ui/src/app/shared/base.ts: added joinBasePath (strips trailing / on base, leading / on path, joins with a single /) and routed uiUrl, uiUrlWithParams, apiUrl through it. Hardened baseUrl() to fall back to / when <base href> is missing.
  • ui/src/app/shared/base.test.ts (new): regression tests covering all combinations of trailing/leading slashes, empty paths, and the original /argo-ui//archived-workflows case.

Verification

  • Pipeline produces three image tags: argo-workflows, argo-server, argoexec (all v3.5.6-<slug>).
  • Paired with aip-k8s-manifests !666, which bumps the argo-server Deployment to the new argo-server tag
  • Re-run of train-and-evaluate in sandbox surfaces /argo-ui/archived-workflows/<ns>/<uid> (no //) and resolves correctly.

@v-abhijeets

Copy link
Copy Markdown
Collaborator Author

Hi, I’ve updated the repo guard changes needed for this PR, but the GitHub Actions workflow is currently blocked because the run requires maintainer approval.

I’m not able to see the repo maintainers from my current access level. Could someone with maintain/admin access please approve the workflow run, or let me know who the right repo owner is for zillow/argo-workflows?

My goal here is to publish a test image from this branch so I can validate the AIP-10019 UI redirect fix in a non-prod environment.

@v-abhijeets v-abhijeets self-assigned this Jun 1, 2026
v-abhijeets and others added 3 commits June 2, 2026 21:08
Signed-off-by: v-abhijeets <v-abhijeets@zillowgroup.com>
Signed-off-by: v-abhijeets <v-abhijeets@zillowgroup.com>
Reverts the earlier GitHub Actions modifications on this branch
(dependabot-reviewer.yml, release.yaml, sdks.yaml) back to their
upstream argoproj-only state, since publishing for the dev branch
will now be driven by .gitlab-ci.yml instead.

Signed-off-by: v-abhijeets <v-abhijeets@zillowgroup.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant