Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
f7b1515
feat(plugin): add component configuration protocol and SDK
osterman Oct 29, 2026
dcd46e5
feat(plugin): load and adapt component configuration providers
osterman Oct 29, 2026
b26110a
[autocommit] formatting fixes
atmos-pro[bot] Oct 29, 2026
98c54e2
feat(plugin): wire native Terragrunt discovery and execution
osterman Oct 29, 2026
1ddc34e
feat(terragrunt): add revision-aware affected selection and Starlark …
osterman Oct 30, 2026
f5ab663
test(describe): refresh describe snapshots for the merged Terraform c…
osterman Oct 31, 2026
b0bbf3a
fix(terragrunt): repair CI for the plugin contracts layer
osterman Nov 1, 2026
2fc4697
chore(deps): tidy go.sum after rebasing onto main
osterman Nov 8, 2026
4238aad
fix(validate): validate discovered inventories without a YAML stack d…
osterman Nov 8, 2026
673fd60
ci(plugins): fail when the stacked release base cannot be resolved
osterman Nov 8, 2026
4dcd0f0
fix(plugin): keep declared dependency settings on discovered components
osterman Nov 8, 2026
df30cc4
fix(schema): reserve empty built-in configuration keys
osterman Nov 8, 2026
100554e
test(terragrunt): name each affected scenario and keep its debug stderr
osterman Nov 8, 2026
51acb96
fix(affected): match provider watches across root spellings
osterman Nov 9, 2026
6aa32fd
fix(plugin): keep discovered numbers numeric in describe output
osterman Nov 10, 2026
9cc202d
fix(plugin): keep one caller's cancellation from failing shared disco…
osterman Nov 10, 2026
2907ae0
fix(terragrunt): keep validation status codes from Prepare and Resolve
osterman Nov 10, 2026
73ddc3a
fix(terraform): keep provider artifact names distinct without a CLI c…
osterman Nov 10, 2026
4f6b3b7
test(plugin): assert an explicit empty environment override stays set
osterman Nov 10, 2026
35ff969
fix(affected): pass the command context to configuration initialization
osterman Nov 10, 2026
c4b070e
fix(plugin): treat settings.configuration false as an ordinary component
osterman Nov 11, 2026
d9fffd6
fix(terraform): reject a TF_WORKSPACE that conflicts with the prepare…
osterman Nov 11, 2026
f767975
fix(auth): include discovered units in scoped auth validation
osterman Nov 11, 2026
8d95fc8
fix(terraform): keep generated files away from state and workdir runt…
osterman Nov 11, 2026
66e627a
fix(validate): check discovered definitions against the manifest schema
osterman Nov 11, 2026
16b9f22
Revert "fix(auth): include discovered units in scoped auth validation"
osterman Nov 11, 2026
81f5dce
Merge remote-tracking branch 'origin/test/terraform-lifecycle-field-f…
osterman Nov 11, 2026
b23e0e2
fix(auth): include discovered units in scoped auth validation
osterman Nov 11, 2026
851ed78
test(terraform): verify query initializer cancellation
osterman Nov 11, 2026
596408f
fix(terragrunt): keep backend resolution read-only
osterman Nov 11, 2026
52023ef
test(plugin): cover preparation deadline
osterman Nov 11, 2026
f630689
test(terragrunt): assert discovered fixture dependencies
osterman Nov 11, 2026
7fd032b
fix(affected): scope resolved paths to changed file index
osterman Nov 11, 2026
c0923d3
test(plugin): assert masking for sensitive paths
osterman Nov 11, 2026
7d65e46
fix(terragrunt): serialize stack generation and preparation
osterman Nov 11, 2026
5dc5f8c
fix(terraform): retain structured input sensitivity
osterman Nov 12, 2026
e5a39f1
fix(terragrunt): preserve secret-safe discovery diagnostics
osterman Nov 12, 2026
7830d96
fix: check published plugin versions before merge
osterman Nov 12, 2026
614a50e
fix: revalidate preparation dependencies and restore link checks
osterman Nov 12, 2026
fa5dd7d
fix(terraform): reject state lookup for configuration-owned components
osterman Nov 12, 2026
2957a9e
fix(configuration): own discovery validation and check dependency state
osterman Nov 13, 2026
2a4a787
fix(terragrunt): scope stack generation and preserve unit identities
osterman Nov 13, 2026
ca3c8ba
test(plugin): fold component registry tests into calls tests
osterman Nov 13, 2026
23be87e
Merge published L3 head a485f402bd into feat/component-plugin-contracts
osterman Nov 13, 2026
8853787
fix(terragrunt): preserve native unit overlays and download settings
osterman Nov 14, 2026
34a9168
Merge updated lifecycle fixtures into component plugin contracts
osterman Nov 14, 2026
810430a
Merge remote-tracking branch 'origin/test/terraform-lifecycle-field-f…
osterman Nov 14, 2026
f31f1d3
fix(terragrunt): keep download_dir for backend reads and reject overl…
osterman Nov 14, 2026
1db0b51
feat(plugin): carry file modes through the component contract
osterman Nov 14, 2026
581cfd7
Merge remote-tracking branch 'origin/test/terraform-lifecycle-field-f…
osterman Nov 14, 2026
22b3766
test(plugin): compare the default file mode against a umask-aware ref…
osterman Nov 15, 2026
0121205
fix(terragrunt): keep copied private unit files private
osterman Nov 15, 2026
a21fee6
docs(terragrunt): qualify file-mode behavior on Windows
osterman Nov 15, 2026
2fd707f
Merge branch 'test/terraform-lifecycle-field-fixtures' into feat/comp…
osterman Nov 15, 2026
6bd287b
Merge branch 'test/terraform-lifecycle-field-fixtures' into feat/comp…
osterman Nov 15, 2026
3e64413
Merge branch 'test/terraform-lifecycle-field-fixtures' into feat/comp…
osterman Nov 16, 2026
41dc10f
Merge branch 'test/terraform-lifecycle-field-fixtures' into feat/comp…
osterman Nov 16, 2026
3e150f3
fix(terragrunt): read download_dir without evaluating unrelated inputs
osterman Nov 16, 2026
995e635
fix(terragrunt): preserve directory restrictions on copied credentials
osterman Nov 16, 2026
7862d46
Merge remote-tracking branch 'origin/test/terraform-lifecycle-field-f…
osterman Nov 16, 2026
69b0b1c
Merge remote-tracking branch 'origin/test/terraform-lifecycle-field-f…
osterman Nov 16, 2026
2efba5f
fix(terragrunt): preserve backend download directory input references
osterman Nov 17, 2026
e9a2f04
Merge L3 field-fixture checkpoint into L4 plugin contracts
osterman Nov 17, 2026
b57bdcc
refactor(terragrunt): colocate backend input projection helpers
osterman Nov 17, 2026
672ca77
Merge L3 prerequisite fixes and preserve native Stat errors in L4
osterman Nov 17, 2026
3088f56
refactor(terragrunt): reconcile L4 plugin lint and integrate L3
osterman Nov 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .github/workflows/plugin-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,30 @@ jobs:
add-to-path: 'true'
- uses: ./.github/actions/setup-go-cache
with:
# Official plugins build in their own modules. plugins/terragrunt requires the newest Go in the repository.
go-version-file: plugins/terragrunt/go.mod
cache: 'false'
# A stacked pull request targets its parent branch, so the default comparison base would demand a
# version bump in every layer that touches a package input. Compare such pull requests with the merge
# base of the default branch instead, the same range the whole stack is released against. Pushes and
# pull requests that target the default branch keep the provider's default base.
# The inventory --check also compares packed bytes with any published version in the registry,
# so a child cannot reuse its parent's published version for different package bytes.
- name: Resolve the release comparison base
id: base
if: github.event_name == 'pull_request' && github.event.pull_request.base.ref != github.event.repository.default_branch
env:
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
# Fail rather than fall back to the PR target when the branches share no history.
run: |
base="$(git merge-base HEAD "origin/${DEFAULT_BRANCH}")"
echo "ref=${base}" >> "$GITHUB_OUTPUT"
Comment thread
osterman marked this conversation as resolved.
Resolved
- name: Check plugin releases
env:
GOCACHE: ${{ runner.temp }}/plugin-go-build
GOMODCACHE: ${{ runner.temp }}/plugin-go-mod
run: atmos plugin release --inventory plugins/releases.yaml --check
RELEASE_BASE: ${{ steps.base.outputs.ref }}
run: atmos plugin release --inventory plugins/releases.yaml --check ${RELEASE_BASE:+--base "$RELEASE_BASE"}
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved

