Conversation
Signed-off-by: re-pixel <relja.brdar@gmail.com>
|
👋 Commands for maintainers:
|
2e0f53d to
e55ee5b
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
| CREATE TABLE public.casbin_rule ( | ||
| id integer NOT NULL, | ||
| ptype character varying(100) NOT NULL, | ||
| ptype character varying(100), |
There was a problem hiding this comment.
Casbin ptype NOT NULL constraint accidentally removed
Medium Severity
The casbin_rule.ptype column changed from NOT NULL to nullable, and a new unique index idx_casbin_rule was added on all-nullable columns. These changes are unrelated to eval test automation and likely a side effect of the gorm-adapter's AutoMigrate being captured in a schema dump. The original migration explicitly defined ptype VARCHAR(100) NOT NULL. Removing NOT NULL on ptype weakens constraints on the authorization table. Additionally, the new unique index on (ptype, v0, v1, v2, v3, v4, v5) is largely ineffective because PostgreSQL treats NULLs as distinct in B-tree unique indexes — since v0–v5 are commonly NULL, duplicate Casbin rules won't be prevented in most cases.
Additional Locations (1)
|
@re-pixel to bootstrap, I should just run |
you have to have the app running, run the |
Signed-off-by: re-pixel <relja.brdar@gmail.com>
228efd7 to
714f2a5
Compare


What changed
Automates local agent eval setup: a bootstrap script talks to the running SuperPlane app (owner setup or password login), ensures an eval canvas and service account, then prints or merges EVAL_ORG_ID, EVAL_CANVAS_ID, SUPERPLANE_API_TOKEN, and SUPERPLANE_BASE_URL into agent/.env. Adds make agent.evals.bootstrap, httpx for the script, and updates agent/.env.example / agent/README.md.
How
Related Issues
#3666