Repository navigation
docs(agents): entry points in the datastore skill's checklist, and a dialect capabilities table - #17050
Conversation
…ry points The Before You Push list gains a step to list the entry points and the sibling copies of the code by search, and the dimensions of the table of cases gain the entry point. A review that cites a file and a line says which entry point to test: make a test reach that line before saying a case does not reproduce. Claude-Session: https://claude.ai/code/session_01Dmki4RzWwreEC2GkkyFnvL
… the datastore skill A table of what the Hibernate 5 and 7 Dialect classes report for the capabilities a data-layer change can depend on (SQL text, literals, IN lists, null order, pagination, concat, identifiers, locks), so that a change can say whether it is dialect-dependent before anyone starts a container. The skill points to it, and dialect-capabilities/regen.sh regenerates it from the Hibernate jars in the Gradle cache. No cell is verified on a container: the table says what Hibernate reports, not what a database does. Claude-Session: https://claude.ai/code/session_01Dmki4RzWwreEC2GkkyFnvL
jamesfredley
left a comment
There was a problem hiding this comment.
Requested changes. A row of n/a is treated as proof that null ordering is the same on every database.
| ## How to use it | ||
|
|
||
| 1. List the capabilities your change relies on (SQL text, literals, IN lists, null order, pagination, concat, identifiers, locks). | ||
| 2. Look each one up below. If every dialect has the same value, the change is dialect-independent for that capability: no container run. |
There was a problem hiding this comment.
Two tasks have priorities NULL and 1. An agent drops an explicit nulls-last order and takes the first row by ascending priority. One database returns the task with priority 1. Another returns the task with no priority. Do not treat a row of n/a as proof those databases agree.
…datastore-skill-scope-checklist-8.0.x
…etween the databases A row of n/a in the capability table meant that the Hibernate version has no such method, but it looked like the same value in every column, so null ordering, which differs between databases, read as dialect-independent. The generator marks such a row as not reported, the table and the skill say what that means, and the table is regenerated. Claude-Session: https://claude.ai/code/session_01Dmki4RzWwreEC2GkkyFnvL
|
@jamesfredley You are right: a row of |
…code can hold them Claude-Session: https://claude.ai/code/session_01Dmki4RzWwreEC2GkkyFnvL
…datastore-skill-scope-checklist-8.0.x Claude-Session: https://claude.ai/code/session_01Dmki4RzWwreEC2GkkyFnvL
…ange breaks, they do not widen it Claude-Session: https://claude.ai/code/session_01Dmki4RzWwreEC2GkkyFnvL
…datastore-skill-scope-checklist-8.0.x Claude-Session: https://claude.ai/code/session_01Dmki4RzWwreEC2GkkyFnvL
A defect in the code a pull request adds is in scope, also behind a setting it adds, and a finding that behaves the same on the base branch is optional. Claude-Session: https://claude.ai/code/session_01Dmki4RzWwreEC2GkkyFnvL
Three additions to the
grails-datastore-developerskill of #16995, as a follow-up on top of it (the base of this pull request is its branch, so the diff is only these additions; it will be retargeted to 8.0.x when #16995 merges).dialect-capabilities.mdlists what the Hibernate 5 and 7Dialectclasses report for the capabilities a data-layer change can depend on (SQL text, literals, IN lists, null order, pagination, concat, identifiers, locks), so a change can say whether it is dialect-dependent before a container is started. The skill points to it.dialect-capabilities/regen.shregenerates it from the Hibernate jars in the Gradle cache (it needs a JDK 17 or later and a warm cache, and its two version variables are bumped when the Hibernate versions ofdependencies.gradlemove). No cell is verified on a container: the table says what Hibernate reports, not what a database does.Documentation only.
validateRepositoryConventionsandratpass, the new files carry the license header, and runningregen.shreproduces the committed table.https://claude.ai/code/session_01Dmki4RzWwreEC2GkkyFnvL