Skip to content

Keep live examples beside their component pages - #1623

Open
lovasoa wants to merge 1 commit into
codex/docs-component-pagesfrom
codex/docs-component-examples
Open

lovasoa wants to merge 1 commit into
codex/docs-component-pagesfrom
codex/docs-component-examples

Conversation

@lovasoa

@lovasoa lovasoa commented Nov 22, 2026

Copy link
Copy Markdown
Collaborator

Depends on #1622.

Each example carries its explanation and an optional ordered set of component rows. The reference builds the preview and its copyable SQL from those same rows. Numbered filenames preserve existing example links and display order.

@datadog-official

datadog-official Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Pipelines

❌ Errors

Your PR has failed checks. Please review the issues below and take necessary action before merging.

🚦 7 Pipeline jobs failed

CI | compile_and_lint — 🔧 Needs a code fix, caused by this PR

View more details · View in GitHub Actions

Linking error: unable to find library -lodbc while compiling sqlpage.

CI | docker_build (linux/amd64, duckdb) — 🔧 Needs a code fix, caused by this PR

View more details · View in GitHub Actions

Error: can't find export_config_schema example at examples/export_config_schema.rs or examples/export_config_schema/main.rs. Please specify example.path.

CI | docker_build (linux/amd64, minimal) — 🔧 Needs a code fix, caused by this PR

View more details · View in GitHub Actions

Cargo.toml: can't find export_config_schema example at examples/export_config_schema.rs or examples/export_config_schema/main.rs.

View all 7 failed jobs.

📋 Copy fix prompt
CI on my pull request is failing. Help me find and fix the root cause of each failing job below — they were flagged as caused by changes in this PR, so focus on the diff. For each job, explain the failure and propose a fix.

Before you start, set up the Datadog software-delivery tooling so you can
query the CI data yourself:

1. Check whether you already have the Datadog software-delivery MCP tools
   (e.g. a `search_datadog_ci_pipeline_events` tool) and the `unblock-pr` skill.
2. If either is missing, STOP and ask me for permission before installing
   anything. Do not install or run anything until I have said yes.
3. Only with my explicit approval, set up the Datadog software-delivery MCP
   server and skills by following:
     https://docs.datadoghq.com/getting_started/software_delivery_mcp_tools/
   then restart so the skill is picked up.
4. If I decline, skip all of the above and work from the context below alone.

Then run /unblock-pr — it will pull the CI data itself. The job context below is what we already know.

If /unblock-pr is not available — because I declined the setup above, or it did not install — work from the context below instead.

Datadog has already classified this failure as caused by changes in this PR.
Take that as given and work the fix:

1. Locate the change. Diff this branch against its base and find the change
   that produces this error. Explain the mechanism, don't just name a file:
     git fetch origin && git diff $(git merge-base origin/codex/docs-component-pages HEAD)...HEAD
2. Reproduce it locally. Run the failing job's command or test before
   proposing anything.
3. Propose the smallest fix that addresses the root cause — not a workaround,
   not a broadened assertion, not a disabled or skipped test.
4. Re-run the same command to confirm, and say exactly what you ran.
5. If the failure turns out to be intermittent rather than deterministic, say
   so plainly instead of "fixing" it — that is a flaky test, and patching it
   hides the problem.

If the right move is to re-run the job rather than change code, use the job
link in the context below. For GitHub Actions: `gh run rerun <run-id> --failed`,
where the run ID is the number after `/runs/` in that URL (not the trailing
number, which is the job ID).

Branch: codex/docs-component-examples

CI | compile_and_lint
Commit: 1c4885dbb15fed8b59db3627adaf18e399d1411a
Error (code / build):
Linking error: unable to find library -lodbc while compiling `sqlpage`.
CI job: https://github.com/sqlpage/SQLPage/actions/runs/45088407357/job/137412200296

CI | docker_build (linux/amd64, duckdb)
Commit: 1c4885dbb15fed8b59db3627adaf18e399d1411a
Error (code / build):
Error: can't find `export_config_schema` example at `examples/export_config_schema.rs` or `examples/export_config_schema/main.rs`. Please specify example.path.
CI job: https://github.com/sqlpage/SQLPage/actions/runs/45088407357/job/137412200239

CI | docker_build (linux/amd64, minimal)
Commit: 1c4885dbb15fed8b59db3627adaf18e399d1411a
Error (code / build):
Cargo.toml: can't find `export_config_schema` example at `examples/export_config_schema.rs` or `examples/export_config_schema/main.rs`.
CI job: https://github.com/sqlpage/SQLPage/actions/runs/45088407357/job/137412200234

Plus 3 more failing jobs not shown here.

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 1c4885d | Docs | View more details | Give us feedback!

@lovasoa
lovasoa removed this pull request from stack #1626 November 23, 2026 00:22
@lovasoa
lovasoa added this pull request to stack #1627 November 23, 2026 00:22
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