Skip to content

Reconcile develop with master (post-tier promotion + CD strip)#87

Closed
topherwhite wants to merge 4 commits into
developfrom
master
Closed

Reconcile develop with master (post-tier promotion + CD strip)#87
topherwhite wants to merge 4 commits into
developfrom
master

Conversation

@topherwhite
Copy link
Copy Markdown
Member

Summary

Reconciles develop with the recent master state. The two branches have drifted apart for ~weeks because recent PRs went feat → staging → master (or feat → master directly) and never backflowed into develop. Tonight's CD-strip + tier-system + feat work compounded the drift.

Why this PR exists

The cd.yaml in this repo says the deploy chain is develop → staging → master, but the actual chain in practice has been feat → staging → master. As a result, develop is silently behind and any future merge from develop would either revert production state or hit conflict-resolution overhead.

A master → develop reconciliation merge brings the branches back in line without losing anyone's in-flight feature work (no force-push, no rebase). After this lands, anyone branching off develop for new work starts from current production state.

What changes

Merges master into develop. Result: develop's history includes all master commits, plus a merge commit.

If there are local develop-only commits (PRs not yet merged to master), they're preserved by the merge. After this lands, develop may need a CI build to validate the union compiles cleanly.

Risks

  • Low: this is a routine reconciliation. The only common failure mode is if develop has work-in-progress commits that conflict with master's recent changes. Conflicts resolved per the usual convention (preserve newer behaviour from master where features overlap, preserve develop's WIP otherwise).
  • No behavior change in production: master is already what's deployed. This PR doesn't deploy anything.

After this lands

Recommend establishing a convention: open a master → develop reconciliation PR after every staging → master promotion, OR change cd.yaml to drop develop from the documented chain. Choosing one keeps the branches honest.

topherwhite and others added 4 commits May 16, 2026 08:22
Mirrors AWS deploy; reuses rfcx/cicd/.github/workflows/rfcx-local-cd.yaml@master.
See rfcx/rfcx-api commit fc1b78ff for the pattern + initial rollout proof.
The kops production cluster has been declared dead by the operator
(2026-05-18 18:55 EDT). The AWS-targeted `build:` (ECR push) and
`deploy:` (kubectl against KUBE_CONFIG_SUPER) jobs have been
failing-or-soon-to-fail since, and rfcx-local has been the
authoritative production deploy target.

This commit:
- Drops the `build:` job (uses `rfcx/cicd/ecr-build-push.yaml`)
- Drops the `deploy:` job (uses `rfcx/cicd/k8s-deploy.yaml`)
- Updates `notify.needs` to depend only on `deploy-rfcx-local`
- Updates notify status/footer to surface the rfcx-local result

`deploy-rfcx-local` is unchanged: it does its own in-cluster
arm64 build via the self-hosted runner in the `cicd` namespace,
pushes to the in-cluster registry at 192.168.5.1:30500, and rolls
`apps-prod` Deployments via the runner's RBAC. It has no
dependency on the AWS `build:`/`deploy:` jobs.

`prepare:` and `configure:` are kept (still needed for the
branch-name gate on `deploy-rfcx-local` and for notify metadata).

`staging` is left in the on.push.branches trigger; with AWS gone
it's a no-op on staging push (deploy-rfcx-local gates on
namespace==production), which preserves the staging-promotion-PR
workflow.

See https://github.com/evity-squibbon/rfcx-local STATE.md
"AWS / kops decommission status" block for context.
ci(cd): remove AWS build+deploy jobs (kops decommissioned)
Promote staging -> master (AWS CD-strip + feat PRs)
@topherwhite
Copy link
Copy Markdown
Member Author

Routine reconciliation: brings develop in sync with master (single 'Add LICENSE' commit was the only develop-only thing, and master is now ahead of develop by a few commits including tonight's AWS CD strip).

This PR is BLOCKED until an org member with develop branch-protection approval rights approves. CC operator.

@topherwhite
Copy link
Copy Markdown
Member Author

Closing to avoid the delete_branch_on_merge trap (auto-deletes master). Reopening with a topic branch as head instead.

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