Repository navigation
Conversation
✅ Deploy Preview for golemcloud canceled.
|
|
📖 Docs preview: https://docs-nl8ibpe9v-golem-cloud.vercel.app Built from commit |
kmatasfp
force-pushed
the
gol-1621-self-host-settings
branch
3 times, most recently
from
November 27, 2026 11:08
0cb44bf to
d63462c
Compare
Project the supported self-host settings and service-scoped advanced settings through every loader. Move examples and consumers to the same contract and check the selected S3 store at startup. Amp-Thread-ID: https://ampcode.com/threads/T-01a1f2c3-5abe-76bf-9e14-58de1756859d
Keep indexed SQLite storage independent when Redis caches key-value namespaces. Create the supported data directory in service images and state which retained settings have no transport yet. Amp-Thread-ID: https://ampcode.com/threads/T-01a1f2c3-5abe-76bf-9e14-58de1756859d
Preserve etcd TLS and snapshot retention across embedded advanced layers. Check the worker service initial-files bucket and retain concrete S3 errors. Cover loader parity, constructor refusal, tracing overrides and environment forwarding. Align current examples and generated guidance with the supported surface. Amp-Thread-ID: https://ampcode.com/threads/T-01a1f2c3-5abe-76bf-9e14-58de1756859d
Leave outgoing proxy settings to GOL-2171. Keep historical Cloud measurements distinct from the self-host settings contract. Amp-Thread-ID: https://ampcode.com/threads/T-01a1f2c3-5abe-76bf-9e14-58de1756859d
Exercise S3 construction and enclosing failure propagation through private dependencies. Observe tracing settings and dispatch before startup refusal. Keep shared projection assertions in their owning crate. Preserve error paths and input attribution across projected configuration layers. Update rebased fixtures and documentation to the shared settings contract. Amp-Thread-ID: https://ampcode.com/threads/T-01a1f2c3-5abe-76bf-9e14-58de1756859d
Remove generated issuer comments. The registry owns the issuer. Amp-Thread-ID: https://ampcode.com/threads/T-01a1f2c3-5abe-76bf-9e14-58de1756859d
Preserve setting sources and loader defaults. Initialize server logging from the final validated configuration, protect retained snapshot keys, and retain MCP body suppression and explicit target filters. Update startup checks, configuration consumers and documentation. Further round-2 corrections and clean-build verification remain open. Amp-Thread-ID: https://ampcode.com/threads/T-01a1f2c3-5abe-76bf-9e14-58de1756859d
Validate only the advanced section owned by each standalone reader. Check the required S3 buckets without requiring object-list permission, retain transport causes, and bound startup retries. Refuse PostgreSQL in Litestream mode before overrides or restore. Initialize the selected session database directory independently of blob storage. Amp-Thread-ID: https://ampcode.com/threads/T-01a1f2c3-5abe-76bf-9e14-58de1756859d
Preserve selected variants during layered configuration. Keep CLI warning output independent of tracing and make S3 reachability independent of signing credentials. Isolate the supported-settings tracer and correct deployment instructions. Amp-Thread-ID: https://ampcode.com/threads/T-01a1f2c3-5abe-76bf-9e14-58de1756859d
Derive process endpoints from each supported launch. Reject unsupported restart inputs before changing ownership state. Transport each optional quota plan independently and fail required-plan callers explicitly. Keep propagation inputs distinct from defaults and let the S3 refusal scenario reach every consumer without launcher-owned topology overrides. Amp-Thread-ID: https://ampcode.com/threads/T-01a1f2c3-5abe-76bf-9e14-58de1756859d
Move the modules whose test suites gained cases into mod.rs and tests.rs. Preserve the existing module names, feature gates and Cargo library roots. Amp-Thread-ID: https://ampcode.com/threads/T-01a1f2c3-5abe-76bf-9e14-58de1756859d
Check each selected database independently of the retained key. Correct the moved module paths in the affected skills. Amp-Thread-ID: https://ampcode.com/threads/T-01a1f2c3-5abe-76bf-9e14-58de1756859d
Protect the separate MCP store and SQLite recovery files before logging starts. Match MultiSqlite files to the selected backend instead of refusing every .db log. Keep the existing truncation default and file identity comparison. Amp-Thread-ID: https://ampcode.com/threads/T-01a1f2c3-5abe-76bf-9e14-58de1756859d
Follow relative database symlinks before checking SQLite recovery files, including when the database is absent. Cover a dangling link and a two-link chain through the existing server handler regression. Amp-Thread-ID: https://ampcode.com/threads/T-01a1f2c3-5abe-76bf-9e14-58de1756859d
kmatasfp
force-pushed
the
gol-1621-self-host-settings
branch
from
November 28, 2026 02:28
e8595a0 to
52831fb
Compare
Respect the selected SQLite memory VFS and allow unused absent repository-key paths. Amp-Thread-ID: https://ampcode.com/threads/T-01a1f2c3-5abe-76bf-9e14-58de1756859d
Remove the collision guard and its dedicated tests and dependencies. Preserve log directory preparation and existing tracing behavior. Update the sharding fixture override check for the Figment provider and advanced setting. Amp-Thread-ID: https://ampcode.com/threads/T-01a1f2c3-5abe-76bf-9e14-58de1756859d
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
resolves GOL-1621
Define the supported self-host settings in
golem-common. The all-in-one loader and each service loader map these settings onto their existing configuration structs. Both binary forms use the same settings for the state store, blob store, cache, logging, OTLP, certificate paths, outbound sockets and filesystem snapshots.Move settings outside this contract to
GOLEM_ADVANCED__<SERVICE>__and keep their paths. Rejectnumber_of_shardsandretained_periodic_snapshotson the supported surface. Update the test framework, Compose files, image entrypoints, billing configuration, scripts, docs and skills to use the new names. Generate the service references from the loaders. Add single-node and multi-node examples without secrets.An unreachable selected store stops startup instead of falling back to local blobs. The S3 startup check sends an unsigned request to a bucket that the service uses. Any HTTP response proves reachability, including access denied. The check needs neither
ListBucketpermission nor a probe object. Object operations still use signed requests. The S3 factory test verifies a startup probe and a signed read fromComponentUploads.Load logging from the final configuration before the services start. Refuse a log file that is an existing retained repository key, a selected SQLite database or one of its recovery files. Include a separately configured MCP database. Do not reserve an absent key path when the effective configuration does not use that key.
Compare selected paths before the files exist, and compare file identities for existing aliases. Refuse a log directory that occupies a selected database or recovery path before creating the directory. On macOS, use the volume's case rules for absent filenames. Keep distinct filenames valid on case-sensitive volumes.
Interpret SQLite
file:URIs as SQLite filenames, not SQLx connection URLs. Session-store startup leaves these URIs to the SQLite connector instead of creating directories from their literal spelling. Memory databases, including those selected byvfs=memdb, select no disk file. Check the databases even when the retained key does not exist.Use the recovery paths that SQLite selects on Unix and Windows. On Windows, compare filename prefixes, suffixes and fixed names with ordinal case-insensitive rules before filtering. Match indexed MultiSqlite files by the scanner's prefix and suffix rules, without a UUID check. Match key-value files by the selected namespace names. Other
.dbfiles remain valid log destinations. Keep the truncation default for those log files.GOL-2209 tracks the race between the log-file check and an overlapping start that creates a retained key. This PR does not add concurrent-start protection.
The test framework keeps supported launch inputs separate from its suite configuration. The supported path accepts advanced settings only for listener and peer addresses. Explicit owner restarts retain the selected settings and addresses. A Redis cache selects Redis for gateway and MCP sessions. A disabled cache selects SQLite sessions.
Move the modules that gain separate test files into directories. Keep each implementation in
mod.rsand its tests intests.rs. This accounts for the config, tracing, S3, bootstrap and test-framework moves in the diff.The shared-contract caller tests are
supported_settings::counter_resource_test_1_sqlite,supported_settings::counter_resource_test_1_postgres,supported_settings::supported_owner_restart_preserves_launch,app::service_config_failure::unreachable_s3_fails_startup_without_local_blob_storageandapp::oplog_export::oplog_export_serves_obfuscated_pages. The counter tests wait for the compiler to finish its write before reading the artifact.This pull request targets
mainon its own. Golem Cloud stays on 1.6 until the chart migration in GOL-1695. The former companion, golemcloud/golem-cloud#2103, is closed without merging.