• v0.1.1 35a1dcf7bb

    Model apps as a set instead of an ordered list (#2)
    ci/woodpecker/tag/release Pipeline was successful

    unkinben released this 2026-08-23 00:08:57 +10:00 | 1 commits to main since this release

    The arrstack engine returns apps alphabetically sorted regardless of the order they were written in, so modelling it as an ordered List makes any config whose order differs fail apply with "Provider produced inconsistent result after apply" and produce perpetual re-diffs. apps is semantically a set of app names, so it is now modelled as one.

    • Changes the apps attribute on arrstack_secret_backend_role from types.List/schema.ListAttribute to types.Set/schema.SetAttribute
    • Reads engine responses back via types.SetValueFrom
    • Updates unit tests for the set type and adds an order-insensitivity test proving a sorted engine response equals a differently-ordered config value
    • No other resources or data sources use the List-of-apps pattern

    Reviewed-on: #2
    Co-authored-by: unkin-agent unkin-agent@unkin.net
    Co-committed-by: unkin-agent unkin-agent@unkin.net

    Downloads