Repository navigation
Tangle v1.1.0
Highlights
Tangle can now diff Applications with several sources (spec.sources). ArgoCD ignores a single target revision for these Applications, so until this release each of them showed an empty diff. You now say which repo the target ref was pushed to. Tangle sends the ref to every source in that repo and leaves every other source at its live revision.
$ tangle-cli generate-manifests --server-address tangle.example.com \
--target-ref "$GITHUB_SHA" \
--target-repo "https://github.com/$GITHUB_REPOSITORY" \
--fail-on-error- Target repos. Pass
--target-repoto the CLI,targetRepoin a Diffs link ortargetReposin the API. It can be repeated when the same branch was pushed to several repos, and any spelling of a repo URL matches (https://,ssh://orgit@host:, with or without.git).--infer-target-repo(inferTargetRepo) lets an Application whose git sources are all in one repo use that repo. - Two new statuses. An Application with no source in a target repo is Not affected: it isn't rendered, it never fails a run, and the UI hides it behind "Show not affected". A multi-source Application with no target repo is Needs target repo, and the response lists the repos it uses.
- In the UI. Target repos are edited next to the target ref, with suggestions from the listed Applications, and are part of the link and the CLI preview. A Needs repo Application offers its candidate repos, and adding one re-runs every diff. A multi-source diff has a Sources panel with the live and target revision of each source, and the Applications page expands a multi-source row to list its sources.
- Failed renders say where the ref went. When ArgoCD can't resolve the target ref, the error names the sources it was sent to, which is usually a repo that doesn't have the ref. (#298)
- API and metrics. The new request and response fields are additive, and every diff counts towards
tangle_diffs_total{argocd,status}.
Single-source Applications behave as before when no target repo is given. See the CLI docs and Usage for the details, and ADR 0032 for the design. (#290, #292, #295)
Upgrade notes
- A pipeline that diffs multi-source Applications with
--fail-on-errornow fails with "needs target repo", where it used to pass with an empty diff. Add--target-repoor--infer-target-repo. pkg/client:GetDiffsWithRetriesno longer retries a 4xx response, which matchesGetApplicationWithRetries.
Bugfixes
- An unknown Argo CD name on the diffs endpoint returned an empty
500. It's now a404with a JSON error, and a malformed request body is a JSON400instead of plain text. Both are documented in the OpenAPI spec. (#300) - Environment overrides didn't reach instances with uppercase letters or
_in their names. Instance names are now matched without regard to case, longest name first, soTANGLE_ARGOCDS_PROD_EU_ADDRESSreaches an instance namedprod_eu. (closes #237, #299) - Applications layout in narrower windows. The toolbar no longer wraps its refresh-period select onto a line of its own, and expanded source rows and the Open in ArgoCD button fit at 1024px. (#301)
- The
tangle-cliHomebrew cask had another project's description. (#284)
Technical Improvements
- SvelteKit 3. The frontend moved to SvelteKit 3 and
adapter-static4, and then from the deprecated$libalias to#libsubpath imports. See ADRs 0029 and 0034. (#259, #303) - Screenshot tests. Playwright compares every main screen, in light and dark, against baselines rendered in a pinned Playwright image, so CI catches visual regressions. The same fixture fleet now generates the README and docs screenshots (
task ts:screenshots), including a new multi-source example. See ADR 0033. (#296, #304) - Live test fixtures for every source type. The e2e stack reads its manifests from tangle-integration-manifests and covers Helm, Kustomize, a Tanka config-management plugin and multi-source Applications across one, two and three repos. The k3d cluster's k3s image is pinned. See ADR 0031. (#285, #286, #287, #291)
- Developer experience. Vitest gets its own SvelteKit output folder, so running tests no longer breaks a running dev server. The devcontainer mounts the host's
ghconfig. Plans are named with their start date. (#288, #297, #302) - Dependency updates, including Node 26, npm 12, Argo CD chart 10.17, Traefik 42, chi 5.5 and koanf 2.4.
Full Changelog: v1.0.1...v1.1.0
