Skip to content

bump oblast to 0.12.0 - #401

Merged
majewsky merged 1 commit into
masterfrom
oblast-0.12.0
Jul 20, 2026
Merged

bump oblast to 0.12.0#401
majewsky merged 1 commit into
masterfrom
oblast-0.12.0

Conversation

@majewsky

Copy link
Copy Markdown
Contributor

As a breaking change, Select and SelectWhere calls now require the caller to choose whether to receive a slice with all records via .Collect(), or whether to process records in sequence with .Foreach().

In some cases, I went with .Collect() as the easiest option, but many instances lent themselves to being rewritten for performance with .Foreach() or a RuntimeIndex.

As a breaking change, Select and SelectWhere calls now require the caller
to choose whether to receive a slice with all records via `.Collect()`,
or whether to process records in sequence with `.Foreach()`.

In some cases, I went with `.Collect()` as the easiest option, but many
instances lent themselves to being rewritten for performance with
`.Foreach()` or a `RuntimeIndex`.
@majewsky
majewsky requested a review from a team as a code owner July 17, 2026 22:23
@github-actions

Copy link
Copy Markdown

Merging this branch will increase overall coverage

Impacted Packages Coverage Δ 🤖
github.com/sapcc/castellum/internal/api 88.85% (+0.09%) 👍
github.com/sapcc/castellum/internal/tasks 78.33% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/sapcc/castellum/internal/api/assets.go 92.63% (-0.08%) 380 (-4) 352 (-4) 28 👎
github.com/sapcc/castellum/internal/api/errors.go 85.48% (ø) 248 212 36
github.com/sapcc/castellum/internal/api/operations.go 88.89% (+0.34%) 504 (-20) 448 (-16) 56 (-4) 👍
github.com/sapcc/castellum/internal/api/resources.go 91.23% (+0.08%) 456 (+4) 416 (+4) 40 👍
github.com/sapcc/castellum/internal/tasks/resource_scrape.go 73.08% (ø) 208 152 56
github.com/sapcc/castellum/internal/tasks/resource_seed.go 87.93% (ø) 232 204 28

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

@majewsky
majewsky merged commit f985679 into master Jul 20, 2026
6 checks passed
@majewsky
majewsky deleted the oblast-0.12.0 branch July 20, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants