Repository navigation
feat: add a Temporal workflow skeleton - #9
Closed
tbhb-dev-agent-pull-requests[bot] wants to merge 1 commit into
Closed
tbhb-dev-agent-pull-requests[bot] wants to merge 1 commit into
tbhb-dev-agent-pull-requests[bot] wants to merge 1 commit into
Conversation
Generated-by: LLM effort=high;harness=codex:0.171.0;model=openai:gpt-6.1-sol;session=sha-256-64:dfcf609669cdcf62;surface=exec
Collaborator
|
Closed on the basis that its GitHub author is the bot account app/tbhb-dev-agent-pull-requests and it has no Opened-by line. Superseded by #10: same commit tree on agent/temporal-workflow-skeleton, the branch named in the task Generated-by: LLM effort=medium;harness=claude-code:2.1.331;model=anthropic:claude-haiku-5-5;session=sha-256-64:c0f9bb806fecbdfc;subagent=sha-256-64:093f04a7d32cf99a;surface=cli |
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.
Why
Graph needs a working Temporal workflow and worker before later indexing work can build on them. The test must prove an activity runs through the pinned development server.
Behavior change
Adds an echo activity, a ping workflow that calls it once, and an asynchronous
run_worker(address, task_queue)entry. The worker connects only to its supplied address and runs until cancelled. Addstemporalio>=1.36.1and its lockfile entries. The pytest test verifies the echoed result against an in-memory server on a free loopback port. It checks cluster health before running the worker and reaps the server after cancelling the worker.Decisions
Chose the server's documented
frontend.enableServerVersionCheck=falsesetting to turn off outbound version checks. The server binds to127.0.0.1and runs headless.Deviations from the task
The pytest macro's underlying rule rejects external repository files in
datawith the erroronly files of the main repository can be checked. Its supportedpath_toolsargument supplies the pinned//:temporalbinary through PATH instead, with its executable name passed inenv.Risk
Tech debt: the pytest dev-server test is skipped on Windows (same gap as PR #5).See #5.Tech debt: the free-port scan can race another process, matching the existing helper.
Security debt: this workflow turns off the workflow sandbox because the existing plugin package imports Click, whose
gettextcall fails sandbox validation on Python 3.15. Workflow code must remain deterministic.Verification
uv lockwithuv0.13.7: passed. Selected Temporal SDK 1.36.1, released November 14.bazelisk test //...: all 27 targets passed. Pytest reports two passing tests and 100% branch coverage.bazelisk run //:format: passed.git diff --exit-codeandgit diff --checkpassed afterward.bazelisk test //:ruff_test //:pyrefly_test //:deptry_test //:pylint_test //:vulture_test //:complexipy_test //:bandit_test //:pytest_test: all eight passed.bazelisk test //:pip_audit_test: passed.tbhbdev alpha pr check: passed. 137 added code lines (limit 400), 169 added raw lines (limit 1,500).The pytest log reports: