Skip to content

Comments

Add querying container logs API with authentication#89

Open
elwincheng wants to merge 1 commit intomainfrom
issue_67_queryable_container_logs
Open

Add querying container logs API with authentication#89
elwincheng wants to merge 1 commit intomainfrom
issue_67_queryable_container_logs

Conversation

@elwincheng
Copy link
Collaborator

  • Implemented getJobLogs endpoint requiring Bearer token authentication.
  • Added requireAuth middleware to enforce authentication for protected routes.
  • Created comprehensive tests for job logs retrieval, including scenarios for valid and invalid authentication, missing job logs, and query parameters.
  • Updated DockerMgr to support container naming for log retrieval.
  • Enhanced error handling and logging for better traceability.

- Implemented `getJobLogs` endpoint requiring Bearer token authentication.
- Added `requireAuth` middleware to enforce authentication for protected routes.
- Created comprehensive tests for job logs retrieval, including scenarios for valid and invalid authentication, missing job logs, and query parameters.
- Updated `DockerMgr` to support container naming for log retrieval.
- Enhanced error handling and logging for better traceability.
@elwincheng elwincheng requested a review from blobcode February 18, 2026 22:23
@elwincheng elwincheng linked an issue Feb 18, 2026 that may be closed by this pull request
@blobcode
Copy link
Collaborator

I can't seem to review this one myself (github :( ) but lgtm overall - is the requireauth integrated with the oauth changes?

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Queryable Container Logs

2 participants