Tags: OpenSLO/go-sdk
Tags
chore(deps-dev): bump markdownlint-cli from 0.44.0 to 0.45.0 (#27) Bumps [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) from 0.44.0 to 0.45.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/igorshubovych/markdownlint-cli/releases">markdownlint-cli's releases</a>.</em></p> <blockquote> <h2>v0.45.0</h2> <ul> <li>Update <code>markdownlint</code> dependency to <code>0.38.0</code> <ul> <li>Add <code>MD059</code>/<code>descriptive-link-text</code></li> <li>Improve <code>MD025</code>/<code>MD027</code>/<code>MD036</code>/<code>MD038</code>/<code>MD041</code>/<code>MD043</code>/<code>MD045</code>/<code>MD051</code>/<code>MD052</code></li> <li>Remove support for end-of-life Node version 18</li> </ul> </li> <li>Update all dependencies via <code>Dependabot</code></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/igorshubovych/markdownlint-cli/commit/192ad822316c3a22fb3d3cc8aa6eafa0b8488360"><code>192ad82</code></a> Bump version 0.45.0</li> <li><a href="https://github.com/igorshubovych/markdownlint-cli/commit/f6225d248f5c6e9fbe6881bf7d9bc694e0d05613"><code>f6225d2</code></a> Bump nano-spawn from 0.2.0 to 1.0.1</li> <li><a href="https://github.com/igorshubovych/markdownlint-cli/commit/1b8554a99ca28ba8c00316562ae05aaf10b26b8c"><code>1b8554a</code></a> Add released Node version 24 to CI workflow.</li> <li><a href="https://github.com/igorshubovych/markdownlint-cli/commit/836379fe25a8d5ab9c5070c53128c0b53c7a69b5"><code>836379f</code></a> Remove optional constant fs.R_OK</li> <li><a href="https://github.com/igorshubovych/markdownlint-cli/commit/1a19ddb7c9a71e5f5662f20d65aecb43f44bd4d8"><code>1a19ddb</code></a> Bump minimatch from 9.0.5 to 10.0.1</li> <li><a href="https://github.com/igorshubovych/markdownlint-cli/commit/5033e1e5d2141e954c5b431a3b12ed2552561aa4"><code>5033e1e</code></a> Pass newly-required markdownItFactory option to markdownlint.</li> <li><a href="https://github.com/igorshubovych/markdownlint-cli/commit/b7e47f88b25aa17c8382294c01dd61de79312ef7"><code>b7e47f8</code></a> Bump markdownlint from 0.37.4 to 0.38.0</li> <li><a href="https://github.com/igorshubovych/markdownlint-cli/commit/c3fa9f554b684d3417cad0bd98a47b8f42d52f05"><code>c3fa9f5</code></a> Bump glob from 10.4.5 to 11.0.2</li> <li><a href="https://github.com/igorshubovych/markdownlint-cli/commit/b983f6114c1eb6ba9723576315f27166d3acbd77"><code>b983f61</code></a> Remove support for end-of-life Node.js version 18.</li> <li><a href="https://github.com/igorshubovych/markdownlint-cli/commit/8878ef034f2ef96559e28f2a70865aae8ebb4960"><code>8878ef0</code></a> Bump ignore from 7.0.3 to 7.0.4</li> <li>Additional commits viewable in <a href="https://github.com/igorshubovych/markdownlint-cli/compare/v0.44.0...v0.45.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mateusz Hawrus <mateusz.hawrus@nobl9.com>
chore(deps-dev): bump cspell from 8.18.1 to 8.19.2 (#19) Bumps [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell) from 8.18.1 to 8.19.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/streetsidesoftware/cspell/releases">cspell's releases</a>.</em></p> <blockquote> <h2>v8.19.2</h2> <h2>Changes</h2> <h2>Fixes</h2> <!-- raw HTML omitted --> <h3>fix: improve eslint plugin perf (<a href="https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell/issues/7199">#7199</a>)</h3> <p>Do not send the AST to the worker thread.</p> <p>This changed the local test from 8.4 seconds to 6 seconds.</p> <p>Adjusting the WalkTree function got it down to less than 5 seconds.</p> <p>Related to <a href="https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell/issues/6999">#6999</a></p> <hr /> <!-- raw HTML omitted --> <h2>v8.19.1</h2> <h2>Changes</h2> <h2>Fixes</h2> <!-- raw HTML omitted --> <h3>fix: Workaround picomatch bug (<a href="https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell/issues/7195">#7195</a>)</h3> <p>fixes <a href="https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell/issues/7194">#7194</a></p> <hr /> <!-- raw HTML omitted --> <h2>Dictionary Updates</h2> <!-- raw HTML omitted --> <h3>fix: Workflow Bot -- Update Dictionaries (main) (<a href="https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell/issues/7190">#7190</a>)</h3> <h1>Update Dictionaries (main)</h1> <h2>Summary</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell/CHANGELOG.md">cspell's changelog</a>.</em></p> <blockquote> <h2>8.19.2 (2025-04-20)</h2> <p><strong>Note:</strong> Version bump only for package cspell</p> <h2>8.19.1 (2025-04-18)</h2> <p><strong>Note:</strong> Version bump only for package cspell</p> <h2>8.19.0 (2025-04-16)</h2> <p><strong>Note:</strong> Version bump only for package cspell</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/streetsidesoftware/cspell/commit/f630ececa8cd91420aaaaa81c4ad910039457a06"><code>f630ece</code></a> v8.19.2</li> <li><a href="https://github.com/streetsidesoftware/cspell/commit/d293a8bb69689eccd5b7b9dc5c40432480da3954"><code>d293a8b</code></a> ci: Workflow Bot -- Update ALL Dependencies (main) (<a href="https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell/issues/7202">#7202</a>)</li> <li><a href="https://github.com/streetsidesoftware/cspell/commit/66fdb8ff1cfb93b5c90c93ad7fbbcc91df39cc2b"><code>66fdb8f</code></a> v8.19.1</li> <li><a href="https://github.com/streetsidesoftware/cspell/commit/5ff4cf3fa85916df2c81ebe534f9886428aab6f5"><code>5ff4cf3</code></a> fix: Workaround picomatch bug (<a href="https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell/issues/7195">#7195</a>)</li> <li><a href="https://github.com/streetsidesoftware/cspell/commit/ebfecabea342ba34ee368178f3864a7a194936d5"><code>ebfecab</code></a> v8.19.0</li> <li>See full diff in <a href="https://github.com/streetsidesoftware/cspell/commits/v8.19.2/packages/cspell">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fix: Fix validation for v1 and v2alpha SLO objectives (#18) The OpenSLO spec defines `op` and `value` as `thresholdMetric` specific fields. Initially I chose not to implement any complex validation for these two fields as SLI can be either inlined, in which case we CAN validate them, or referenced, in which case we CANNOT do that. This PR addresses this technical debt, since we already have capabilities to inline and export referenced objects freely, thanks to #17, we should harden the validation when an SLI is inlined.
feat: Add fine grained control over reference resolution (#17) When working with AlertPolicy or SLO we might want to only resolve (either inline or export) specific dependency objects. For instance, Nobl9 does not have a separate SLI object and requires the SLO to have it inlined, but at the same time it expects AlertNotificaitonTarget to be a separate entity (it maps directly to Nobl9 AlertMethod object). Due to these requirements some objects need to be inlined why others exported before a conversion between OpenSLO and Nobl9 can be achieved. In order to aid in meeting such more complex requirements we're introducing `ReferenceConfig` struct which gives fine-grained control to the `openslosdk` user when both inlining and exporting object dependencies.
feat: Add objects inlining and separating utilities (#14) Many of our objects support two flavors of dependencies, we can either inline the dependency object OR we can define it as a separate entity and reuse it freely, referencing it by name. While this feature gives freedom to the end users it comes with a toil for implementations as they need to take care of the object reference resolution. The goal of this PR is to introduce utility functions which would allow both inlining of referenced objects and separating inlined objects definitions.
chore(deps-dev): bump cspell from 8.17.5 to 8.18.1 (#11) Bumps [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell) from 8.17.5 to 8.18.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/streetsidesoftware/cspell/releases">cspell's releases</a>.</em></p> <blockquote> <h2>v8.18.1</h2> <h2>Changes</h2> <h2>Fixes</h2> <!-- raw HTML omitted --> <h3>fix: Issue with stdin and .gitignore (<a href="https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell/issues/7086">#7086</a>)</h3> <p>fixes <a href="https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell/issues/7084">#7084</a></p> <hr /> <!-- raw HTML omitted --> <h2>v8.18.0</h2> <h2>Changes</h2> <h2>Features</h2> <!-- raw HTML omitted --> <h3>feat: Support URLs in cspell-gitignore (<a href="https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell/issues/7079">#7079</a>)</h3> <hr /> <!-- raw HTML omitted --> <h2>Fixes</h2> <!-- raw HTML omitted --> <h3>fix: Remove deprecated default setting <code>enabledLanguageIds</code>. (<a href="https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell/issues/6971">#6971</a>)</h3> <p>Fixes the underlying cause of <a href="https://redirect.github.com/streetsidesoftware/vscode-spell-checker/issues/4159">streetsidesoftware/vscode-spell-checker#4159</a></p> <hr /> <!-- raw HTML omitted --> <h2>Dictionary Updates</h2> <!-- raw HTML omitted --> <h3>fix: Workflow Bot -- Update Dictionaries (main) (<a href="https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell/issues/7028">#7028</a>)</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell/CHANGELOG.md">cspell's changelog</a>.</em></p> <blockquote> <h2><!-- raw HTML omitted -->8.18.1 (2025-03-29)<!-- raw HTML omitted --></h2> <ul> <li>ci: Workflow Bot -- Update ALL Dependencies (main) (<a href="https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell/issues/7087">#7087</a>) (<a href="https://github.com/streetsidesoftware/cspell/commit/b570457">b570457</a>), closes <a href="https://redirect.github.com/streetsidesoftware/cspell/issues/7087">#7087</a></li> </ul> <h2>8.18.0 (2025-03-26)</h2> <ul> <li>ci: Workflow Bot -- Update ALL Dependencies (main) (<a href="https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell/issues/7080">#7080</a>) (<a href="https://github.com/streetsidesoftware/cspell/commit/b9d57a1">b9d57a1</a>), closes <a href="https://redirect.github.com/streetsidesoftware/cspell/issues/7080">#7080</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/streetsidesoftware/cspell/commit/4d647f52891c3300221ff9b2341b0474f68b30b5"><code>4d647f5</code></a> v8.18.1</li> <li><a href="https://github.com/streetsidesoftware/cspell/commit/b57045753efd8d72656b702d4fe434c40b5a8930"><code>b570457</code></a> ci: Workflow Bot -- Update ALL Dependencies (main) (<a href="https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell/issues/7087">#7087</a>)</li> <li><a href="https://github.com/streetsidesoftware/cspell/commit/37b9ffdb6b300caafa3af7f0bc4129f67aef5cb9"><code>37b9ffd</code></a> fix: Issue with stdin and .gitignore (<a href="https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell/issues/7086">#7086</a>)</li> <li><a href="https://github.com/streetsidesoftware/cspell/commit/6c7297918e9ff4f1c4fa1501d119d58bf4ce2237"><code>6c72979</code></a> v8.18.0</li> <li><a href="https://github.com/streetsidesoftware/cspell/commit/c7052ce7c2a12cd8421d620b491adf6cd8850765"><code>c7052ce</code></a> test: Work on speeding up tests (<a href="https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell/issues/7067">#7067</a>)</li> <li><a href="https://github.com/streetsidesoftware/cspell/commit/62dbbd7f137be92837a5c034d8dee47196aabfcb"><code>62dbbd7</code></a> fix: Workflow Bot -- Update Dictionaries (main) (<a href="https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell/issues/7024">#7024</a>)</li> <li><a href="https://github.com/streetsidesoftware/cspell/commit/84c18330133155ff74d2d1d4fcf79ae60d79cc62"><code>84c1833</code></a> test: Move test options to the right place. (<a href="https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell/issues/6969">#6969</a>)</li> <li>See full diff in <a href="https://github.com/streetsidesoftware/cspell/commits/v8.18.1/packages/cspell">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
PreviousNext