Skip to content

feat(agent): log agent version on startup#5724

Merged
qwerty287 merged 3 commits into
woodpecker-ci:mainfrom
Utkarsh9571:log-agent-version
Nov 6, 2025
Merged

feat(agent): log agent version on startup#5724
qwerty287 merged 3 commits into
woodpecker-ci:mainfrom
Utkarsh9571:log-agent-version

Conversation

@Utkarsh9571
Copy link
Copy Markdown
Contributor

Logs the agent version at startup using zerolog for better traceability and debugging.

Only modifies cmd/agent/core/agent.go as requested. No changes to other files.

Let me know if you'd like to adjust the log level, format, or placement.

Copy link
Copy Markdown
Contributor

@qwerty287 qwerty287 left a comment

Choose a reason for hiding this comment

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

Thanks, that's what I mean.

Comment thread cmd/agent/core/agent.go Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 21.47%. Comparing base (1432037) to head (747bb77).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5724      +/-   ##
==========================================
- Coverage   21.48%   21.47%   -0.02%     
==========================================
  Files         428      428              
  Lines       38550    38550              
==========================================
- Hits         8283     8278       -5     
- Misses      29503    29508       +5     
  Partials      764      764              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@qwerty287 qwerty287 merged commit b2b4583 into woodpecker-ci:main Nov 6, 2025
8 of 9 checks passed
@Utkarsh9571
Copy link
Copy Markdown
Contributor Author

thank you

@woodpecker-bot woodpecker-bot mentioned this pull request Nov 6, 2025
1 task
@qwerty287 qwerty287 added the enhancement improve existing features label Nov 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement improve existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants