Skip to content

Harvest Jules sessions for #733 and #823 - #849

Merged
godofecht merged 1 commit into
mainfrom
harvest/jules-733-823
Sep 7, 2026
Merged

godofecht merged 1 commit into
mainfrom
harvest/jules-733-823

Conversation

@godofecht

@godofecht godofecht commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

Two completed Jules sessions whose output had never been pulled.

#733, vectorization audit

Seven cases asserting the generated C carries #pragma clang loop vectorize and #pragma GCC ivdep for shapes that should vectorize (saxpy, dot product, and friends), plus one asserting a nested while does not get them. Tests only, no source change.

#823, bundle symbol closure

The session for this one also produced a change to c_generator.py. I discarded it. The issue is explicit that the source fix already landed in #838 and says "do not add export shims or maintain another competing mangling patch" — that patch was exactly the thing it warned against, written against an earlier state of the issue.

What the issue actually asked for was to rerun the reproduction and record the result, so I did, on a clean worktree of bf5efbf7:

FLOWC_BUNDLE=1 FLOWC_DIR=compiler/src FLOWC_IN=compiler/src/main.flow \
  FLOWC_OUT=compiler/build/bootstrap_regen.c FLOW_HOST=python \
  ./flow run compiler/src/main.flow          # 442,764 bytes

cc -O0 -o compiler/build/bootstrap_regen_bin \
  compiler/build/bootstrap_regen.c -lm       # exit 0, 307,104 byte binary

It links with no missing generated symbols and the binary runs. Apple clang 17.0.0, macOS 26.2, arm64. Recorded on the issue.

The test that survives here guards that closure so it cannot quietly regress.

One wrinkle worth knowing

Neither file was collected until it was git added. pytest_ignore_collect in tests/conftest.py deliberately collects only git-tracked tests so a local run matches CI, which means a new untracked test file silently does nothing.

python3 -m pytest tests/unit    1731 passed, 2 skipped

Up from 1721, which is the 10 tests here.

Two completed Jules sessions whose work had not been pulled.

#733 adds a vectorization audit: seven cases asserting the generated C
carries the loop pragmas for shapes that should vectorize, and none for
a nested while that should not.

#823 adds a regression test for bundle symbol closure. Its session also
produced a change to `c_generator.py`, which is discarded here. That
issue says the source fix already landed in #838 and asks for no
competing mangling patch, and the reproduction confirms it: the bundle
emits, compiles and links on current main with no missing symbols and
no further change. The test guards that so it cannot quietly regress.

Both files had to be staged before pytest would see them:
`pytest_ignore_collect` in tests/conftest.py collects only git-tracked
tests so a local run matches CI.

  python3 -m pytest tests/unit    1731 passed, 2 skipped

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01H7f6FndutYaViuhto1UGA8
@godofecht
godofecht merged commit e60fc3d into main Sep 7, 2026
23 checks passed
@godofecht
godofecht deleted the harvest/jules-733-823 branch September 7, 2026 06:57
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