Skip to content

Clarify local() side-effect state semantics with a runnable example - #3676

Merged
spmallette merged 1 commit into
apache:masterfrom
spmallette:tp-docs-local-step-132
Sep 24, 2026
Merged

spmallette merged 1 commit into
apache:masterfrom
spmallette:tp-docs-local-step-132

Conversation

@spmallette

Copy link
Copy Markdown
Contributor

Add an executable example to the local() step in the Gremlin semantics specification and expand its Considerations to distinguish the local computational state that is reset between executions from global side-effects such as aggregate() and store(), which accumulate across every traverser and are not reset per incoming object.

Add an executable example to the local() step in the Gremlin semantics
specification and expand its Considerations to distinguish the local
computational state that is reset between executions from global
side-effects such as aggregate() and store(), which accumulate across
every traverser and are not reset per incoming object.

Assisted-by: Kiro:claude-opus-4.8
@spmallette
spmallette merged commit 226fb9e into apache:master Sep 24, 2026
6 checks passed
@spmallette
spmallette deleted the tp-docs-local-step-132 branch September 24, 2026 19:42
@codecov-commenter

codecov-commenter commented Sep 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.69%. Comparing base (a28cd1f) to head (7c70af0).
⚠️ Report is 644 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3676      +/-   ##
============================================
+ Coverage     76.35%   76.69%   +0.33%     
- Complexity    13424    14336     +912     
============================================
  Files          1012     1037      +25     
  Lines         60341    64761    +4420     
  Branches       7075     7695     +620     
============================================
+ Hits          46076    49671    +3595     
- Misses        11548    11998     +450     
- Partials       2717     3092     +375     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants