Commit Graph
10340 Commits
Author SHA1 Message Date
zeekay 4e36746cb4 gitops-engine: rename module path to github.com/hanzoai/deploy/gitops-engine
The fork's engine now declares its real repo path so consumers (cloud
clients/deploy) can require it as a pinned version with NO replace/alias —
resolving the argoproj-path import that could only be satisfied by a filesystem
replace. Parent (github.com/hanzoai/deploy/v3) keeps its local replace onto
./gitops-engine for its own build. 243 files, module-path substitution only.
gitops-engine/v0.7.2
2026-07-18 08:57:17 -07:00
zeekay 37e9bed075 deploy: fold the gitops-engine embedding contract onto the release lineage
The fork was tracked by two Hanzo branches: hanzo/v3.4.5 (the rebranded
release lineage production cuts over to, module github.com/hanzoai/deploy/v3,
builds ghcr.io/hanzoai/deploy) and feat/hanzo-gitops-engine (a doc-only branch
off the unbranded master mirror, still on the argoproj module, carrying one
note about how cloud embeds the gitops-engine submodule for /v1/deploy).

The second branch is not a second rebrand — it never rebranded, never built an
image, and describes cloud's not-yet-wired P2b consumer wiring. Its one durable
fact is the submodule embedding contract: gitops-engine keeps its argoproj
module path (renaming it breaks the parent), and cloud consumes it in-process
via a consumer-side filesystem replace with the k8s pins living on the consumer.

Record that on the release lineage where the fork's operating notes live, scoped
so the version specifics defer to the cloud consumer rather than rot here, and
retire the doc-only branch.
2026-07-17 19:35:09 -07:00
zeekay b06491ae27 deploy: rule that redis stays, and that revocations is not a value
Redis is the store the four processes share, not a cache any of them could
skip. Classified by primitive, SetItem/GetItem/SetNX read as a cache and the
conclusion is that redis is droppable. Classified by who writes and who reads,
argocd-server has no cluster informers and cannot compute a resource tree at
all: the controller writes it, the server reads it, and the two run on
different nodes. Three more flows cross the same boundary, one of them pub/sub,
which twoLevelClient delegates only to the external cache — so an in-memory L1
cannot carry it and InMemoryCache answers OnUpdated with a stub. Record the
flows, and that there is no in-memory path to reach for: an empty --redis
defaults to the redis address, dial errors are not ErrCacheMiss, and a nil
client panics inside Init's goroutines where nothing can recover it.

The revoked token list gets a bound, not a store. Its only writer is logout,
and it holds an entry for exactly as long as the token it revokes, so its whole
job is the gap between logging out and expiring. Redis down preserves the list;
redis flushed empties it, and redis runs here without a PVC, so upstream
already fails open. A store bought to shorten that gap complects session
lifetime with revocation state when setting users.session.duration bounds it
directly, and the durable case — API keys — is already checked against
argocd-cm without redis.

The git-ref SetNX is a real ownership claim, which reading DisableOverwrite as
a cache-write option missed. It is still advisory: the loser of the race
proceeds as owner on timeout, so losing it costs a duplicate ls-remote, not
correctness, and ha has no job here.

Also record that argocd-server writes server.secretkey back into argocd-secret,
which a KMSSecret template that omits it would flap against every resync, and
that the key encrypts the OIDC tokens redis holds.

The rebrand is a substitution, not an artifact: one command reproduces all 627
files byte-for-byte, so it is regenerated when a lineage is adopted rather than
carried on a second branch that rots. master mirrors upstream unbranded and
builds nothing.
2026-07-16 14:59:56 -07:00
zeekay 9162c59e5e deploy: record the lineage split, the OIDC contract, and the redis trade
LLM.md is the doc home, so it carries the things a reader has to know
before touching this fork and cannot infer from the tree:

- the two lineages and why an image from master is not a rebuild of
  v3.4.5, with the merge-base fact that proves it
- that enabling Actions arms upstream's quay.io workflows, and the
  per-workflow disable that must accompany it
- the OIDC contract iam2 implements against, taken from the OIDCConfig
  struct rather than invented, with the claim mapped to the one
  SuperAdmin predicate owner == "admin" via group membership
- that dex is a husk and the real identity hole is admin.enabled=true
- the redis trade written for a decision: what co-residency buys, what it
  costs at repo-server's trust boundary, and the third option
- why the docker.io bases are not repointed yet
2026-07-16 14:03:18 -07:00
zeekay 602fb80517 deploy: state the fork in a NOTICE and build our own image
NOTICE follows the house Hanzo-first pattern: Hanzo CD on top, the fork
stated plainly with the upstream tag and commit it was taken at, then
upstream retained below. Upstream ships no NOTICE, so there is nothing to
propagate under Section 4(d), and LICENSE is their Apache-2.0 text
verbatim. Copyright is claimed only over what we authored; the tree is
overwhelmingly The Argo Authors' work and says so.

