Skip to content

rebrand: secret refs get the workspace when the product keeps the baseline's name - #11

Merged
vijayakrishnans merged 1 commit into
mainfrom
fix/rebrand-secret-ref-same-name
Oct 27, 2026
Merged

vijayakrishnans merged 1 commit into
mainfrom
fix/rebrand-secret-ref-same-name

Conversation

@vijayakrishnans

Copy link
Copy Markdown
Contributor

A product named ai-chatbot (the baseline's own slug) shipped secret://ai-chatbot/ai-chatbot/…: the guard held every bare ai-chatbot before the secret-ref rule ran, so the rule never matched and the workspace segment stayed the repo name. Every job's secret resolve was refused (Ref workspace "ai-chatbot" does not name this run's workspace). Product fix: vijayakrishnans/ai-chatbot#2.

  • tooling/rebrand/rebrand.mjs: the secret-ref rule runs before the guard. Re-running it over its own output writes the same ref, so it needs no guard.
  • testing/rebrand.test.sh: a product named like the baseline gets its workspace in secret refs, through three passes.

Not run locally (syntax-checked only) — CI's testing/rebrand.test.sh is the check. Shipping it needs a new tag and a registry bump in orun-cloud.

🤖 Generated with Claude Code

…eline's name

With reponame === baseline.slug the guard held every bare `ai-chatbot`,
both halves of secret://ai-chatbot/ai-chatbot/ included, so the secret-ref
rule after it never matched. The product shipped the repo as its workspace
and every secret resolve was refused (vijayakrishnans/ai-chatbot#2).

The secret-ref rule now runs before the guard; re-running it over its own
output writes the same ref. rebrand.test.sh gains the case, three passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T11:55:51.426832Z de043df PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@vijayakrishnans
vijayakrishnans merged commit da073f7 into main Oct 27, 2026
5 checks passed
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