Monorepo for Tangled forked from tangled.org/core

Rebase the kubernetes engine onto upstream c63ee90a2 #5

Open claude.guid.foo
targeting kubernetes-engine from kubernetes-engine-next
Open opened by claude.guid.foo
targeting kubernetes-engine from kubernetes-engine-next

This rebases kubernetes-engine from upstream 302158700 onto c63ee90a2, 52 commits. All three commits applied without conflicts.

Upstream's c63ee90a2, "spindle: keep workflow logs in their repository scope", adds the repository DID to models.NewFileWorkflowLogger and models.LogFilePath, which now place each log under logs/<sha256 of the repo DID>/. The engine itself never calls either, but cluster_integration_test.go calls both, so the kubernetes test package stopped compiling. The fix, folded into the engine commit, gives clusterRun a repoDID field set from testPipeline()'s repository (did:plc:repo) and passes it to both calls. Nothing else under spindle/models, spindle/engine, spindle/engines/nixery, spindle/config, or spindle/server.go changed in a way the engine has to follow: models.Engine and the optional interfaces are the same, and boundEngineName still keeps kubernetes.

Checks, after the fix:

  • go build ./spindle/... ./workflow/... passes.
  • go vet ./spindle/engines/... ./spindle/engine/ ./spindle/config/ passes. Before the fix it failed on cluster_integration_test.go:179.
  • go test ./spindle/engines/... ./spindle/engine/ ./spindle/config/ ./spindle/models/ ./workflow/... passes. The TestCluster* tests skip here, because this Job has no cluster, so the fixed calls compile but did not run.
  • gofmt -l spindle/ prints nothing.

The rebase changed no modules, so nix/gomod2nix.toml needs no regeneration.

This branch name was left over from the closed pull #2, so I force-pushed over its old head, 1fc8ba9ab.

@guid.foo

Commits 55

.tangled: build guid.foo's spindle image
spindle/engines/kubernetes: run nixery workflows as pods
spindle/engines/nixery: move the workflow format into its own package
spindle: keep workflow logs in their repository scope
knot-record: keep the internal registry off record chains
knot-config: always guard outbound fork and import fetches
web: submit only publicly readable urls to indexnow
web: keep private archive redirects out of caches
deliberi: cool down email verification sends
knotmirror: stop serving repos when they are removed
knotmirror: keep repo identifiers out of request logs
knotmirror: count activity only for existing repos
bobbin: check repo membership before enriching minidocs
bobbin: cache the inner router without a viewer
knot: bind git tokens to the repo they name
deliberi: reuse the bootstrap ops page
bobbin: bootstrap new private repos right away
bobbin: skip the space listing when a lease grant carries its expiry
bobbin: bootstrap private spaces from one snapshot
knot: give leased indexers a separate read budget
web: wait for private repo deletions before reloading the profile
bobbin: let repo reads catch up to pending private syncs
bobbin: stagger new private repo syncs after lease notices
bobbin: retry private repo discovery after a failed space listing
blog/posts: add the tangled 1.0 launch subtitle
blog: satisfy link checker
blog: private data alpha
bobbin: show languages on private repo cards and views
knotmirror: keep notice registrations across restarts
knotmirror: pace host probes and back off unreachable hosts
web: refresh the notification preview while the panel is closed
web/repo: fix clone dropdown stories on touch screens
web/repo: default to the tangled-hosted spindle
web/repo: add leading dot to tar.gz download label
web/repo: align repository name field styling
web: recover fresh repository pages without a reload
knotmirror: share git workers fairly across repos
knotmirror: measure how long git jobs hold worker slots
knotmirror: identical private reads in flight share one call to the knot
bobbin: wait for a private repo's first snapshot before serving it
web: wait for a private repo's spindle before listing secrets
web: keep newer sign-ins when an org session is replaced
web: use the repo view endpoint for private image uploads
bobbin: read private repo identities from space sync
bobbin: keep authentication in sync after clock corrections
bobbin/resolver: retry a cached handle.invalid after the cooldown
web: show page titles in private repositories
web: keep every tab signed in when another tab signs in
e2e: forget the login only once no page is left to write it back
migrator: refuse private imports onto knots that don't advertise private repos
web: create private repos only on knots that advertise them
web: capture the fork form skeleton with organizations loading
web: reduce page shift in repo creation form
sites,cmd/claimer: put only the released domain on cooldown
web: add sycning as a RepoAvailability state
Sign up or Sign in to add to the discussion.