Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

CI/CD: a branch without a review namespace now shows orange, not red

Closed Beginner friendly
#94 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-2 days
Newbie friendliness
78/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
github-actions, kubernetes

Research direction

Start with content/6.deployment/3.ci-cd.md and inspect the k8s.sh function table, using components-web-app commit 5b6a953 as the behavior reference. Update the Review Apps and function documentation, and check whether a GitHub Actions page needs the warning annotation and skipped steps. Done means the orange-versus-red behavior, namespace creation, unchanged staging/production behavior, and listed functions are accurately documented.

Written by the indexing model from the issue text.

Description

components-web-app 5b6a953 changes what the review job does on a branch that has no namespace. content/6.deployment/3.ci-cd.md needs updating.

What changed

  • Before: ensure_namespace failed and the pipeline went red on every branch nobody had provisioned a namespace for, which was nearly all of them. A red pipeline said nothing, and a real deploy failure looked the same.
  • Now: the review job runs skip_review_without_namespace first.
    • When the namespace is missing (the API returns NotFound or Forbidden), it exits 3, and the job's allow_failure: exit_codes: [3] shows the pipeline orange ("passed with warnings").
    • A deploy that really fails, and any other kubectl error (an unreachable cluster, a bad context), is still red.
  • Staging, canary and production are unchanged: a missing namespace there still fails hard.
  • GitHub Actions has no orange state. The review job adds a warning annotation and skips its deploy, fixtures and warm steps.

Pages

  • Review Apps section: "Every branch (except main) gets its own Kubernetes namespace" isn't accurate. A branch gets a review environment only once someone creates its namespace, with role bindings. Say what orange means, and how to create a namespace for a branch that needs one.
  • The k8s.sh function table: add skip_review_without_namespace and review_namespace_state, and note that ensure_namespace is still what staging and production use.
  • GitHub Actions page, if there is one: the warning annotation and the skipped steps.
Dominant language
Vue
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from components-web-app/docs

All issues in components-web-app/docs

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.