Skip to content

feat(agent-service, 1.1): align log-level env var with other services#4613

Merged
bobbai00 merged 1 commit into
apache:release/v1.1.0-incubatingfrom
bobbai00:backport-4575-agent-service-log-level
May 1, 2026
Merged

feat(agent-service, 1.1): align log-level env var with other services#4613
bobbai00 merged 1 commit into
apache:release/v1.1.0-incubatingfrom
bobbai00:backport-4575-agent-service-log-level

Conversation

@bobbai00
Copy link
Copy Markdown
Contributor

@bobbai00 bobbai00 commented May 1, 2026

What changes were proposed in this PR?

Backport of #4575 to release/v1.1.0-incubating.

Any related issues, documentation, discussions?

See the original PR for full context: #4575

How was this PR tested?

Cherry-pick applied cleanly; same testing as the original PR.

Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Opus 4.7)

…che#4575)

### What changes were proposed in this PR?

- Rename the agent-service log-level env var from `LOG_LEVEL` to
`TEXERA_SERVICE_LOG_LEVEL`, matching every other Texera service. Values
restricted to `ERROR`/`WARN`/`INFO`/`DEBUG` and lowercased for `pino`.
- Default `LOG_PRETTY` to `false` (`pino-pretty` is a dev-only dep);
enable via `.env.example` for local dev.
- Move `/health` under `${API_PREFIX}` as `/api/healthcheck` so it's
reachable through the same `/api` gateway prefix as other routes.

### Any related issues, documentation, discussions?

Closes apache#4574

### How was this PR tested?

`bun test` in `agent-service/` — existing health-endpoint test updated
to the new path passes.

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Opus 4.7)

---------

Co-authored-by: Xinyuan Lin <xinyual3@uci.edu>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@bobbai00 bobbai00 changed the title feat(agent-service): align log-level env var with other services feat(agent-service, 1.1): align log-level env var with other services May 1, 2026
@bobbai00 bobbai00 merged commit 7a17946 into apache:release/v1.1.0-incubating May 1, 2026
19 checks passed
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.

2 participants