Repository navigation
Conversation
added 7 commits
October 21, 2026 21:32
…100-sim demo & docs
…with line filtering
…h fast match cycling
…d word wrap toggle
…nd 100k-sim scaling metrics
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.
Summary
Closes #892
Introduces comprehensive Head Node and Headless operational topologies for OpenStudio Server external batch runs on AWS Batch, including an optional AWS Step Functions orchestration layer for fire-and-forget client workflows, automated serverless post-processing fan-in, and ephemeral control-plane execution.
What Changes
1. AWS Step Functions Orchestration Layer
external_batch/aws/orchestration/state_machine.asl.json):NumChunks >= 2vsNumChunks == 1), and AWS Batch array job dispatch usingarn:aws:states:::batch:submitJob.sync.AllowPartialFailure).external_batch/aws/infra/step_functions.tf):variable "enable_step_functions" { default = false }.batch:SubmitJob,batch:DescribeJobs, S3, CloudWatch Logs, and EventBridge rules).existing_step_functions_role_arn.2. Cloud Head Node Deployment (Option B & B+)
external_batch/aws/infra/head_node.tf):t3.large/c6i.xlarge) with OpenStudio Server, security groups (ports 8080, 3000, 22), and IAM instance profile.POST /analyses/:id/complete_external_batch) to register summary S3 dataset links.3. Headless Deployment & Diagnostic Tools (Option A & A+)
external_batch/aws/viewer/index.html):status.json,run.log,eplusout.err,measure_attributes.json).external_batch/demo/aggregate_csv.rb):measure_attributes.jsonfiles into a unified ML/surrogate-ready CSV.external_batch/aws/task_wrapper.shandDockerfileto supportBATCH_TASK_MODE=finalizefor in-cloud aggregation.4. CLI & Server Auto-Dispatch
external_batch/aws/submit_batch.rbwith--step-functions ARN,--wait,--allow-partial-failure, and--sns-topic ARN.server/app/lib/analysis_library/external_batch_run.rbwith native Step Functions auto-dispatch.external_batch/demo/(run_100_headless.rb,run_100_head_node.rb,run_100_step_functions.rb).5. Benchmark & Scaling Documentation for Brian Ball
external_batch/aws/BRIAN_BALL_DEMO_RESULTS.mdandexternal_batch/aws/HEAD_VS_HEADLESS.md:Testing
server/spec/models/external_batch_aws_spec.rb.terraform validatepassed with 0 errors.