Skip to content

Releases: AgentMeter/agentmeter-action

v1.1.4 — Docs update

Choose a tag to compare

@adamhenson adamhenson released this 25 Jun 17:41

Updated AgentMeter links in README to include URL parameters

Bug fixes & robustness improvements

Choose a tag to compare

@adamhenson adamhenson released this 21 Jun 23:08
5aa20ef

Bug Fixes

  • Inline mode skip guard — runs with status: skipped are no longer ingested in inline mode (mirrors the existing guard in workflow_run mode)
  • durationSeconds null fix — unknown timestamps now produce null duration instead of a misleading 0s
  • Timestamps omitted when unavailablestartedAt/completedAt are dropped from the payload rather than sending empty strings
  • workflow_run status auto-resolved — conclusion is read from github.context.payload.workflow_run.conclusion automatically; no longer silently defaults to success when the input is omitted
  • isApproximate flag fixed — only cleared when all four token fields are explicitly provided; partial overrides preserve the approximation flag from the extracted source
  • Ingest response validation — malformed 200 responses are caught before their fields reach action outputs or PR comments

Reliability

  • SHA validation on pull_requests array — PR attribution now validates head_sha in the fast path, matching the branch-lookup fallback; stale first entries no longer cause misattribution
  • Jobs-API lag re-checkin_progress and not_found conclusion-job reads both trigger a 3s re-check before skipping, preventing dropped ingests from transient API lag
  • Comment history cap — PR comments are capped at 20 stored runs to stay under GitHub's 65 536-byte comment limit; parser handles both All N runs and Last N runs collapsible labels

Code Quality

  • Fixed parseAgentTokensZip spurious async (was fully synchronous)
  • Replaced @octokit/core import + runtime casts with correct ReturnType<typeof getOctokit> type in comment.ts
  • Alphabetical param ordering and missing inline JSDoc on several internal functions

Address missing tokens edge case

Choose a tag to compare

@adamhenson adamhenson released this 21 Jun 21:23
  • token-extractor.ts — new extractFromStreamJson() that finds the {"type":"result",...} line in NDJSON stream-json output and pulls usage.* + num_turns from it

  • workflow-run.tsfetchAgentTokens now has two paths:

    1. Fast path: finds agent-tokens artifact → parses agent-tokens.json (Codex/turns-test workflows, same as before)
    2. Fallback: finds agent artifact → unzips it → reads agent-stdio.log → calls extractFromStreamJson (gh-aw claude workflows like Agent: Code Review)

Minor cleanup and added "turns" support

Choose a tag to compare

@adamhenson adamhenson released this 21 Jun 19:02
v1.1.0

docs: clarify org key required for GitHub Actions

README cleanup

Choose a tag to compare

@adamhenson adamhenson released this 04 Apr 21:08
docs: replace emoji required indicators with yes/no in inputs table

Made-with: Cursor

README cleanup

Choose a tag to compare

@adamhenson adamhenson released this 04 Apr 21:04
docs: remove emojis from README

Made-with: Cursor

README and docs polish

Choose a tag to compare

@adamhenson adamhenson released this 30 Mar 16:05
docs: reorder screenshots — runs feed before run detail

Made-with: Cursor

Update docs

Choose a tag to compare

@adamhenson adamhenson released this 29 Mar 23:25
chore: update license attribution to AgentMeter

Made-with: Cursor

AgentMeter org change

Choose a tag to compare

@adamhenson adamhenson released this 29 Mar 21:37
chore: update all references from foo-software to agentmeter org

Made-with: Cursor

Updating docs

Choose a tag to compare

@adamhenson adamhenson released this 29 Mar 21:03
docs: remove early access warning banner

Made-with: Cursor