release:
needs: check
Expand All @@ -56,6 +74,8 @@ jobs:
add-to-path: 'true'
- uses: ./.github/actions/setup-go-cache
with:
# Official plugins build in their own modules. plugins/terragrunt requires the newest Go in the repository.
go-version-file: plugins/terragrunt/go.mod
cache: 'false'
- name: Publish plugin releases and reconcile the catalog
env:
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/plugin-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- 'sdk/**'
- 'proto/**'
- 'pkg/plugin/**'
- 'plugins/terragrunt/**'
- 'internal/exec/describe_affected*'
- 'pkg/schema/component_configuration.go'
- 'pkg/script/starlark/**'
- 'pkg/generator/templates/plugin-oidc/**'
- 'cmd/plugin/**'
- 'cmd/plugin_oidc_test.go'
Expand All @@ -19,6 +23,35 @@ permissions:
contents: read

jobs:
terragrunt-native:
name: Native Terragrunt (${{ matrix.runner }})
runs-on: ${{ matrix.runner }}
timeout-minutes: 45
strategy:
fail-fast: false
matrix:
runner: [ubuntu-24.04, macos-15, windows-2022]
env:
CGO_ENABLED: "0"
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
with:
persist-credentials: false
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
with:
go-version-file: plugins/terragrunt/go.mod
cache-dependency-path: |
go.sum
plugins/terragrunt/go.sum
plugins/terragrunt/bridge/go.sum
sdk/go.sum
- name: Bootstrap Atmos
run: go build -p=2 -ldflags=-w -o build/atmos.exe .
- name: Build the native Terragrunt plugin
run: ./build/atmos.exe plugin build plugins/terragrunt
- name: Test native evaluation and affected revision discovery
run: ./build/atmos.exe plugin test plugins/terragrunt

