What to check before tagging a release, and right after it. The release steps themselves are in PyPI deployment.
The CI builds almost everything, on every platform, but it runs little: no installed wheel opens a window, and the web, phone and backend builds are never run. This page lists what the CI leaves out.
What “validated” means¶
Every binary we ship works for a user who installs it:
the wheels: Linux x86_64 and ARM64 (manylinux, musllinux), macOS arm64, Windows x86_64 and ARM64;
the Pyodide wheel, and the playground that uses it, on desktop and phone browsers;
the C++ package, in the three ways an app integrates it.
One source path works: the sdist installs on macOS. A Mac with an Intel CPU has no wheel, and installs from it.
The platforms the CI only builds (the native iOS and Android apps, DirectX) are checked when their code changes.
The fast path and the full path¶
The fast path: at every release. About 2 hours of agent time, most of it unattended, and 5 minutes by hand.
The full path: the fast path, plus the checks marked “Full”. About half a day of agent time, and 20 minutes by hand.
The full path is needed after:
an update of Dear ImGui;
a rebase of a tier 1 fork (see below);
a change to Hello ImGui’s platform or backend code;
a change of toolchain: cibuildwheel, emsdk, pyodide-build.
The release plan says which path it takes.
The forks’ tiers¶
A fork’s rebase does not carry the same risk for every library (the forks: Managing external libraries and forks).
| Tier | Libraries | A rebase needs |
|---|---|---|
| 1, the core | imgui with imgui_test_engine (rebased together), hello_imgui | the full path |
| 2, large libraries with their own bindings | implot, implot3d, imgui-node-editor, ImGuiColorTextEdit, immvision, imgui_rich_md | the fast path, plus that library’s own checks: its demos, its C++ demo, its tests, its third parties |
| 3, small libraries | ImGuizmo, imspinner, imgui-knobs, imgui_toggle, ImCoolBar, ImFileDialog, imgui-command-palette, imgui_tex_inspect, ImAnim, nanovg, MicroTeX, imgui_kit, imgui_touch, glfw | the fast path: the demo tour opens each of them |
What the CI covers¶
The workflows are listed in Testing. In short:
wheels.ymlbuilds the wheels (cp311 to cp315) and runs the non-GUI tests on each platform.pip.ymlruns the GUI tests on Linux and Windows, with Python 3.11 to 3.14: the demo tour among them.ci_automation_test.ymlruns the only C++ app: the test engine app, the node editor tests and the wheel claims, on Linux, in Release.cpp_install_package.ymlbuilds_example_integrationagainst the installed package.conan.ymlbuilds the Conan package and its test package.The other workflows (C++ libraries, backends, Emscripten, Pyodide, iOS, Android) only build.
Who runs a check¶
CI: a workflow.
Agent: an AI agent or a maintainer, on a Mac. The skills of
.claude/skills/help:screenshot-imgui-bundle,interact-and-screenshot,screenshot-web-demos.VMs: the same, in Windows and Ubuntu ARM64 virtual machines.
x86_64 PC: a maintainer, on a Windows and Linux x86_64 machine.
By hand: a maintainer, for what needs a human eye or hand.
A recipe marked “(to come)” does not exist yet: run the check by hand meanwhile.
The checklist¶
Each check has a stable id: a release’s record ticks them.
A. The Python wheels¶
From the CI’s artifacts (the wheels of the commit to tag), before the tag. just release_runs lists the recent Wheels runs, with the <run_id> the recipes below take (only a finished success has wheels).
| Id | Check | Who | Time | Path | How |
|---|---|---|---|---|---|
| A1 | The smoke test: the imports, the new APIs, one frame of RichMd, ImPlot, immvision and the node editor, the Explorer in the dark and light themes. On macOS, Windows ARM64, Linux ARM64 | Agent, VMs | 10 min | Fast | just release_smoke <run_id> --vms (--vms: the Parallels VMs) |
| A2 | The same smoke test on x86_64: Windows and Linux | x86_64 PC | 5 min | Fast | one command per OS, printed by just release_smoke <run_id> |
| A3 | The non-GUI tests against the installed macOS wheel | CI | Fast | wheels.yml | |
| A4 | The smoke test with the oldest and newest Pythons (3.11, 3.15) | Agent | 5 min | Fast | just release_smoke <run_id> --python 3.11, then --python 3.15 |
| A5 | The demo tour: each demo below runs a few frames, hidden, and is captured | Agent | 5 min | Fast; the backends and Jupyter: Full | pytest tests/tests_python_gui/test_demo_tour.py, with IMGUI_BUNDLE_DEMO_TOUR_CAPTURES=<folder> for the captures; the CI runs it too |
| A6 | Hands-on use of the Explorer: drag a plot and a node, type in the text editor, dock a window out (viewports), on a high DPI screen | By hand | 10 min | Full | demo_imgui_bundle |
| A7 | The wheel’s contents against the last release: the file list (stubs, py.typed, assets, demos) and the size | Agent | 3 min | Fast | just wheel_diff <old version> <run_id> |
| A8 | The sdist installs in a fresh venv on macOS (a full build: run it in the background) | Agent | 20 min | Fast | pip install imgui_bundle-<version>.tar.gz |
The demo tour (A5) covers each library at least once. The paths are under bindings/imgui_bundle/. A demo with a module-level gui() joins the tour by itself.
| Covers | Demos | Extra packages |
|---|---|---|
| Everything, through the console script | demo_imgui_bundle (the installed command) | numpy |
| Dear ImGui | demos_python/demos_imgui_explorer/imgui_demo.py | |
| ImPlot, ImPlot3D | demos_imgui_explorer/implot_demo.py, implot3d_demo.py | numpy |
| immvision with OpenCV | demos_immvision/demo_immvision_process.py, demo_immvision_inspector.py | opencv-python |
| The node editor | demos_node_editor/demo_node_editor_image_pipeline.py, demo_node_editor_color_mixer.py | opencv-python |
| RichMd, the markdown editor | demo_imgui_md_document.py, demo_markdown_editor.py | |
| The text editor | demo_text_edit.py | |
| ImAnim, ImGuizmo, NanoVG, tex_inspect | demo_im_anim.py, demos_imguizmo/demo_gizmo.py, demos_nanovg/demo_nanovg_heart.py, demos_tex_inspect/demo_tex_inspect_simple.py | |
| imgui_kit, imgui_touch | demos_imgui_explorer/imgui_kit_demo.py, imgui_touch_demo.py | |
| The terminal (macOS and Linux) | demo_terminal.py | |
The test engine, immapp.testing | demos_immapp/demo_testengine.py, demo_immapp_testing.py | |
| Hello ImGui: docking, assets, fonts, power save, an OpenGL background | demos_immapp/demo_docking.py, demo_assets_addons.py, demo_chinese_font.py, demo_powersave.py, demo_custom_background.py | PyOpenGL |
| Python specifics | demos_python_specifics/demo_run_async.py, demo_pydantic.py, demo_python_context_manager.py, demo_glfw_window_manip.py | pydantic, glfw |
| The pure Python backends (Full path) | python_backends/examples/example_python_backend_{glfw3,sdl2,sdl3,pyglet,pygame,wgpu}.py, example_python_backend_glfw3_imgui_kit.py | glfw, PyOpenGL, pysdl2, pysdl3, pyglet, pygame (pygame-ce from Python 3.14), wgpu |
Jupyter, immapp.nb (Full path) | demos_python/notebooks/test_immapp_nb.ipynb, with jupyter nbconvert --execute | jupyter |
The backend examples run their own loop: run them with a timeout (5 s), and look for a traceback.
B. C++¶
| Id | Check | Who | Time | Path | How |
|---|---|---|---|---|---|
| B1 | The three ways to integrate the bundle: the installed package, a subfolder, FetchContent. The CI covers only the first | Agent | 20 min | Fast | just example_integration_all |
| B2 | A minimal configuration: every IMGUI_BUNDLE_WITH_* add-on off, Hello ImGui on | CI | a cpp_lib.yml job (to come) | ||
| B3 | A Debug build with the sanitizers (IMGUI_BUNDLE_BUILD_WITH_ASAN, IMGUI_BUNDLE_BUILD_WITH_UB_SANITIZER), running the automation tests: asserts on, memory errors caught | CI | a variant of ci_automation_test.yml (to come) | ||
| B4 | The C++ Explorer runs, captured in the dark and light themes | Agent | 10 min | Fast | demo_imgui_bundle, skill screenshot-imgui-bundle |
| B5 | A demo on Metal, one on Vulkan (MoltenVK on macOS), and the immvision demos with OpenCV (IMGUI_BUNDLE_DEMOS_WITH_OPENCV) | Agent | 20 min | Full | builds with HELLOIMGUI_USE_GLFW_METAL, HELLOIMGUI_USE_GLFW_VULKAN |
| B6 | DirectX 11 and 12: one demo | x86_64 PC | 10 min | when Hello ImGui’s backend code changes | builds with HELLOIMGUI_USE_SDL_DIRECTX11, HELLOIMGUI_USE_SDL_DIRECTX12 |
C. The web¶
The CI builds the web targets, and never loads them in a browser.
| Id | Check | Who | Time | Path | How |
|---|---|---|---|---|---|
| C1 | The Bundle Explorer, the ImGui Explorer and the Pyodide pages in Chrome | Agent | 10 min (the builds take longer, but the site’s deploy needs them anyway) | Fast | below, skill screenshot-web-demos |
| C2 | A finger in the playground: a drag scrolls, a pinch zooms | Agent | 2 min | Fast | just cf_touch_check |
| C3 | Desktop Safari: the playground shows the new version, and a demo with floats (a plot that animates) runs. Headless WebKit is not enough: Safari has bugs of its own in Pyodide | Agent | 5 min | Fast | safaridriver |
| C4 | The browser zoom (Cmd + and Cmd -) in the playground | By hand | 2 min | Full | a script cannot press the zoom keys |
How to run C1:
ImGui Bundle Explorer (Emscripten)
just ibex_build
just ibex_serve # then open http://localhost:8642/demo_imgui_bundle.htmlTry a few demos (for example the test engine and the docking demos).
ImGui Explorer (Emscripten)
just imex_ems_build
just imex_ems_serve # then open http://localhost:7006/Check that the Dear ImGui version displayed is the expected one.
Pyodide
just pyodide_build
just pyodide_serve_projectsThen open:
| Page | Expected |
|---|---|
| http:// | Offers the wheel of the new version (see wheel filename references) |
| http:// | The demos work; the intro page displays the new version |
| http:// | Works. It installs imgui-bundle from PyPI, so it displays the last released version until the new one is published: check it again after the release (G3) |
D. Phones¶
| Id | Check | Who | Time | Path | How |
|---|---|---|---|---|---|
| D1 | The playground in Safari, in the iPhone simulator | Agent | 15 min | Fast | simctl, idb, skill screenshot-web-demos |
| D2 | The playground in Chrome, in the Android emulator | Agent | 15 min | Fast | adb |
| D3 | The native iOS app (_example_integration) in the simulator. The CI builds it, and never runs it | Agent | 20 min | when Hello ImGui’s iOS code changes | |
| D4 | The native Android app (_example_integration) in the emulator: install the APK, launch it, tap once, a screenshot. The CI builds it, and never runs it | Agent | 30 min | when Hello ImGui’s Android code changes | adb install, adb exec-out screencap |
D1 and D2 check:
the playground shows the new version (read from inside Pyodide);
two demos run: one with plots, one with text;
one finger scrolls, two fingers pinch;
the keyboard: a tap in a text field shows the on-screen keyboard, the typed text arrives, the keyboard goes away;
a screenshot of each, in the dark and light themes.
The emulators use the computer’s keyboard by default: for the keyboard check, turn it off (“Connect Hardware Keyboard” in the iOS simulator, hw.keyboard=no in the Android emulator’s config.ini). The Android emulator draws WebGL only with its software GPU (hw.gpu.mode=swiftshader).
E. The API and the third parties¶
| Id | Check | Who | Time | Path | How |
|---|---|---|---|---|---|
| E1 | The API against the last release: names added and removed, changed signatures, reordered overloads | Agent | 5 min | Fast | just api_compare <old version> (--wheel <file> for a CI wheel) |
| E2 | The third party renderers: wgpu-py and fastplotlib, one example each, offscreen | Agent | 10 min | Fast | below; a script (to come) |
| E3 | fiatlight, against the last release (A/B screenshots) | Agent | 30 min | after a rebase of a tier 1 fork, of immvision or of implot |
About E2: some libraries render Dear ImGui by themselves, from Python. They walk ImDrawData, ImDrawList, ImDrawCmd and the texture requests (ImTextureData) through the bindings. They are the most sensitive users of these bindings, and nothing in this repository exercises them the same way: a member renamed or removed by an update of Dear ImGui breaks them at runtime (this happened with ImDrawData.cmd_lists_count in v1.92.900).
For example, with wgpu-py, whose imgui renderer is based on imgui_bundle:
python -m venv venv_wgpu && source venv_wgpu/bin/activate
pip install wgpu rendercanvas glfw
pip install path/to/the/new/imgui_bundle-xxx.whl # or: pip install -v . (from this repository)
git clone https://github.com/pygfx/wgpu-py.git
python wgpu-py/examples/imgui_basic_example.py # any of the examples/imgui_*.pyExpected: the Gui shows (text, widgets, fonts), and reacts to the mouse and the keyboard. Without a screen, rendercanvas’ offscreen backend renders a few frames. An AttributeError on a draw data, draw list or texture member means that the bindings changed under the renderer: restore the member (possibly as a read-only property), or warn the maintainers before the release.
F. Docs and tests¶
| Id | Check | Who | Time | Path | How |
|---|---|---|---|---|---|
| F1 | The API pages’ pictures of the demo sections whose code changed, and their review | Agent, by hand | 20 min + 5 min | Full | just imex_ems_build, then just api_pictures --stale (see the docstring of ci_scripts/api_pictures.py) |
| F2 | The Python examples of the AI guide (intro/ai_guide.md, published as llms.txt): each block type-checks, and its imports run | Agent | 10 min | Fast | a pytest (to come) |
| F3 | The CHANGELOG: its title, the commit count, the forks’ versions | Agent | 5 min | Fast | |
| F4 | The tests and the type checks on the commit to tag. Locally, they also run the GUI tests on macOS | Agent | 5 min | Fast | just test_pytest, just mypy |
G. After the tags¶
Within an hour of the uploads to PyPI:
| Id | Check | Who | Time | Path | How |
|---|---|---|---|---|---|
| G1 | PyPI holds every expected file: each platform and Python, musllinux, the sdist, the Pyodide wheel | Agent | 2 min | Fast | PyPI’s JSON API, against the CI’s artifacts |
| G2 | pip install imgui-bundle==<version> in a fresh venv, then the smoke test | Agent | 3 min | Fast | just release_smoke --from-pypi <version> |
| G3 | min_pyodide_app/demo_heart.html installs the new version from PyPI | Agent | 2 min | Fast | |
| G4 | The C++ template, pinned to the new tag, builds through a real FetchContent from GitHub | Agent | 15 min | Fast | _example_integration (see PyPI deployment, step 4) |
| G5 | The Conan package from the release’s archive, and Hello ImGui’s vcpkg port | Agent | 20 min | Full | just conan_create |
When a check after the tags fails:
a file is missing on PyPI: upload it from the CI’s artifacts (
uv tool run twine upload ...);a wheel is broken: yank it on PyPI, and make a fix release. The tag never moves.
The record of a release’s check¶
Keep a record of each check: the ids above, ticked, each with its result, and the SHAs checked. It is the source: the next release compares with it.
At the end, make a one-page report from it: a pass/fail grid by platform, and the screenshots side by side (the platforms, the phones, Safari, the dark and light themes).
Keeping this page current¶
The demo tour finds the demos by itself: a new library’s demo joins it without an edit here.
At each release, a short review of this page: a new platform, a new library, a check that never finds anything.