Skip to content

docs: plan for #302 — workbench jobs coverage#316

Merged
ian-flores merged 2 commits into
mainfrom
botplan-issue-302-d3c49cd26737092c
Jun 1, 2026
Merged

docs: plan for #302 — workbench jobs coverage#316
ian-flores merged 2 commits into
mainfrom
botplan-issue-302-d3c49cd26737092c

Conversation

@posit-vip-triage

Copy link
Copy Markdown
Contributor

Closes #302

This plan proposes adding BDD test coverage for Workbench Jobs (run on separate Kubernetes pods via Launcher) and Background Jobs (run in the same session). The plan includes:

  • A new test_jobs.feature file with two scenarios
  • Playwright-based step definitions to drive the RStudio Pro Jobs UI
  • Inline test R script for job submission
  • Cleanup logic to remove job artifacts

⚠️ Merging this PR will trigger an implementation PR — comment to iterate on the plan first.

The plan addresses open questions about UI selectors, timeout configuration, and script writing approach. Review the plan file for full details on architecture, components, and verification steps.

Generated by Triage open issues on posit-dev/vip for issue #302 · ● 3.9M ·

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

**UNCONFIRMED**: Does the Background Jobs scenario require different Playwright selectors than Workbench Jobs, or can we reuse the same page object pattern? This depends on RStudio Pro's UI structure — will be resolved during implementation by inspecting the DOM.

**UNCONFIRMED**: Should job submission timeout be configurable, or hardcoded (e.g. 60s)? Short jobs should complete quickly, but network latency or cluster load could vary. Propose starting with a 60s hardcoded timeout and making it configurable only if customers report flakiness.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Configurable

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot I answered this question

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the plan — the timeout question is now resolved as configurable (commit docs: mark job timeout as configurable).

Co-authored-by: ian-flores <18703558+ian-flores@users.noreply.github.com>
@ian-flores ian-flores merged commit 7081d5b into main Jun 1, 2026
28 of 30 checks passed
@ian-flores ian-flores deleted the botplan-issue-302-d3c49cd26737092c branch June 1, 2026 22:57
@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-06-01 22:57 UTC

posit-vip-triage Bot added a commit that referenced this pull request Jun 1, 2026
…loses #302)

- Add two @workbench BDD scenarios for job execution in RStudio Pro
- Background Job and Workbench Job (Launcher) scenarios follow four-layer
  architecture with Playwright-driven step definitions
- Add configurable job_timeout to WorkbenchConfig (default 120s)
  via [workbench] job_timeout in vip.toml
- Add RStudio job pane selectors to RStudioSession page object
- Add selftests for job_timeout config field

Implements the plan from #316

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@posit-vip-triage

Copy link
Copy Markdown
Contributor Author

Pull request created: #336

Generated by Implement an approved plan PR · ● 50.3M

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(workbench): cover Workbench Jobs and Background Jobs

2 participants