contracts:
runs-on: ubuntu-latest
timeout-minutes: 30
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ jobs:
- name: Set up Go
uses: ./.github/actions/setup-go-cache
with:
go-version-file: go.mod
# Use the newest Go any module in the repository requires. plugins/terragrunt requires a newer Go
# than the root module, and go mod tidy runs with GOTOOLCHAIN=local, so a Go taken from the root
# go.mod cannot tidy that module. The newer toolchain still builds the root module.
go-version-file: plugins/terragrunt/go.mod

- name: Install Go tools
env:
Expand Down
8 changes: 8 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,14 @@ BSD LICENSED DEPENDENCIES
License: BSD-3-Clause
URL: https://github.com/virtuald/go-ordered-json/blob/b18e6e673d74/LICENSE

- github.com/vmihailenco/msgpack/v5
License: BSD-2-Clause
URL: https://github.com/vmihailenco/msgpack/blob/v5.4.1/LICENSE

- github.com/vmihailenco/tagparser/v2
License: BSD-2-Clause
URL: https://github.com/vmihailenco/tagparser/blob/v2.0.0/LICENSE

- github.com/yosida95/uritemplate/v3
License: BSD-3-Clause
URL: https://github.com/yosida95/uritemplate/blob/v3.0.2/LICENSE
Expand Down
2 changes: 1 addition & 1 deletion cmd/cmd_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -1945,7 +1945,7 @@ func validateAtmosConfig(opts ...AtmosValidateOption) error {
return err
}

