posit-dev / posit-dev/rsconnect-python

Provide agent-friendly interface for accessing logs of content

Open
#756 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
37
Forks
28
Avg merge
1d 3h
Merged PRs (30d)
7

Description

When a deployment fails, or fails to start up, it returns a link to the logs viewer in the web UI. That's great for a human but not for an agent trying to deploy something and struggling for whatever reason (stale information about the APIs of the libraries it is using, unfamiliar with Connect's features, etc.). It should be possible via like rsconnect log <ID> return the contents of a log file, wrapping the Connect server API, so that an agentic tool can iterate if it fails.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the rsconnect CLI entry point for the proposed rsconnect log <ID> command and trace the Connect server API that provides deployment logs. Define the command's output from the issue's requested log contents, then add coverage showing it works for a failed deployment.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.