Skip to content

Add EUPL-1.2 license and refresh submodules with service registration#8

Merged
Snider merged 6 commits into
mainfrom
dev
Jun 29, 2026
Merged

Add EUPL-1.2 license and refresh submodules with service registration#8
Snider merged 6 commits into
mainfrom
dev

Conversation

@Snider

@Snider Snider commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

This pull request introduces a new Core service interface for the go/cache package, allowing cache operations to be registered and used as actions within the Core framework. It also updates dependencies and adds comprehensive tests and examples for the new service. The most important changes are:

New Core Service Integration for Cache

  • Added service.go: Implements a Service struct for the cache package, enabling registration of cache operations (delete, delete_many, path, invalidate, clear_scope) as Core actions, along with lifecycle hooks (OnStartup, OnShutdown). This makes cache operations accessible and manageable like other Core services.

Testing and Documentation

  • Added service_test.go: Provides thorough tests for the new service interface, ensuring correct construction, startup/shutdown lifecycle, and idempotency, following AX-7 compliance patterns.
  • Added service_example_test.go: Supplies usage examples for constructing and operating the cache service, demonstrating how to register and interact with it in a Core application.

Dependency and Configuration Updates

  • Updated go/go.mod: Bumped dappco.re/go dependency to v0.10.4 for compatibility with the new service interface.
  • Updated go.work: Adjusted the path for go-io to reflect new module structure.
  • Updated submodules external/go and external/go-io to newer commits, ensuring alignment with the latest upstream changes. [1] [2]

Licensing

  • Added LICENCE: Includes the full text of the European Union Public Licence v. 1.2 (EUPL), clarifying the licensing terms for the project.

Snider and others added 6 commits May 1, 2026 08:33
Reference: core/api/LICENCE.

Co-Authored-By: Cladius Maximus <cladius@lethean.io>
…block)

- git submodule update on external/* to current dev tips
- go.work paths fixed for Phase 1 /go/ subtree layout where stale
- go.work go-version bumped 1.26.0 → 1.26.2 to match submodule floor

Workspace-mode build (`go build ./...`) is the verification path. Some
repos may surface transitive dep issues (api/go.sum checksum drift, etc.)
which are separate cascade tickets — not blocking this metadata refresh.

Co-Authored-By: Cladius Maximus <cladius@lethean.io>
Wires the cache.Cache surface into Core's service-registration plumbing
behind a *core.ServiceRuntime[CacheConfig]. NewService() factory builds
the underlying *Cache via the existing New() constructor and returns a
*Service ready for c.Service() registration.

Action handlers exposed via OnStartup:
  cache.delete       — opts.key
  cache.delete_many  — opts.keys ([]string)
  cache.path         — opts.key → on-disk path
  cache.invalidate   — opts.trigger
  cache.clear_scope  — opts.origin

Get/Set/SetBinary/GetBinary stay direct method calls because they need
typed `dest any` arguments that don't round-trip through Options
cleanly.

Triplets + examples included (8 audit findings → 0; verdict COMPLIANT).

Co-authored-by: Hephaestus <hephaestus@lthn.ai>
Co-Authored-By: Virgil <virgil@lethean.io>
Co-authored-by: Hephaestus <hephaestus@lthn.ai>
Advance external/go workspace submodule to v0.10.4 so dev (GOWORK on) and standalone (GOWORK=off) builds resolve the same core/go.

Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Virgil <virgil@lethean.io>
@coderabbitai

coderabbitai Bot commented Jun 29, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@Snider, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 30 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7e355d67-ff96-442f-bbf2-3f8a7df1f49c

📥 Commits

Reviewing files that changed from the base of the PR and between 2f2589c and 16a9b32.

⛔ Files ignored due to path filters (2)
  • go.work is excluded by !**/*.work
  • go/go.sum is excluded by !**/*.sum
📒 Files selected for processing (8)
  • LICENCE
  • external/go
  • external/go-io
  • go/go.mod
  • go/service.go
  • go/service_example_test.go
  • go/service_test.go
  • threats.md

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Snider Snider merged commit 9a90115 into main Jun 29, 2026
2 of 5 checks passed
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant