Skip to content

[spec] ScriptRunContext immutability audit#14534

Draft
sfc-gh-lwilby wants to merge 1 commit intodevelopfrom
spec/ctx-immutability-assessment
Draft

[spec] ScriptRunContext immutability audit#14534
sfc-gh-lwilby wants to merge 1 commit intodevelopfrom
spec/ctx-immutability-assessment

Conversation

@sfc-gh-lwilby
Copy link
Copy Markdown
Collaborator

Describe your changes

Adds specs/2026-03-26-ctx-immutability/tech-spec.md: audit of every ScriptRunContext field for read/write patterns and parallel-fragments thread safety, with two immutable container candidates (cached_message_hashesfrozenset, fragment_ids_this_runtuple).

Screenshot or video (only for visual changes)

N/A

GitHub Issue Link (if applicable)

N/A (design follow-up to parallel fragments shared-context analysis)

Testing Plan

  • Explanation of why no additional tests are needed — documentation-only spec PR
  • Unit Tests (JS and/or Python)
  • E2E Tests
  • Any manual testing needed?

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

Co-authored-by: lawilby <laura.wilby+oss@snowflake.com>
@sfc-gh-lwilby sfc-gh-lwilby added the change:spec Issue contains a product or tech spec label Mar 26, 2026
@snyk-io
Copy link
Copy Markdown
Contributor

snyk-io bot commented Mar 26, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-actions
Copy link
Copy Markdown
Contributor

Spec PR Validation

✅ All checks passed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change:spec Issue contains a product or tech spec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant