Gate runs don't record their cost where the factory scorecard reads it

Open
#4,765 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
typescript
Domain
tooling

Research direction

The payload names no source files, only crew/docs/captain.md as the stated rationale, so start there and then search the repo for where gate runs are executed and where the scorecard builds its "$ per merged PR" line from its input. Compare the two: what schema or record does the scorecard read, and what (if anything) does a gate run currently write. Done means a gate run emits a cost record in that input format and the scorecard's dollar line reflects measured cost instead of a floor. Confirm the expected record shape with a maintainer before coding, since the issue does not specify it.

Written by the indexing model from the issue text.

Description

S3

What happened

None of our 125 gate runs in a week wrote its cost where the scorecard reads it, so "$ per merged PR" is only a floor.

What we did meanwhile

We report the scorecard's dollar line as a floor and price gate runs by hand.

Suggestion

The gate writes its own cost record into the scorecard's input.

Filed from Groom Club's Captains (checked against gstack 1.103.0.0, 8143a91). crew/docs/captain.md calls a rule that lives only in a crew's file a gap in gstack, so we're sending each of ours here, one issue per gap.

Dominant language
TypeScript
Stars
143k
Forks
21k
Avg merge
5h 25m
Merged PRs (30d)
791

Getting set up

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.

More from garrytan/gstack

All issues in garrytan/gstack

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.