mesh-build-go: the imports the move added sit in the module group (B5i; issue 1966)

Claude-Session: https://claude.ai/code/session_01NcbgfFSnn24M3GcqttoU7i
This commit is contained in:
2026-11-05 16:06:24 +01:00
parent 8786bb3ba1
commit cfde90906f
58 changed files with 90 additions and 73 deletions
+3 -2
View File
@@ -4,13 +4,14 @@ import (
"context"
"encoding/json"
"fmt"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
trunk "git.novox.be/novox/mesh-delivery/sdk/trunk"
"maps"
"path"
"slices"
"sort"
"strings"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
trunk "git.novox.be/novox/mesh-delivery/sdk/trunk"
)
// **One ask, one whole job** (novox/hq ADR 0525 §3). A build module runs a pulled ask with its own step tools' bodies,
@@ -5,11 +5,12 @@ import (
"encoding/json"
"errors"
"fmt"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"slices"
"strings"
"testing"
"time"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
const runCommit = "0123456789abcdef0123456789abcdef01234567"
@@ -3,7 +3,6 @@ package buildstep
import (
"encoding/json"
"fmt"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"math"
"os"
"runtime"
@@ -11,6 +10,7 @@ import (
"strings"
"git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep/buildcpu"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
// **A build seat's capacity follows the CPU its node gives builds** (issue 1806's follow-up; issue 1890, 2026-10-26
@@ -3,12 +3,12 @@ package conformance
import (
"context"
"encoding/json"
buildrun "git.novox.be/novox/mesh-delivery/sdk/buildrun"
"strings"
"testing"
"time"
"git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep"
buildrun "git.novox.be/novox/mesh-delivery/sdk/buildrun"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
@@ -5,12 +5,13 @@ import (
"encoding/json"
"errors"
"fmt"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"sort"
"strings"
"sync"
"testing"
"time"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
// credentialField is the node runtime's rule for a state value (mesh-tools node-tools/internal/bus/state.go, novox/hq
@@ -3,7 +3,6 @@ package buildstep
import (
"context"
"errors"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"path/filepath"
"reflect"
@@ -12,6 +11,7 @@ import (
"testing"
"git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep/seatgen"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
// contracts writes a contracts module of one seat, its generated files as the generator writes them, and answers its
@@ -13,13 +13,13 @@ import (
"context"
"errors"
"fmt"
builds "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-builder/builds"
"io"
"log"
"slices"
"time"
reg "git.novox.be/novox/mesh-delivery/contracts/go/seats/containerimageregistry"
builds "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-builder/builds"
"git.novox.be/novox/mesh-delivery/sdk/parts"
stdio "git.novox.be/novox/mesh-sdk/go"
)
@@ -5,13 +5,13 @@ import (
"encoding/json"
"errors"
"fmt"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"strings"
"sync"
"testing"
"time"
reg "git.novox.be/novox/mesh-delivery/contracts/go/seats/containerimageregistry"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
// CAT-NR1: a build's publish on a seat says asked, waiting on the seat (on every tick of NarrateEvery while the holder
+2 -1
View File
@@ -2,10 +2,11 @@ package buildstep
import (
"context"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"strings"
"sync"
"time"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
// **A running ask says its phases** (issue 1890, 2026-10-26 19:09: a mesh-catalog try's step on the workstation ran 30 minutes
+2 -2
View File
@@ -5,13 +5,13 @@ import (
"encoding/json"
"errors"
"fmt"
buildrun "git.novox.be/novox/mesh-delivery/sdk/buildrun"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"sort"
"strings"
"sync"
"time"
buildrun "git.novox.be/novox/mesh-delivery/sdk/buildrun"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
stdio "git.novox.be/novox/mesh-sdk/go"
)
+1 -1
View File
@@ -3,10 +3,10 @@ package buildstep
import (
"context"
"fmt"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"sync"
"time"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"github.com/nats-io/nats.go/jetstream"
)
+2 -1
View File
@@ -2,9 +2,10 @@ package buildstep
import (
"context"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"sync"
"time"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
// FakeAsks is a test double of a seat's workers for the build modules' unit tests: Publish puts an ask on a kind's
@@ -4,7 +4,6 @@ package buildstep
import (
"context"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"strings"
"sync"
"testing"
@@ -13,6 +12,7 @@ import (
"github.com/nats-io/nats.go"
"github.com/nats-io/nats.go/jetstream"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"git.novox.be/novox/mesh-sdk/go/testbus"
)
+1 -1
View File
@@ -2,9 +2,9 @@ package buildstep
import (
"context"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"time"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
stdio "git.novox.be/novox/mesh-sdk/go"
)
@@ -2,10 +2,10 @@ package buildstep
import (
"context"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"testing"
"time"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
stdio "git.novox.be/novox/mesh-sdk/go"
)
+2 -2
View File
@@ -5,8 +5,6 @@ import (
"encoding/json"
"errors"
"fmt"
buildrun "git.novox.be/novox/mesh-delivery/sdk/buildrun"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"path/filepath"
"strings"
@@ -15,6 +13,8 @@ import (
"testing"
"time"
buildrun "git.novox.be/novox/mesh-delivery/sdk/buildrun"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
stdio "git.novox.be/novox/mesh-sdk/go"
)
@@ -2,9 +2,10 @@ package buildstep
import (
"context"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"testing"
"time"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
// 1887/A9a, ADR 0525 §10: a build seat's verbs are <seat>.current, .pause and .resume; current names the ask running,
+1 -1
View File
@@ -9,10 +9,10 @@ import (
"encoding/json"
"errors"
"fmt"
buildrun "git.novox.be/novox/mesh-delivery/sdk/buildrun"
"log"
"time"
buildrun "git.novox.be/novox/mesh-delivery/sdk/buildrun"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
+3 -2
View File
@@ -4,11 +4,12 @@ import (
"context"
"encoding/json"
"errors"
buildrun "git.novox.be/novox/mesh-delivery/sdk/buildrun"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"sync"
"testing"
"time"
buildrun "git.novox.be/novox/mesh-delivery/sdk/buildrun"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
// keys is a steps state in memory: every value put, in order, per key, and a signal for each end.
@@ -6,7 +6,6 @@ import (
"context"
"crypto/sha256"
"encoding/hex"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"io"
"net"
"net/http"
@@ -16,6 +15,8 @@ import (
"runtime"
"strings"
"testing"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
// Issue 1589: the build step packs an archive artifact (novox/hq ADR 0478 §1), as the build agent packs it
@@ -4,13 +4,13 @@ import (
"context"
"encoding/json"
"fmt"
checkerseat "git.novox.be/novox/mesh-delivery/contracts/go/seats/meshdeliverychecker"
seat "git.novox.be/novox/mesh-delivery/contracts/go/seats/nodebuildgo"
buildrun "git.novox.be/novox/mesh-delivery/sdk/buildrun"
"path/filepath"
"time"
"git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep"
checkerseat "git.novox.be/novox/mesh-delivery/contracts/go/seats/meshdeliverychecker"
seat "git.novox.be/novox/mesh-delivery/contracts/go/seats/nodebuildgo"
buildrun "git.novox.be/novox/mesh-delivery/sdk/buildrun"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
stdio "git.novox.be/novox/mesh-sdk/go"
)
@@ -4,7 +4,6 @@ package main
import (
"context"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"sync"
"testing"
"time"
@@ -13,6 +12,7 @@ import (
"github.com/nats-io/nats.go/jetstream"
"git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"git.novox.be/novox/mesh-sdk/go/testbus"
)
@@ -2,12 +2,13 @@ package main
import (
"encoding/json"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"path/filepath"
"slices"
"strings"
"testing"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
// writeSiblings records the siblings the fetch placed, as the fetch does.
@@ -9,12 +9,12 @@ package main
import (
"context"
"fmt"
builds "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-builder/builds"
"os"
"path/filepath"
"strings"
"git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep"
builds "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-builder/builds"
"git.novox.be/novox/mesh-sdk/go/catalogue"
)
@@ -7,7 +7,6 @@ import (
"crypto/sha256"
"encoding/hex"
"encoding/json"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"io"
"os"
"path/filepath"
@@ -15,6 +14,7 @@ import (
"strings"
"testing"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"git.novox.be/novox/mesh-sdk/go/forgekey"
)
@@ -3,13 +3,13 @@ package main
import (
"context"
"encoding/json"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"path/filepath"
"slices"
"strings"
"testing"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"git.novox.be/novox/mesh-sdk/go/forgekey"
)
@@ -17,7 +17,6 @@ import (
"encoding/json"
"errors"
"fmt"
catalogclient "git.novox.be/novox/mesh-delivery/contracts/go/clients/meshcatalogclient"
"io"
"os"
"path/filepath"
@@ -27,6 +26,7 @@ import (
"git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep"
"git.novox.be/novox/mesh-contracts/health-and-repair/go/clients/meshconditionsclient"
catalogclient "git.novox.be/novox/mesh-delivery/contracts/go/clients/meshcatalogclient"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"git.novox.be/novox/mesh-delivery/sdk/composer"
stdio "git.novox.be/novox/mesh-sdk/go"
@@ -5,7 +5,6 @@ package main
import (
"context"
"encoding/json"
catalogclient "git.novox.be/novox/mesh-delivery/contracts/go/clients/meshcatalogclient"
"io/fs"
"os"
"os/exec"
@@ -18,6 +17,7 @@ import (
"github.com/nats-io/nats.go/jetstream"
"git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep"
catalogclient "git.novox.be/novox/mesh-delivery/contracts/go/clients/meshcatalogclient"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"git.novox.be/novox/mesh-delivery/sdk/composer"
"git.novox.be/novox/mesh-sdk/go/forgekey"
@@ -4,8 +4,6 @@ import (
"context"
"encoding/json"
"errors"
catalogclient "git.novox.be/novox/mesh-delivery/contracts/go/clients/meshcatalogclient"
meshcat "git.novox.be/novox/mesh-delivery/contracts/go/seats/meshcatalog"
"os"
"path/filepath"
"slices"
@@ -13,6 +11,8 @@ import (
"testing"
"time"
catalogclient "git.novox.be/novox/mesh-delivery/contracts/go/clients/meshcatalogclient"
meshcat "git.novox.be/novox/mesh-delivery/contracts/go/seats/meshcatalog"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"git.novox.be/novox/mesh-delivery/sdk/composer"
"git.novox.be/novox/mesh-sdk/go/forgekey"
@@ -13,8 +13,6 @@ import (
"encoding/json"
"errors"
"fmt"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
trunk "git.novox.be/novox/mesh-delivery/sdk/trunk"
"io"
"io/fs"
"os"
@@ -23,6 +21,9 @@ import (
"sort"
"strconv"
"strings"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
trunk "git.novox.be/novox/mesh-delivery/sdk/trunk"
)
// DigestVersion is the form of the digest's text: changed whenever what the digest hashes changes in kind.
@@ -3,7 +3,6 @@ package main
import (
"context"
"encoding/json"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"path/filepath"
"strings"
@@ -11,6 +10,7 @@ import (
"testing"
"time"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"git.novox.be/novox/mesh-sdk/go/forgekey"
)
@@ -13,7 +13,6 @@ import (
"crypto/sha256"
"encoding/hex"
"fmt"
builds "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-builder/builds"
"io"
"os"
"path/filepath"
@@ -23,6 +22,7 @@ import (
"golang.org/x/mod/module"
modzip "golang.org/x/mod/zip"
builds "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-builder/builds"
"git.novox.be/novox/mesh-sdk/go/catalogue"
)
@@ -9,12 +9,12 @@ package main
import (
"context"
"fmt"
trunk "git.novox.be/novox/mesh-delivery/sdk/trunk"
"os"
"path/filepath"
"slices"
"strings"
trunk "git.novox.be/novox/mesh-delivery/sdk/trunk"
"git.novox.be/novox/mesh-sdk/go/catalogue"
"git.novox.be/novox/mesh-sdk/go/forgekey"
)
@@ -2,7 +2,6 @@ package main
import (
"context"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"path/filepath"
"reflect"
@@ -13,6 +12,7 @@ import (
"time"
"git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep/buildcpu"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"git.novox.be/novox/mesh-sdk/go/forgekey"
"git.novox.be/novox/mesh-sdk/go/health"
)
@@ -3,7 +3,6 @@ package main
import (
"context"
"encoding/json"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"net/url"
"os"
"path/filepath"
@@ -12,6 +11,7 @@ import (
"testing"
"time"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"git.novox.be/novox/mesh-sdk/go/forgekey"
)
@@ -4,7 +4,6 @@ import (
"context"
"encoding/json"
"errors"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"path/filepath"
"slices"
"strings"
@@ -12,6 +11,7 @@ import (
"testing"
"git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"git.novox.be/novox/mesh-sdk/go/forgekey"
)
@@ -2,11 +2,11 @@ package main
import (
"context"
buildrun "git.novox.be/novox/mesh-delivery/sdk/buildrun"
"testing"
"time"
"git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep/conformance"
buildrun "git.novox.be/novox/mesh-delivery/sdk/buildrun"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
@@ -10,7 +10,6 @@ import (
"context"
"encoding/json"
"fmt"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"os/exec"
"path/filepath"
@@ -18,6 +17,7 @@ import (
"time"
"git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
// levelArg is the first argument that makes this binary a step's shut-off process: the integration level's, and, when
@@ -8,13 +8,13 @@ package main
import (
"context"
"fmt"
seat "git.novox.be/novox/mesh-delivery/contracts/go/seats/nodebuildgo"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"os/user"
"strings"
"time"
seat "git.novox.be/novox/mesh-delivery/contracts/go/seats/nodebuildgo"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
stdio "git.novox.be/novox/mesh-sdk/go"
)
@@ -3,8 +3,6 @@ package main
import (
"encoding/json"
"fmt"
"git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"os/exec"
"path/filepath"
@@ -12,6 +10,9 @@ import (
"sync"
"testing"
"time"
"git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
func fetchOnce(t *testing.T, m *Module, states *keptStates, args map[string]any) FetchResult {
@@ -4,12 +4,12 @@ import (
"context"
"encoding/json"
"fmt"
buildrun "git.novox.be/novox/mesh-delivery/sdk/buildrun"
"net/http"
"sync"
"time"
"git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep"
buildrun "git.novox.be/novox/mesh-delivery/sdk/buildrun"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"git.novox.be/novox/mesh-sdk/go/forgekey"
"git.novox.be/novox/mesh-sdk/go/health"
@@ -4,13 +4,13 @@ import (
"context"
"encoding/json"
"errors"
buildstep "git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"strings"
"sync"
"testing"
"time"
buildstep "git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"git.novox.be/novox/mesh-sdk/go/health"
)
@@ -3,11 +3,12 @@
package main
import (
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"path/filepath"
"strings"
"testing"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
// ADR 0499 §4 (issue 1758): a fetch asked with the module's directory and its named paths leaves the workspace holding
@@ -1,10 +1,11 @@
package main
import (
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"slices"
"strings"
"testing"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
// Issue 1309: a test that runs a step in bubblewrap is proof only where it runs. Where a build module judges (it hands
@@ -3,13 +3,13 @@ package main
import (
"context"
"encoding/json"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"path/filepath"
"slices"
"strconv"
"testing"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"git.novox.be/novox/mesh-sdk/go/forgekey"
)
@@ -8,11 +8,12 @@ package main
import (
"context"
"fmt"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"os/exec"
"path/filepath"
"testing"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
// 1148/AC2 as issue 1585 S15 has it (novox/hq ADR 0573 §4): given a forge with a mesh-sdk-like pull request whose branch
@@ -3,7 +3,6 @@ package main
import (
"context"
"encoding/json"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"os/exec"
"path/filepath"
@@ -11,6 +10,7 @@ import (
"sync"
"testing"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"git.novox.be/novox/mesh-sdk/go/forgekey"
)
@@ -7,7 +7,6 @@ package main
import (
"encoding/json"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"os/exec"
"path/filepath"
@@ -16,6 +15,7 @@ import (
"time"
"git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
func git(t *testing.T, dir string, args ...string) string {
@@ -5,12 +5,12 @@ import (
"crypto/sha256"
"encoding/hex"
"encoding/json"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"path/filepath"
"strings"
"testing"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"git.novox.be/novox/mesh-sdk/go/forgekey"
)
@@ -8,8 +8,6 @@ import (
"encoding/hex"
"encoding/json"
"errors"
builds "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-builder/builds"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"path/filepath"
"strings"
@@ -17,6 +15,8 @@ import (
"testing"
registry "git.novox.be/novox/mesh-delivery/contracts/go/seats/containerimageregistry"
builds "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-builder/builds"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
// pushed are the blobs the fake artifact store took, by digest, for the tests that read an archive back.
@@ -7,8 +7,6 @@ package main
import (
"encoding/json"
"fmt"
buildstep "git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"log"
"sort"
"strconv"
@@ -16,6 +14,8 @@ import (
"sync"
"time"
buildstep "git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
stdio "git.novox.be/novox/mesh-sdk/go"
)
@@ -4,13 +4,14 @@ import (
"context"
"encoding/json"
"fmt"
buildstep "git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"slices"
"strings"
"sync/atomic"
"testing"
"time"
buildstep "git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
// fakeState is a state as stored: key to raw value.
@@ -2,7 +2,6 @@ package main
import (
"context"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"path/filepath"
"strings"
@@ -10,6 +9,7 @@ import (
"time"
"git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"git.novox.be/novox/mesh-sdk/go/forgekey"
"git.novox.be/novox/mesh-sdk/go/health"
)
@@ -3,13 +3,14 @@ package main
import (
"encoding/json"
"fmt"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"path/filepath"
"strings"
"sync"
"testing"
"time"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
// threeModules gives the workspace three go.mod directories, a, b and c, whose modules are fixture/a, fixture/b and
@@ -9,7 +9,6 @@ import (
"encoding/hex"
"encoding/json"
"fmt"
builds "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-builder/builds"
"io"
"net/http"
"net/http/httptest"
@@ -25,6 +24,7 @@ import (
_ "github.com/distribution/distribution/v3/registry/storage/driver/inmemory"
registry "git.novox.be/novox/mesh-delivery/contracts/go/seats/containerimageregistry"
builds "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-builder/builds"
"git.novox.be/novox/mesh-sdk/go/catalogue"
)
@@ -3,13 +3,13 @@ package main
import (
"context"
"encoding/json"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"path/filepath"
"strings"
"testing"
"time"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"git.novox.be/novox/mesh-sdk/go/forgekey"
)
@@ -3,13 +3,13 @@ package main
import (
"context"
"encoding/json"
builds "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-builder/builds"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"os"
"path/filepath"
"strings"
"testing"
builds "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-builder/builds"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"git.novox.be/novox/mesh-sdk/go/forgekey"
)
@@ -2,13 +2,14 @@ package main
import (
"context"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
"net"
"net/http"
"net/http/httptest"
"os"
"path/filepath"
"testing"
sdkstep "git.novox.be/novox/mesh-delivery/sdk/buildstep"
)
// releaseXzSHA256 is the sha256 of testdata/upstream-release.tar.xz: the tar stream of upstream-release.tar.gz,