officialasishkumar opened a new pull request, #5176:
URL: https://github.com/apache/texera/pull/5176

   ### What changes were proposed in this PR?
   
   The agent service and frontend both use dagre for workflow auto-layout, but 
the agent service used `ranksep: 100` while the frontend uses `rankSep: 80`. 
That made agent-generated layouts wider than layouts produced by the frontend 
auto-layout button.
   
   This PR updates the agent-service layout config to `ranksep: 80` and adds a 
regression test that pins the produced two-node spacing to the 
frontend-equivalent value.
   
   ### Any related issues, documentation, discussions?
   
   Closes #4577.
   
   ### How was this PR tested?
   
   Installed agent-service dependencies from `bun.lock` in the worktree, then 
ran:
   
   ```
   npm_config_cache=/tmp/texera-npm-cache npx --yes [email protected] test 
src/agent/util/auto-layout.test.ts
   ```
   
   Result: 7 passed.
   
   ```
   npm_config_cache=/tmp/texera-npm-cache npx --yes [email protected] run typecheck
   ```
   
   Result: passed.
   
   ```
   npm_config_cache=/tmp/texera-npm-cache npx --yes [email protected] run format:check
   ```
   
   Result: passed.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: OpenAI Codex (GPT-5)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to