Move examples to fission/examples; vendor minimal CI fixtures#454
Merged
Conversation
Runnable examples now live canonically in the fission/examples repo. This removes the duplicated examples/ directory from every environment. To keep the environment test suites self-contained, the minimal function code each test needs is vendored under that environment's test dir as tests/fixtures/ (or test/fixtures/), and the test scripts are repointed: - binary, python, python-fastapi, rust, jvm, tensorflow-serving - jvm: adjusted the install-fission-java-core.sh mount depth for the new fixture path README "ready-to-run examples" links now point at github.com/fission/examples. Updated CLAUDE.md and the release-process note accordingly. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This was referenced Jun 9, 2026
Merged
The first pass missed the e2e suites (test_go_env.sh, test_rust_env.sh, test_binary_env.sh, test_dotnet8_env.sh) because they `cd $ROOT/<env>/examples` without a trailing slash. They now build from vendored fixtures: - go/tests/fixtures (hello.go + module-example) - rust/tests/fixtures (hello.rs + project-example) - binary/test/fixtures (hello.sh + module-example, alongside echo.sh) - dotnet8/tests/fixtures (HelloWorld + MultiFileExample) Also repoint the `examples` URL in every envconfig.json to fission/examples (fixing two pre-existing copy-paste bugs: python-fastapi pointed at python, php7 pointed at perl) and regenerate environments.json. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Runnable examples now live canonically in the fission/examples repo. This removes the duplicated
examples/directory from every environment.To keep each environment's test suite self-contained (no cross-repo dependency at test time), the minimal function code each test actually uses is vendored under that environment's test dir as
tests/fixtures/(ortest/fixtures/), and the test scripts are repointed.Test scripts rewired
test/local_test.shtest/fixtures/echo.shtests/local_test.sh,tests/test_python_env.sh,tests/websocket_test.shtests/fixtures/hello.py,tests/fixtures/websocket/main.pytests/local_test.sh,tests/test_python_fastapi_env.shtests/fixtures/hello.pytest/local_test.shtest/fixtures/project-example/tests/test_java_env.shtests/fixtures/java/tests/test_tensorflow_serving_env.shtests/fixtures/half_plus_two/Git tracks the vendored files as renames from
examples/.Notable detail: the jvm test mounts
install-fission-java-core.shvia a relative../../from the example dir; moving the project one level deeper required bumping that to../../../.Docs
github.com/fission/examples.CLAUDE.mdand the release-process note updated to reflect that examples live elsewhere and tests usefixtures/.Companion PRs
Verification done locally
bash -npasses on all 9 modified scripts.examples/references in scripts, Makefiles, CI, or READMEs.🤖 Generated with Claude Code