Code review comment: Tags should match the version number.

Code under review:
public void maintain() {
        DeploymentTester tester = new DeploymentTester();
        ArtifactExpirer expirer = new ArtifactExpirer(tester.controller(), Duration.ofDays(1));
        ArtifactRegistryMock registry = tester.controllerTester().serviceRegistry().artifactRegistry(CloudName.defaultName()).orElseThrow();

        Instant instant = tester.clock().instant();
        Artifact image0 = new Artifact("image0", "registry.example.com", "vespa/vespa", "7.4", instant, Version.fromString("7.1"));
        Artifact image1 = new Artifact("image1", "registry.example.com", "vespa/vespa", "7.4-amd64", instant, Version.fromString("7.2"));
        Artifact image2 = new Artifact("image2", "registry.example.com", "vespa/vespa", "7.4-amd64", instant, Version.fromString("7.4"));
        registry.add(image0)
                .add(image1)
                .add(image2);

        
        tester.controllerTester().upgradeSystem(image1.version());

        
        expirer.maintain();
        assertEquals(List.of(image0, image1, image2), registry.list());

        
        tester.clock().advance(Duration.ofDays(1));
        expirer.maintain();
        assertEquals(List.of(image0, image1, image2), registry.list());

        
        tester.clock().advance(Duration.ofDays(13).plus(Duration.ofSeconds(1)));
        expirer.maintain();
        assertEquals(List.of(image1, image2), registry.list());

        
        Artifact image3 = new Artifact("image3", "registry.example.com", "vespa/vespa", "7.3-arm64", tester.clock().instant(), Version.fromString("7.3"));
        registry.add(image3);
        tester.controllerTester().upgradeSystem(image3.version());
        expirer.maintain();
        assertEquals(List.of(image3, image2), registry.list());
    }

Line commented on: Artifact image1 = new Artifact("image1", "registry.example.com", "vespa/vespa", "7.4-amd64", instant, Version.fromString("7.2"));

Revised code:
public void maintain() {
        DeploymentTester tester = new DeploymentTester();
        ArtifactExpirer expirer = new ArtifactExpirer(tester.controller(), Duration.ofDays(1));
        ArtifactRegistryMock registry = tester.controllerTester().serviceRegistry().artifactRegistry(CloudName.defaultName()).orElseThrow();

        Instant instant = tester.clock().instant();
        Artifact image0 = new Artifact("image0", "registry.example.com", "vespa/vespa", "7.1", instant, Version.fromString("7.1"));
        Artifact image1 = new Artifact("image1", "registry.example.com", "vespa/vespa", "7.2-amd64", instant, Version.fromString("7.2"));
        Artifact image2 = new Artifact("image2", "registry.example.com", "vespa/vespa", "7.4-amd64", instant, Version.fromString("7.4"));
        registry.add(image0)
                .add(image1)
                .add(image2);

        
        tester.controllerTester().upgradeSystem(image1.version());

        
        expirer.maintain();
        assertEquals(List.of(image0, image1, image2), registry.list());

        
        tester.clock().advance(Duration.ofDays(1));
        expirer.maintain();
        assertEquals(List.of(image0, image1, image2), registry.list());

        
        tester.clock().advance(Duration.ofDays(13).plus(Duration.ofSeconds(1)));
        expirer.maintain();
        assertEquals(List.of(image1, image2), registry.list());

        
        Artifact image3 = new Artifact("image3", "registry.example.com", "vespa/vespa", "7.3-arm64", tester.clock().instant(), Version.fromString("7.3"));
        registry.add(image3);
        tester.controllerTester().upgradeSystem(image3.version());
        expirer.maintain();
        assertEquals(List.of(image3, image2), registry.list());
    }