INNER CODE UNIT · Java

sizesFor

starlake-ai/starflow · src/main/java/Setup.java:309

    private static Map<String, Long> sizesFor(List<Artifact> artifacts) {
        return SL_FORCE_DOWNLOAD ? new java.util.HashMap<>() : probeAll(artifacts);
    }

    private static final String SCALA_VERSION = getEnv("SCALA_VERSION").orElse("2.13");

    // STARLAKE. SL_VERSION is the single source of truth for the core jar.
    // If SL_VERSION env var is not set, fetch the latest release from GitHub.
    private static final String SL_VERSION = getEnv("SL_VERSION").orElse(getLatestGithubRelease());
    // SL_API_VERSION defaults to the LATEST patch release published in SL_VERSION's own
    // major.minor line (e.g. SL_VERSION=1.8.0 -> the newest available 1.8.x), not to SL_VERSION
    // itself: the API ships inside core releases (one release = one core jar + one API zip, same
    // tag) but is patched more often, so a user pinned to an older core patch should still get
    // that branch's newest API build rather than being stuck on the exact core patch's API.
    // starlake-api releases in lockstep with core (same tag, same version, see
    // scripts/local-release.sh), so the api version is simply the core version unless overridden.
    private static final String SL_API_VERSION = getEnv("SL_API_VERSION").orElse(SL_VERSION);

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…