public static Map<String, String> labels(RunContext runContext, String prefix) {
        return labels(runContext, prefix, true, false);
    }
@Test
    void labels() {
        var runContext = runContext(runContextFactory, "very.very.very.very.very.very.very.very.very.very.very.very.long.namespace");

        var labels = ScriptService.labels(runContext, "kestra.io/");
        assertThat(labels.size(), is(6));
        assertThat(labels.get("kestra.io/namespace"), is("very.very.very.very.very.very.very.very.very.very.very.very.lon"));
        assertThat(labels.get("kestra.io/flow-id"), is("flowId"));
        assertThat(labels.get("kestra.io/task-id"), is("task"));
        assertThat(labels.get("kestra.io/execution-id"), is("executionId"));
        assertThat(labels.get("kestra.io/taskrun-id"), is("taskrun"));
        assertThat(labels.get("kestra.io/taskrun-attempt"), is("0"));

        labels = ScriptService.labels(runContext, null, true, true);
        assertThat(labels.size(), is(6));
        assertThat(labels.get("namespace"), is("very.very.very.very.very.very.very.very.very.very.very.very.lon"));
        assertThat(labels.get("flow-id"), is("flowid"));
        assertThat(labels.get("task-id"), is("task"));
        assertThat(labels.get("execution-id"), is("executionid"));
        assertThat(labels.get("taskrun-id"), is("taskrun"));
        assertThat(labels.get("taskrun-attempt"), is("0"));
    }