Skip to content

fix(skills): ignite discovery last and treat a failed ignition as blocking - #27

Merged
Plopix merged 1 commit into
mainfrom
fix/skills/ignite-last
Oct 13, 2026
Merged

Plopix merged 1 commit into
mainfrom
fix/skills/ignite-last

Conversation

@Plopix

@Plopix Plopix commented Oct 13, 2026

Copy link
Copy Markdown
Member
Q A
Branch? main
Bug fix? yes
New feature? no
BC breaks? no
Fixed tickets companion to CrystallizeAPI/crystallize#963

On 2026-10-13 a setup agent ran igniteDiscoApi before any shape existed. The task reported complete, the agent re-ignited several times, and the tenant's Discovery API answered 500 for about two hours, with nothing for the agent to self-correct on.

The skills now say:

  • Ignite last, once shapes with at least one component exist and the content is published (vector-ranking, mutation, mass-operations).
  • A task that ends in error is blocking. Read bulkTask.info.traces, fix what it names, and don't re-run it unchanged. The task query now selects info.
  • Probe { __typename } against Discovery before reporting success. If it fails after a complete task, don't re-ignite in a loop; report it.
  • Query reference: a tenant with no shapes has no browse field, and a tenant whose schema can't be built answers 500 with extensions.code: "TENANT_SCHEMA_UNAVAILABLE".

Merge after CrystallizeAPI/crystallize#963 is deployed. The ignition refusal and TENANT_SCHEMA_UNAVAILABLE described here come from that PR. The ordering and probe guidance holds either way.

oxfmt was not run locally (not installed); the one edited table was checked for column alignment.

…cking

On 2026-10-13 a setup agent ran igniteDiscoApi before any shape existed,
saw a complete task, re-ignited several times, and left the tenant's
Discovery API answering 500 for ~2 hours. Ignition now goes last, after
shapes with components and published content. A task that ends in error
is read through info.traces instead of being retried unchanged, and a
{ __typename } probe against Discovery confirms the tenant is serving
before success is reported.

The query reference documents the backend fix landing alongside: a
shapeless tenant has no browse field, and an unbuildable schema answers
TENANT_SCHEMA_UNAVAILABLE.
@Plopix
Plopix merged commit 1327743 into main Oct 13, 2026
1 check passed
@Plopix
Plopix deleted the fix/skills/ignite-last branch October 13, 2026 21:04
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