if vCfg.CheckStack {
if vCfg.CheckStack && !atmosConfig.HasComponentDiscovery() {
atmosConfigExists, err := u.IsDirectory(atmosConfig.StacksBaseAbsolutePath)
if !atmosConfigExists || err != nil {
// Return an error with context instead of printing and exiting
Expand Down
5 changes: 5 additions & 0 deletions cmd/describe_stacks.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/cloudposse/atmos/internal/exec"
"github.com/cloudposse/atmos/pkg/auth"
authdeferred "github.com/cloudposse/atmos/pkg/auth/deferred"
"github.com/cloudposse/atmos/pkg/component/configuration"
cfg "github.com/cloudposse/atmos/pkg/config"
"github.com/cloudposse/atmos/pkg/flags"
"github.com/cloudposse/atmos/pkg/schema"
Expand Down Expand Up @@ -70,6 +71,10 @@ func getRunnableDescribeStacksCmd(
return err
}

if err := configuration.Attach(cmd.Context(), &atmosConfig, "stacks"); err != nil {
return err
}

err = g.validateStacks(&atmosConfig)
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion cmd/internal/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func ValidateAtmosConfig(opts ...ValidateOption) error {
return err
}

if vCfg.CheckStack {
if vCfg.CheckStack && !atmosConfig.HasComponentDiscovery() {
atmosConfigExists, err := u.IsDirectory(atmosConfig.StacksBaseAbsolutePath)
if !atmosConfigExists || err != nil {
// Return an error with context instead of printing and exiting.
Expand Down
2 changes: 1 addition & 1 deletion cmd/list/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func initAndExtractComponents(cmd *cobra.Command, args []string, opts *Component
return componentsExtractResult{}, err
}

atmosConfig, err := config.InitCliConfig(configAndStacksInfo, true)
atmosConfig, err := config.InitCliConfigWithContext(cmd.Context(), configAndStacksInfo, true)
if err != nil {
return componentsExtractResult{}, fmt.Errorf("%w: %w", errUtils.ErrInitializingCLIConfig, err)
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/list/instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func executeListInstancesCmd(cmd *cobra.Command, args []string, opts *InstancesO
configAndStacksInfo.SubCommand = "instances"

// Initialize config to create auth manager.
atmosConfig, err := cfg.InitCliConfig(configAndStacksInfo, true)
atmosConfig, err := cfg.InitCliConfigWithContext(cmd.Context(), configAndStacksInfo, true)
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/list/stacks.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ func initStacksConfig(
return schema.AtmosConfiguration{}, nil, err
}

atmosConfig, err := config.InitCliConfig(configAndStacksInfo, true)
atmosConfig, err := config.InitCliConfigWithContext(cmd.Context(), configAndStacksInfo, true)
if err != nil {
return schema.AtmosConfiguration{}, nil, fmt.Errorf("%w: %w", errUtils.ErrInitializingCLIConfig, err)
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/list/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func checkAtmosConfig(cmd *cobra.Command, v *viper.Viper, skipStackCheck ...bool
}

atmosConfigExists, err := u.IsDirectory(atmosConfig.StacksBaseAbsolutePath)
if !atmosConfigExists || err != nil {
if (!atmosConfigExists || err != nil) && !atmosConfig.HasComponentDiscovery() {
return fmt.Errorf("atmos stacks directory not found at: %s", filepath.Join(atmosConfig.BasePath, atmosConfig.Stacks.BasePath))
}

Expand Down
13 changes: 11 additions & 2 deletions cmd/plugin/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,17 @@ func (backend *releaseBackend) Test(ctx context.Context, directory string) error
return conformance.Present(report, err, conformance.FormatText)
}

func (backend *releaseBackend) Pack(_ context.Context, directory, layout string) error {
return pluginoci.Pack(directory, layout, backend.manager.Installer.Descriptors, pluginoci.WithExecutableFormatCheck())
func (backend *releaseBackend) Pack(ctx context.Context, directory, layout string) error {
if err := pluginoci.Pack(directory, layout, backend.manager.Installer.Descriptors, pluginoci.WithExecutableFormatCheck()); err != nil {
return err
}
// Inventory entries always supply a destination. Directory-only checks can
// remain offline unless the caller supplies --to.
destination := backend.values.GetString(publishDestinationFlag)
if backend.values.GetBool(releaseCheckFlag) && destination != "" {
return pluginoci.CheckPublication(ctx, backend.manager.Installer.Registry, layout, destination)
}
return nil
}

func (backend *releaseBackend) Publish(ctx context.Context, layout string) (*pluginoci.Release, error) {
Expand Down
76 changes: 76 additions & 0 deletions cmd/plugin/release_check_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
package plugin

import (
"net/http"
"os"
"path/filepath"
"testing"

"github.com/google/go-containerregistry/pkg/name"
v1 "github.com/google/go-containerregistry/pkg/v1"
"github.com/google/go-containerregistry/pkg/v1/remote/transport"
"github.com/spf13/viper"
"github.com/stretchr/testify/require"
"go.uber.org/mock/gomock"

errUtils "github.com/cloudposse/atmos/errors"
atmosoci "github.com/cloudposse/atmos/pkg/oci"
"github.com/cloudposse/atmos/pkg/plugin/extension"
"github.com/cloudposse/atmos/pkg/plugin/install"
"github.com/cloudposse/atmos/pkg/plugin/manage"
pluginoci "github.com/cloudposse/atmos/pkg/plugin/oci"
)

func TestReleaseCheckPublishedVersion(t *testing.T) {
descriptors := extension.New()
require.NoError(t, descriptors.Register(extension.Descriptor{Capability: "fixture", Path: []string{"fixtures"}, Version: 1, Validate: func(extension.Binding) error { return nil }}))
parentLayout := publicReleaseLayout(t, descriptors)
index, err := atmosoci.LoadIndex(parentLayout, "")
require.NoError(t, err)
parent, err := pluginoci.Inspect(index, "")
require.NoError(t, err)
reference, err := name.NewTag("registry.example.com/example/fixture:1.0.0")
require.NoError(t, err)
missing := &transport.Error{StatusCode: http.StatusNotFound}
for _, test := range []struct {
name string
changed bool
check bool
destination string
registryErr error
wantErr error
}{
{name: "unpublished version", changed: true, check: true, destination: "oci://registry.example.com/example/fixture", registryErr: missing},
{name: "identical published parent", check: true, destination: "oci://registry.example.com/example/fixture"},
{name: "child reuses published parent version", changed: true, check: true, destination: "oci://registry.example.com/example/fixture", wantErr: errUtils.ErrPluginImmutableRelease},
{name: "registry access denied", check: true, destination: "oci://registry.example.com/example/fixture", registryErr: os.ErrPermission, wantErr: os.ErrPermission},
{name: "registry timeout", check: true, destination: "oci://registry.example.com/example/fixture", registryErr: os.ErrDeadlineExceeded, wantErr: os.ErrDeadlineExceeded},
{name: "offline directory", check: true},
{name: "publication checks later", destination: "oci://registry.example.com/example/fixture"},
} {
t.Run(test.name, func(t *testing.T) {
directory := t.TempDir()
require.NoError(t, parent.Extract("linux/amd64", directory))
if test.changed {
binary := filepath.Join(directory, "bin", "plugin")
raw, err := os.ReadFile(binary)
require.NoError(t, err)
require.NoError(t, os.WriteFile(binary, append(raw, []byte("child change")...), 0o755))
}
client := NewMockRegistry(gomock.NewController(t))
if test.check && test.destination != "" {
client.EXPECT().Head(gomock.Any(), reference).Return(&v1.Descriptor{Digest: hashOf(t, parent.Digest)}, test.registryErr)
}
values := viper.New()
values.Set(releaseCheckFlag, test.check)
values.Set(publishDestinationFlag, test.destination)
backend := &releaseBackend{values: values, manager: &manage.Manager{Installer: &install.Service{Registry: client, Descriptors: descriptors}}}
err := backend.Pack(t.Context(), directory, filepath.Join(t.TempDir(), "layout"))
if test.wantErr != nil {
require.ErrorIs(t, err, test.wantErr)
} else {
require.NoError(t, err)
}
})
}
}
4 changes: 3 additions & 1 deletion go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

73 changes: 73 additions & 0 deletions internal/exec/configuration_stacks.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
package exec

import (
"context"
"fmt"
"path/filepath"

"github.com/santhosh-tekuri/jsonschema/v5"

errUtils "github.com/cloudposse/atmos/errors"
"github.com/cloudposse/atmos/pkg/component/configuration"
"github.com/cloudposse/atmos/pkg/schema"
)

// Discovered definitions are literal provider inventory data, so static inspection
// (for example scoped `atmos auth validate`) includes them as well.
func init() {
mergeStaticStacks = mergeConfigurationStacks
}

// mergeConfigurationStacks feeds provider definitions through the ordinary stack compiler.
// The invocation-owned provider retains the caller's cancellation scope.
func mergeConfigurationStacks(config *schema.AtmosConfiguration, stacks map[string]any, raw map[string]map[string]any, contexts AllStacksDeferredContexts) error {
if config.ComponentConfigurations == nil {
return nil
}
discovered, err := config.ComponentConfigurations.Discover(context.Background())
if err != nil {
return err
}
for name, definition := range discovered {
for file, value := range stacks {
existing, _ := value.(map[string]any)
if file == name || existing["name"] == name {
return fmt.Errorf("%w: stack %s", errUtils.ErrDuplicatePluginExtension, name)
}
}
processed, deferred, err := ProcessStackConfig(config, config.StacksBaseAbsolutePath, config.TerraformDirAbsolutePath, config.HelmfileDirAbsolutePath, config.PackerDirAbsolutePath, config.AnsibleDirAbsolutePath, filepath.Join(config.StacksBaseAbsolutePath, name+".yaml"), definition, false, true, "", map[string]map[string][]string{}, map[string]map[string]any{}, false)
if err != nil {
return err
}
stacks[name], raw[name], contexts[name] = processed, definition, deferred
}
return nil
}

// validateDiscoveredManifests adapts the configuration package's manifest validation
// to the stack processor's compiled-schema cache.
func validateDiscoveredManifests(config *schema.AtmosConfiguration, schemaPath string) ([]string, error) {
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
if config.ComponentConfigurations == nil {
return nil, nil
}
discovered, err := config.ComponentConfigurations.Discover(context.Background())
if err != nil {
return nil, err
}
return configuration.ValidateDiscoveredManifests(discovered, func() (*jsonschema.Schema, error) {
return compiledManifestSchema(schemaPath)
})
}

// compiledManifestSchema shares the stack processor's compiled-schema cache.
func compiledManifestSchema(path string) (*jsonschema.Schema, error) {
if compiled, found := getCachedCompiledSchema(path); found {
return compiled, nil
}
compiled, err := configuration.CompileManifestSchema(path)
if err != nil {
return nil, err
}
cacheCompiledSchema(path, compiled)
return compiled, nil
}
Loading
Loading