hanzo-image.yml publishes ghcr.io/hanzoai/deploy from Hanzo runners. It is
one file, identical on master and on hanzo/**, so the two lineages do not
drift apart in how they build.

Upstream's image.yaml and release.yaml are left untouched. They are
dormant today because GitHub disables workflows on a fork, and only
pages-build-deployment is registered. That dormancy is load-bearing:
image.yaml fires on a push to master and release.yaml on a v* tag, both
onto ubuntu-24.04 runners and both publishing to quay.io/argoproj. Turning
Actions on to run this workflow arms those at the same time, so enabling
must be paired with disabling them per workflow.

The Dockerfile's docker.io build bases are not repointed yet: hanzoai/node
publishes 18.19.0-alpine where the UI build needs 24.x, and
hanzoai/{ubuntu,golang} are private, so their tags cannot be enumerated to
pin them.
2026-07-16 14:02:09 -07:00
zeekay b12fd8cf32 deploy: repoint the Go module path to github.com/hanzoai/deploy/v3
Same mechanical rename as on master, applied to the v3.4.5 release
lineage, which is the code production actually runs. Targets were
re-enumerated against this tree rather than reused from master.

This branch exists so the first Hanzo CD image is a like-for-like
cutover: identical argo-cd code, published from our registry by our CI.
Master is a different lineage — VERSION 3.6.0, 823 commits ahead of
v3.4.5 and missing 98 of its backports — so an image built there would
change the code as well as the registry. Moving the lineage is its own
change, gated separately.

go build ./cmd/... passes before and after the rename.
2026-07-16 13:59:07 -07:00
4bdd42c267 Bump version to 3.4.5 on release-3.4 branch (#28653)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: reggie-k <[email protected]>
v3.4.5 stable
2026-07-09 19:08:02 +03:00
e2869edb09 fix: don't clobber non-ignored fields on "replace" (cherry-pick #27136 for 3.4) (#28507)
Signed-off-by: Blake Pettersson <[email protected]>
Co-authored-by: Blake Pettersson <[email protected]>
2026-06-30 08:59:37 +03:00
Shruti SinghandGitHub 9d49393e9d chore(deps): update Ubuntu base image to 26.04 LTS (3.4) (#28430)
Signed-off-by: suii2210 <[email protected]>
2026-06-25 17:31:29 +02:00
Papapetrou PatroklosandGitHub 31a9533c75 fix: fixes a regression of dex config env vars substituion - Cherry pick of #28369 in 3.4 (#28411)
Signed-off-by: Patroklos Papapetrou <[email protected]>
2026-06-24 15:36:33 +03:00
f586225fb9 fix(ssa): do not run auth reconcile with SSA (cherry pick of #27624 and #27601 to 3.4) (#28265)
Signed-off-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Alexandre Gaudreault <[email protected]>
2026-06-23 08:14:40 -04:00
nmiraschandGitHub 1313c7c000 chore(deps): bump golang.org/x/crypto to 0.53.0 (release-3.4) (#28375)
Signed-off-by: nmirasch <[email protected]>
2026-06-22 12:36:16 +02:00
alexandresavickiandGitHub c0f24ae7bf fix(reposerver): honor depth of referenced source instead of primary source (cherry-pick #28339 for 3.4) (#28341)
Signed-off-by: Alexandre Savicki <[email protected]>
2026-06-18 13:18:20 -04:00
666a7c1b07 fix: deleted resource are incorrectly shown in UI (cherry-pick #28322 for 3.4) (#28337)
Signed-off-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Alexandre Gaudreault <[email protected]>
2026-06-18 05:40:53 -10:00
85726a2ebc fix: auto-sync skipped when newer commit arrives during sync with manifest-generate-paths (#27875) (cherry-pick #28227 for 3.4) (#28331)
Signed-off-by: pepe9012 <[email protected]>
Co-authored-by: pepe9012 <[email protected]>
2026-06-18 12:15:39 +02:00
7052fa22de Bump version to 3.4.4 on release-3.4 branch (#28326)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ppapapetrou76 <[email protected]>
v3.4.4
2026-06-18 11:42:03 +03:00
6a1fd57682 fix: add a lock on clusterinformer (cherry-pick #28216 for 3.4) (#28312)
Signed-off-by: Blake Pettersson <[email protected]>
Co-authored-by: rumstead <[email protected]>
2026-06-17 12:22:52 +03:00
7a0d634272 fix(ssd): regression causing diff to error on new objects (#27679) (cherry-pick #27703 for 3.4) (#28241)
Signed-off-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Alexandre Gaudreault <[email protected]>
2026-06-11 17:25:10 +03:00
3aa606e993 fix: exclude live status from normalization (cherry-pick #28201 for 3.4) (#28204)
Signed-off-by: Blake Pettersson <[email protected]>
Co-authored-by: Blake Pettersson <[email protected]>
2026-06-09 11:19:34 -07:00
Artem VdovinandGitHub 96e2fff3f0 fix(manifest-generate-paths): Normalize repo before using type repo (#28113)
Signed-off-by: Artem Vdovin <[email protected]>
2026-06-09 10:53:08 -04:00
df5161e55d fix(rbac): resolve RBAC regression for project-scoped resources in multi-namespace architecture (#25289) (#26573) (#28062)
Co-authored-by: Tsung-Han Chang <[email protected]>
2026-06-09 10:37:55 -04:00
Papapetrou PatroklosandGitHub 2a95221fb3 fix: fixes parsing of dex passwords with dollar sign (cherry pick of #28027 to 3.4) (#28197)
Signed-off-by: Patroklos Papapetrou <[email protected]>
2026-06-09 15:26:38 +03:00
dudineaandGitHub f96525d690 chore(ci): bump codecov action to 7.0.0 to fix the GPG issue (cherry-pick #28159 for 3.4) (#28172)
Signed-off-by: Eugene Doudine <[email protected]>
2026-06-08 08:21:16 +03:00
dudineaandGitHub 57e3d719a4 Merge pull request #28162 from argoproj/cherry-pick-28158-to-release-3.4
test(e2e): fix cleanup of CRDs for e2e tests (#28157) (cherry-pick #28158 for 3.4)
2026-06-08 00:42:26 +03:00
dudineaandGitHub 367fcb4bda Merge pull request #28164 from argoproj/cherry-pick-28155-to-release-3.4
test(e2e): Add test for second Sync after initial for different resources/options (#28156) (cherry-pick #28155 for 3.4)
2026-06-08 00:27:23 +03:00
dudineaandgithub-actions[bot] cd609b0584 test(e2e): Add test for second Sync after initial for different resources/options (#28156) (#28155)
Signed-off-by: Eugene Doudine <[email protected]>
2026-06-07 18:01:04 +00:00
dudineaandgithub-actions[bot] 6fd81e5739 test(e2e): fix cleanup of CRDs for e2e tests (#28157) (#28158)
Signed-off-by: Eugene Doudine <[email protected]>
2026-06-07 17:59:25 +00:00
096a302542 fix(health): PromotionStrategy stuck Progressing after no-op re-hydration (#28124) (cherry-pick #28125 for 3.4) (#28135)
Signed-off-by: Michael Crenshaw <[email protected]>
Co-authored-by: Michael Crenshaw <[email protected]>
2026-06-04 10:05:19 -04:00
358d156de9 fix: resolve cross-generator Values templates in RenderGeneratorParams (#27827) (cherry-pick #27830 for 3.4) (#28128)
Signed-off-by: Patroklos Papapetrou <[email protected]>
Co-authored-by: Papapetrou Patroklos <[email protected]>
2026-06-04 13:43:02 +03:00
c53641213a ci: use github release notes in goreleaser (cherry-pick #28048 for 3.4) (#28071)
Signed-off-by: reggie-k <[email protected]>
Co-authored-by: Regina Voloshin <[email protected]>
2026-05-31 11:57:35 +03:00
2c5874493d ci: bump goreleaser (cherry-pick #28033 for 3.4) (#28072)
Signed-off-by: Blake Pettersson <[email protected]>
Co-authored-by: Blake Pettersson <[email protected]>
2026-05-31 11:56:16 +03:00
89ae8a40aa Bump version to 3.4.3 on release-3.4 branch (#28045)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: blakepettersson <[email protected]>
v3.4.3
2026-05-28 13:30:41 +02:00
bb5be6a915 fix: honor repo depth setting in gitSourceHasChanges and fetch functions (cherry-pick #27838 for 3.4) (#28043)
Signed-off-by: Alexandre Savicki <[email protected]>
Co-authored-by: alexandresavicki <[email protected]>
Co-authored-by: Cursor <[email protected]>
2026-05-28 13:21:23 +02:00
2f4b23880d fix: nil-check (cherry-pick #28039 for 3.4) (#28040)
Signed-off-by: Blake Pettersson <[email protected]>
Co-authored-by: Blake Pettersson <[email protected]>
Co-authored-by: Soumya Ghosh Dastidar <[email protected]>
2026-05-27 23:50:48 -10:00
5d3f0b92e9 fix(gitops-engine): fix nil pointer dereference error in removeWebookMutation() (cherry-pick #27749 for 3.4) (#28031)
Signed-off-by: Pierre Guinoiseau <[email protected]>
Co-authored-by: Pierre Guinoiseau <[email protected]>
2026-05-27 22:52:06 +02:00
178f69842f fix(ui): don't prefetch errors (#27877) (cherry-pick #27925 for 3.4) (#28024)
Signed-off-by: Blake Pettersson <[email protected]>
Co-authored-by: Blake Pettersson <[email protected]>
2026-05-27 00:10:19 -10:00
9924dc31a6 fix(ui): return full source for non-hydrator apps in Parameters tab (cherry-pick #26946 for 3.4) (#27964)
Signed-off-by: himeshp <[email protected]>
Signed-off-by: Gabriel Barreto <[email protected]>
Co-authored-by: himeshp <[email protected]>
2026-05-21 21:56:39 +02:00
Alka KumariandGitHub 6edb1e28b9 chore(deps): bump redoc/dompurify to v3.4.0 in /ui for fixing CVE-2026-41240(cherry-pick 3.4) (#27913)
Signed-off-by: Alka Kumari <[email protected]>
2026-05-19 10:04:31 -04:00
jheydukandGitHub 01376c0656 fix(cli): return immediately from 'app wait' when app is already in desired state (#12211) (#27503) (#27713)
Signed-off-by: Jörg Heyduk <[email protected]>
2026-05-14 10:50:26 +03:00
da128e6965 fix: prevent InvalidSpecError race in application controller startup (cherry-pick #27672 for 3.4) (#27845)
Signed-off-by: Michele Baldessari <[email protected]>
Co-authored-by: Michele Baldessari <[email protected]>
2026-05-13 22:42:30 +02:00
1fb4380262 fix: truncate labels for deletion hook resources (cherry-pick #27542 for 3.4) (#27714)
Signed-off-by: choejwoo <[email protected]>
Co-authored-by: Jaewoo Choi <[email protected]>
2026-05-13 21:59:41 +02:00
134e54f697 fix(lint): unnecessary nesting (cherry-pick #27815 for 3.4) (#27817)
Signed-off-by: Michael Crenshaw <[email protected]>
Co-authored-by: Michael Crenshaw <[email protected]>
2026-05-12 20:55:41 -04:00
c5bbc61974 Bump version to 3.4.2 on release-3.4 branch (#27812)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: crenshaw-dev <[email protected]>
v3.4.2
2026-05-12 16:31:52 -04:00
Blake PetterssonandGitHub 06772fe81f Merge commit from fork 2026-05-12 15:16:21 -04:00
Peter JiangandGitHub 96df0c9d71 Merge commit from fork
* fix: remove last-applied-annotation from predicted and live for comparison

Signed-off-by: Peter Jiang <[email protected]>
(cherry picked from commit e15ac5feebb52d60c41f7911d3b96139d5f4ce06)

* retry merge

Signed-off-by: Peter Jiang <[email protected]>

---------

Signed-off-by: Peter Jiang <[email protected]>
Signed-off-by: Peter Jiang <[email protected]>
2026-05-12 14:37:36 -04:00
Nitish KumarandGitHub 54090a5742 chore: bump otel/sdk to 1.43.0 (release-3.4) (#27806)
Signed-off-by: nitishfy <[email protected]>
2026-05-12 05:53:47 -10:00
3b6dc88216 fix: Revert "fix: avoid calling UpdateRevisionForPaths unnecessary (#25151)" (cherry-pick #27241 for 3.4) (#27251)
Co-authored-by: Alexander Matyushentsev <[email protected]>
2026-05-11 03:29:19 -10:00
ddd7d7eaa6 fix(gitops-engine): apply HideSecretData to server-side diff results for Secrets (cherry-pick #27598 for 3.4) (#27754)
Signed-off-by: downfa11 <[email protected]>
Signed-off-by: Peter Jiang <[email protected]>
Signed-off-by: Peter Jiang <[email protected]>
Co-authored-by: Peter Jiang <[email protected]>
Co-authored-by: downfa11 <[email protected]>
2026-05-08 10:40:54 -04:00
e772ab17e2 fix: prevent panic on nil APIResource in permission validator (cherry-pick #26610 for 3.4) (#27752)
Signed-off-by: Andy Lo-A-Foe <[email protected]>
Co-authored-by: Andy Lo-A-Foe <[email protected]>
2026-05-08 01:26:20 -10:00
argo-cd-cherry-pick-bot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5e899a92b7 chore(deps): bump github.com/moby/spdystream from 0.5.0 to 0.5.1 (cherry-pick #27401 for 3.4) (#27734)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-07 17:15:11 +02:00