Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 1.1.0 to 1.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/open-policy-agent/opa/releases">github.com/open-policy-agent/opa's releases</a>.</em></p> <blockquote> <h2>v1.3.0</h2> <p>This release contains a mix of features, bugfixes, and dependency updates.</p> <h3>New Buffer Option for Decision Logs (<a href="https://redirect.github.com/open-policy-agent/opa/issues/5724">#5724</a>)</h3> <p>A new, optional, buffering mechanism has been added to decision logging. The default buffer is designed around making precise memory footprint guarantees, which can produce lock contention at high loads, negatively impacting query performance. The new event-based buffer is designed to reduce lock contention and improve performance at high loads, but sacrifices the memory footprint guarantees of the default buffer.</p> <p>The new event-based buffer is enabled by setting the <code>decision_logs.reporting.buffer_type</code> <a href="https://www.openpolicyagent.org/docs/latest/configuration/#decision-logs">configuration option</a> to <code>event</code>.</p> <p>For more details, see the decision log plugin <a href="https://github.com/open-policy-agent/opa/blob/main/v1/plugins/logs/README.md">README</a>.</p> <p>Reported by <a href="https://github.com/mjungsbluth"><code>@mjungsbluth</code></a>, authored by <a href="https://github.com/sspaink"><code>@sspaink</code></a></p> <h3>OpenTelemetry: HTTP Support and Expanded Batch Span Configuration (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7412">#7412</a>)</h3> <p>Distributed tracing through OpenTelemetry has been extended to support HTTP collectors (enabled by setting the <code>distributed_tracing.type</code> configuration option to <code>http</code>). Additionally, configuration has been expanded with fine-grained batch span processor <a href="https://www.openpolicyagent.org/docs/latest/configuration/#distributed-tracing">options</a>.</p> <p>Authored and reported by <a href="https://github.com/sqyang94"><code>@sqyang94</code></a></p> <h3>Runtime, Tooling, SDK</h3> <ul> <li>compile: Require multi-term entrypoint paths for optimized bundle building (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7321">#7321</a>) authored by <a href="https://github.com/johanfylling"><code>@johanfylling</code></a> reported by <a href="https://github.com/nikpivkin"><code>@nikpivkin</code></a></li> <li>fmt: Allow one liner rule grouping (<a href="https://redirect.github.com/open-policy-agent/opa/issues/6760">#6760</a>) authored by <a href="https://github.com/anderseknert"><code>@anderseknert</code></a></li> <li>fmt: Fix v0-compatible fmt with stdin (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7409">#7409</a>) authored and reported by <a href="https://github.com/charlieegan3"><code>@charlieegan3</code></a></li> <li>ir: Fix nil pointer deref in Unmarshal() when handling IsSetStmt (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7415">#7415</a>) authored and reported by <a href="https://github.com/KrisKennawayDD"><code>@KrisKennawayDD</code></a></li> <li>planner: Fix Wasm vs non-Wasm evaluation difference bug related to the overeager optimization of ref head rules (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7439">#7439</a>) authored by <a href="https://github.com/srenatus"><code>@srenatus</code></a></li> <li>sdk: Removing repeat args from sub-func call (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7443">#7443</a>) authored by <a href="https://github.com/alingse"><code>@alingse</code></a></li> <li>tester: Including parameterized test cases in test report counter (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7407">#7407</a>) authored by <a href="https://github.com/johanfylling"><code>@johanfylling</code></a></li> <li>tester: Only including failed sub-test cases in report summary when non-verbose (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7426">#7426</a>) authored by <a href="https://github.com/johanfylling"><code>@johanfylling</code></a></li> </ul> <h3>Docs, Website, Ecosystem</h3> <ul> <li>docs: Add some notes about AI assisted patches (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7436">#7436</a>) authored by <a href="https://github.com/charlieegan3"><code>@charlieegan3</code></a></li> <li>docs: Add query_parameters_to_set (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7405">#7405</a>) authored by <a href="https://github.com/sedovmik"><code>@sedovmik</code></a></li> <li>docs: Delete reference to license key in Envoy tutorial (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7466">#7466</a>) authored by <a href="https://github.com/joostholslag"><code>@joostholslag</code></a></li> <li>docs: Fix typo in Envoy tutorial (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7464">#7464</a>) authored by <a href="https://github.com/joostholslag"><code>@joostholslag</code></a></li> <li>docs: Update slack inviter link (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7450">#7450</a>) authored by <a href="https://github.com/charlieegan3"><code>@charlieegan3</code></a></li> <li>docs: Update terraform examples (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7429">#7429</a>) authored by <a href="https://github.com/charlieegan3"><code>@charlieegan3</code></a></li> <li>docs: Simplify <code>kind</code> usage instruction in Envoy tutorial (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7465">#7465</a>) authored by <a href="https://github.com/joostholslag"><code>@joostholslag</code></a></li> </ul> <h3>Miscellaneous</h3> <ul> <li>Enable unused-receiver linter (revive) (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7448">#7448</a>) authored by <a href="https://github.com/anderseknert"><code>@anderseknert</code></a></li> <li>Dependency updates; notably: <ul> <li>build(deps): bump github.com/containerd/containerd from 1.7.26 to 1.7.27</li> <li>build(deps): bump github.com/dgraph-io/badger/v4 from 4.5.1 to 4.6.0</li> <li>build(deps): bump github.com/opencontainers/image-spec from 1.1.0 to 1.1.1</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md">github.com/open-policy-agent/opa's changelog</a>.</em></p> <blockquote> <h2>1.3.0</h2> <p>This release contains a mix of features, bugfixes, and dependency updates.</p> <h3>New Buffer Option for Decision Logs (<a href="https://redirect.github.com/open-policy-agent/opa/issues/5724">#5724</a>)</h3> <p>A new, optional, buffering mechanism has been added to decision logging. The default buffer is designed around making precise memory footprint guarantees, which can produce lock contention at high loads, negatively impacting query performance. The new event-based buffer is designed to reduce lock contention and improve performance at high loads, but sacrifices the memory footprint guarantees of the default buffer.</p> <p>The new event-based buffer is enabled by setting the <code>decision_logs.reporting.buffer_type</code> <a href="https://www.openpolicyagent.org/docs/latest/configuration/#decision-logs">configuration option</a> to <code>event</code>.</p> <p>For more details, see the decision log plugin <a href="https://github.com/open-policy-agent/opa/blob/main/v1/plugins/logs/README.md">README</a>.</p> <p>Reported by <a href="https://github.com/mjungsbluth"><code>@mjungsbluth</code></a>, authored by <a href="https://github.com/sspaink"><code>@sspaink</code></a></p> <h3>OpenTelemetry: HTTP Support and Expanded Batch Span Configuration (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7412">#7412</a>)</h3> <p>Distributed tracing through OpenTelemetry has been extended to support HTTP collectors (enabled by setting the <code>distributed_tracing.type</code> configuration option to <code>http</code>). Additionally, configuration has been expanded with fine-grained batch span processor <a href="https://www.openpolicyagent.org/docs/latest/configuration/#distributed-tracing">options</a>.</p> <p>Authored and reported by <a href="https://github.com/sqyang94"><code>@sqyang94</code></a></p> <h3>Runtime, Tooling, SDK</h3> <ul> <li>compile: Require multi-term entrypoint paths for optimized bundle building (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7321">#7321</a>) authored by <a href="https://github.com/johanfylling"><code>@johanfylling</code></a> reported by <a href="https://github.com/nikpivkin"><code>@nikpivkin</code></a></li> <li>fmt: Allow one liner rule grouping (<a href="https://redirect.github.com/open-policy-agent/opa/issues/6760">#6760</a>) authored by <a href="https://github.com/anderseknert"><code>@anderseknert</code></a></li> <li>fmt: Fix v0-compatible fmt with stdin (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7409">#7409</a>) authored and reported by <a href="https://github.com/charlieegan3"><code>@charlieegan3</code></a></li> <li>ir: Fix nil pointer deref in Unmarshal() when handling IsSetStmt (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7415">#7415</a>) authored and reported by <a href="https://github.com/KrisKennawayDD"><code>@KrisKennawayDD</code></a></li> <li>planner: Fix Wasm vs non-Wasm evaluation difference bug related to the overeager optimization of ref head rules (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7439">#7439</a>) authored by <a href="https://github.com/srenatus"><code>@srenatus</code></a></li> <li>sdk: Removing repeat args from sub-func call (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7443">#7443</a>) authored by <a href="https://github.com/alingse"><code>@alingse</code></a></li> <li>tester: Including parameterized test cases in test report counter (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7407">#7407</a>) authored by <a href="https://github.com/johanfylling"><code>@johanfylling</code></a></li> <li>tester: Only including failed sub-test cases in report summary when non-verbose (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7426">#7426</a>) authored by <a href="https://github.com/johanfylling"><code>@johanfylling</code></a></li> </ul> <h3>Docs, Website, Ecosystem</h3> <ul> <li>docs: Add some notes about AI assisted patches (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7436">#7436</a>) authored by <a href="https://github.com/charlieegan3"><code>@charlieegan3</code></a></li> <li>docs: Add query_parameters_to_set (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7405">#7405</a>) authored by <a href="https://github.com/sedovmik"><code>@sedovmik</code></a></li> <li>docs: Delete reference to license key in Envoy tutorial (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7466">#7466</a>) authored by <a href="https://github.com/joostholslag"><code>@joostholslag</code></a></li> <li>docs: Fix typo in Envoy tutorial (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7464">#7464</a>) authored by <a href="https://github.com/joostholslag"><code>@joostholslag</code></a></li> <li>docs: Update slack inviter link (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7450">#7450</a>) authored by <a href="https://github.com/charlieegan3"><code>@charlieegan3</code></a></li> <li>docs: Update terraform examples (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7429">#7429</a>) authored by <a href="https://github.com/charlieegan3"><code>@charlieegan3</code></a></li> <li>docs: Simplify <code>kind</code> usage instruction in Envoy tutorial (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7465">#7465</a>) authored by <a href="https://github.com/joostholslag"><code>@joostholslag</code></a></li> </ul> <h3>Miscellaneous</h3> <ul> <li>Enable unused-receiver linter (revive) (<a href="https://redirect.github.com/open-policy-agent/opa/pull/7448">#7448</a>) authored by <a href="https://github.com/anderseknert"><code>@anderseknert</code></a></li> <li>Dependency updates; notably: <ul> <li>build(deps): bump github.com/containerd/containerd from 1.7.26 to 1.7.27</li> <li>build(deps): bump github.com/dgraph-io/badger/v4 from 4.5.1 to 4.6.0</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="89f4835395
"><code>89f4835</code></a> Prepare v1.3.0 release (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7467">#7467</a>)</li> <li><a href="ee38d8345f
"><code>ee38d83</code></a> docs/envoy-tutorial-standalone: simplify 'kind' usage instruction (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7465">#7465</a>)</li> <li><a href="3d3b45f752
"><code>3d3b45f</code></a> Delete reference to license key in envoy-tutorial-standalone-envoy.md (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7466">#7466</a>)</li> <li><a href="004af4c644
"><code>004af4c</code></a> docs/envoy-tutorial-standalone: fix typo (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7464">#7464</a>)</li> <li><a href="cd66fa36e2
"><code>cd66fa3</code></a> feat: new event-based decisions log buffer implementation (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7446">#7446</a>)</li> <li><a href="c8febc8625
"><code>c8febc8</code></a> feat: add more distributed tracing options (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7421">#7421</a>)</li> <li><a href="b3b87ffd83
"><code>b3b87ff</code></a> fmt: allow one liner rule grouping (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7453">#7453</a>)</li> <li><a href="92ae9a014f
"><code>92ae9a0</code></a> build(deps): bump github.com/containerd/containerd from 1.7.26 to 1.7.27 (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7451">#7451</a>)</li> <li><a href="f3de1006f9
"><code>f3de100</code></a> docs: Update slack inviter link (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7450">#7450</a>)</li> <li><a href="bd5ceb5142
"><code>bd5ceb5</code></a> Enable unused-receiver linter (revive) (<a href="https://redirect.github.com/open-policy-agent/opa/issues/7448">#7448</a>)</li> <li>Additional commits viewable in <a href="https://github.com/open-policy-agent/opa/compare/v1.1.0...v1.3.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>
Coder enables organizations to set up development environments in their public or private cloud infrastructure. Cloud development environments are defined with Terraform, connected through a secure high-speed Wireguard® tunnel, and automatically shut down when not used to save on costs. Coder gives engineering teams the flexibility to use the cloud for workloads most beneficial to them.
- Define cloud development environments in Terraform
- EC2 VMs, Kubernetes Pods, Docker Containers, etc.
- Automatically shutdown idle resources to save on costs
- Onboard developers in seconds instead of days
Quickstart
The most convenient way to try Coder is to install it on your local machine and experiment with provisioning cloud development environments using Docker (works on Linux, macOS, and Windows).
# First, install Coder
curl -L https://coder.com/install.sh | sh
# Start the Coder server (caches data in ~/.cache/coder)
coder server
# Navigate to http://localhost:3000 to create your initial user,
# create a Docker template and provision a workspace
Install
The easiest way to install Coder is to use our
install script for Linux
and macOS. For Windows, use the latest ..._installer.exe
file from GitHub
Releases.
curl -L https://coder.com/install.sh | sh
You can run the install script with --dry-run
to see the commands that will be used to install without executing them. Run the install script with --help
for additional flags.
See install for additional methods.
Once installed, you can start a production deployment with a single command:
# Automatically sets up an external access URL on *.try.coder.app
coder server
# Requires a PostgreSQL instance (version 13 or higher) and external access URL
coder server --postgres-url <url> --access-url <url>
Use coder --help
to get a list of flags and environment variables. Use our install guides for a complete walkthrough.
Documentation
Browse our docs here or visit a specific section below:
- Templates: Templates are written in Terraform and describe the infrastructure for workspaces
- Workspaces: Workspaces contain the IDEs, dependencies, and configuration information needed for software development
- IDEs: Connect your existing editor to a workspace
- Administration: Learn how to operate Coder
- Premium: Learn about our paid features built for large teams
Support
Feel free to open an issue if you have questions, run into bugs, or have a feature request.
Join our Discord to provide feedback on in-progress features and chat with the community using Coder!
Integrations
We are always working on new integrations. Please feel free to open an issue and ask for an integration. Contributions are welcome in any official or community repositories.
Official
- VS Code Extension: Open any Coder workspace in VS Code with a single click
- JetBrains Gateway Extension: Open any Coder workspace in JetBrains Gateway with a single click
- Dev Container Builder: Build development environments using
devcontainer.json
on Docker, Kubernetes, and OpenShift - Module Registry: Extend development environments with common use-cases
- Kubernetes Log Stream: Stream Kubernetes Pod events to the Coder startup logs
- Self-Hosted VS Code Extension Marketplace: A private extension marketplace that works in restricted or airgapped networks integrating with code-server.
- Setup Coder: An action to setup coder CLI in GitHub workflows.
Community
- Provision Coder with Terraform: Provision Coder on Google GKE, Azure AKS, AWS EKS, DigitalOcean DOKS, IBMCloud K8s, OVHCloud K8s, and Scaleway K8s Kapsule with Terraform
- Coder Template GitHub Action: A GitHub Action that updates Coder templates
Contributing
We are always happy to see new contributors to Coder. If you are new to the Coder codebase, we have a guide on how to get started. We'd love to see your contributions!
Hiring
Apply here if you're interested in joining our team.