Skip to content

v1.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 14:03
· 28 commits to main since this release
v1.2.0
ea4e857

Added

  • warnings on the report. The JSON from standup fetch and the
    get_standup_data tool carries warnings: string[]: things the report could
    not see, such as an empty or private GitHub events feed. The CLI also prints
    each one to stderr as Warning: …. Providers can supply them through an
    optional warnings() method.

Changed

  • Long job logs keep their last 2 MiB and start with
    [log truncated to its last 2 MiB], instead of being read whole.
  • A JSON answer over 8 MiB is refused with an error naming the API path,
    instead of being buffered whole.
  • A body that is not JSON is named as such: "answered with something
    that is not JSON (content-type …)", where it used to read as "Could not reach
    ".
  • GitLab events and merge requests are dated on your local wall clock, as
    GitHub's already were. An event near midnight can move to the neighbouring
    day.
  • A gh or glab that times out or crashes raises a configuration error
    naming the CLI, instead of reading as "no token".
  • Per-item API requests (diagnoses, merge request details) run at most four at
    a time.
  • Hosted server: only a refused login asks you to reconnect. A refresh the
    host answers with invalid_grant asks for a reconnect; a network or
    database error says to try again in a few minutes; a rejected sign-in app
    (invalid_client, unauthorized_client) says the operator has to fix it.
    A renewal that cannot be saved after the old refresh token was spent asks
    for a reconnect instead of being reported as temporary.
  • Hosted server: long job logs keep their tail instead of failing past
    10 MiB. Host responses are streamed, and at most four bodies download at
    once across the whole server.
  • Hosted server: scheduled digests say what they could not read. A run
    that reads some accounts but not all posts what it read plus a fixed line
    for each account that failed, and is recorded as a warning. A run missed by
    more than the catch-up limit is recorded as the schedule's last error
    instead of being skipped silently.
  • Hosted server: connect page messages come from a fixed table of codes.
    The host's own error_description is no longer shown, and a failed sign-in
    no longer looks like a cancel.

Fixed

  • A red merge request is never dropped from blockers. When its failure
    cannot be diagnosed, it is still listed with job unknown and the reason,
    such as job log unavailable: HTTP 410 or no failed job found ….
  • Provider warnings now reach MCP callers, not only the CLI's stderr.
  • Hosted server: two servers overlapping during a deploy cannot post the same
    digest or spend the same refresh token twice.
    Schedule runs and token
    refreshes are claimed in the database first (schema migrations 3 and 4 add
    schedules.last_warning and accounts.refresh_claimed_until; both are
    additive, so a rollback to the previous image keeps working).

Security

  • Webhook kind inference is an allow-list. A URL is recognised only when it
    is https, has no credentials or custom port, and starts with a known webhook
    path on hooks.slack.com, chat.googleapis.com or discord.com. A URL that was
    inferred before (http, a custom port, another path) now needs kind passed
    explicitly. Webhook redirects are no longer followed.
  • Mentions in a posted note cannot ping anyone. Discord posts set
    allowed_mentions: { parse: [] }, Slack gets &, < and > escaped, and
    Google Chat gets a word joiner after each <, so <!channel> or
    <users/all> in a merge request title stays text.
  • Hosted server: a self-hosted OAuth application belongs to the connection
    that registered it.
    It used to be shared by everyone signing in to that
    host, so anyone could register and lock it, and whoever held its secret could
    collect colleagues' tokens. Existing applications stay with the connections
    that already signed in through them; register your own on your next
    connect.
  • Hosted server: dynamic client registration refuses plain http redirect
    URIs
    other than loopback, and script schemes. A client that registered
    one has to register again over https.
  • Hosted server: the connect cookie is __Host--prefixed, so a sibling
    subdomain cannot plant one. A connect flow in progress during the deploy
    starts over once.
  • Hosted server: clients are recognised by their exact callback URL, not by
    host. A custom GPT on chatgpt.com no longer borrows the ChatGPT name on the
    consent page, and the openai.com and cursor.com host entries are gone.
  • Hosted server: every outbound response has a size and time bound. The
    OAuth token exchange refuses an answer over 10 MiB, and every request has a
    30-second total deadline next to its idle timeout.
  • npm releases carry provenance (npm audit signatures verifies them) and are
    published through npm trusted publishing, only from tags on main, from a
    tarball packed in a job that holds no publishing credential. The release
    workflow uses no npm token; the old token is retired after the first trusted
    publish.

Dependencies

  • p-map is a new runtime dependency, used to cap concurrent API requests.