docs: add Cursor Cloud dev environment setup instructions to AGENTS.md#5617
Draft
fabio-silva wants to merge 1 commit into
Draft
docs: add Cursor Cloud dev environment setup instructions to AGENTS.md#5617fabio-silva wants to merge 1 commit into
fabio-silva wants to merge 1 commit into
Conversation
Co-authored-by: Fábio Silva <fabio-silva@users.noreply.github.com>
Contributor
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5617 +/- ##
=======================================
Coverage 43.59% 43.60%
=======================================
Files 415 415
Lines 43134 43133 -1
=======================================
+ Hits 18804 18806 +2
+ Misses 22454 22452 -2
+ Partials 1876 1875 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Disclaimer: this PR was fully written by AI
What
Adds a
## Cursor Cloud specific instructionssection toAGENTS.mdcapturing the non-obvious, durable steps for bringing up the PMM development environment in a Cloud Agent VM. No product code is changed.Why
Setting up PMM for development surfaced several gotchas that aren't documented elsewhere and would trip up future agents:
perconalab/pmm-server:3-dev-container) running all server components undersupervisord; binaries are rebuilt on the host bind mount and hot-swapped..env.dev.example(dev image + toolchain), not.env.example(release image).run-*/init/check/build-uitargets must run as root in the container (make env-root TARGET=...) — the defaultpmmuser can't write to/usr/sbinor the root-owned Go module cache volume.go.modpins a newer Go than the image ships; Go auto-downloads the toolchain (works as root).golangci-lintis not preinstalled (make env-root TARGET=init).Verification
Brought the full environment up and exercised it end-to-end:
make env-up— container healthy; all supervisord services running.pmm-managedfrom source and hot-swapped it (run-managed-ci);/v1/server/versionreports the git commit asmanaged.full_version.make check(buf lint + golangci-lint + go-sumtype):0 issues.make test-common: all packagesok.build-ui: UI built with yarn and deployed into Grafana.admin/admin) and added a monitored PostgreSQL servicehello-world-postgres; itspostgres_exporterisAGENT_STATUS_RUNNING.pmm_add_postgresql_service.mp4
Adding a monitored PostgreSQL service through the freshly-built backend and UI.
Inventory showing hello-world-postgres
PMM home dashboard
To show artifacts inline, enable in settings.