Skip to content

wakatime-cli: 1.102.3 -> 1.112.1#378664

Merged
jian-lin merged 1 commit intomasterfrom
unknown repository
Feb 3, 2025
Merged

wakatime-cli: 1.102.3 -> 1.112.1#378664
jian-lin merged 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Feb 1, 2025

https://github.com/wakatime/wakatime-cli/releases/tag/v1.112.1

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Feb 1, 2025
@nix-owners nix-owners bot requested a review from Sigmanificient February 1, 2025 22:01
@jian-lin jian-lin merged commit da8cfde into NixOS:master Feb 3, 2025
24 of 26 checks passed
@ghost ghost deleted the wakatime-cli branch February 3, 2025 16:11
@uncenter
Copy link
Member

uncenter commented Feb 7, 2025

I'm getting a failing test on darwin after this one:

error: builder for '/nix/store/g0v46l4vh3gjb6li3jzw1km05fqa4fsq-wakatime-cli-1.112.1.drv' failed with exit code 1;
       last 25 log lines:
> ok        github.com/wakatime/wakatime-cli/cmd/configwrite        0.211s
> ok      github.com/wakatime/wakatime-cli/cmd/fileexperts        0.301s
> ok      github.com/wakatime/wakatime-cli/cmd/heartbeat  0.782s
> ok      github.com/wakatime/wakatime-cli/cmd/logfile    0.200s
> ok      github.com/wakatime/wakatime-cli/cmd/offline    0.418s
> ok      github.com/wakatime/wakatime-cli/cmd/offlinecount       0.258s
> ok      github.com/wakatime/wakatime-cli/cmd/offlineprint       0.237s
> ok      github.com/wakatime/wakatime-cli/cmd/offlinesync        0.755s
> {"level":"warn","now":"2025-02-07T18:46:12Z","caller":"params/params.go:1215","func":"github.com/wakatime/wakatime-cli/cmd/params.parseBoolOrRegexList","message":"failed to compile regex pattern \"(?i)[\", it will be ignored","version":"1.112.1","os/arch":"unset/unset"}
> {"level":"warn","now":"2025-02-07T18:46:12Z","caller":"params/params.go:1215","func":"github.com/wakatime/wakatime-cli/cmd/params.parseBoolOrRegexList","message":"failed to compile regex pattern \"(?i)[\", it will be ignored","version":"1.112.1","os/arch":"unset/unset"}
> {"level":"warn","now":"2025-02-07T18:46:12Z","caller":"params/params.go:688","func":"github.com/wakatime/wakatime-cli/cmd/params.LoadOfflineParams","message":"argument --heartbeat-rate-limit-seconds must be zero or a positive integer number, got -1","version":"1.112.1","os/arch":"unset/unset"}
> {"level":"warn","now":"2025-02-07T18:46:12Z","caller":"params/params.go:710","func":"github.com/wakatime/wakatime-cli/cmd/params.LoadOfflineParams","message":"failed to parse heartbeats_last_sent_at: parsing time \"2021-08-30\" as \"2006-01-02T15:04:05Z07:00\": cannot parse \"\" as \"T\"","version":"1.112.1","os/arch":"unset/unset"}
> {"level":"warn","now":"2025-02-07T18:46:12Z","caller":"params/params.go:699","func":"github.com/wakatime/wakatime-cli/cmd/params.LoadOfflineParams","message":"argument --sync-offline-activity must be zero or a positive integer number, got -1","version":"1.112.1","os/arch":"unset/unset"}
> printf: warning: ignoring excess arguments, starting with '>&2'
> --- FAIL: TestLoadParams_APIKey_FromVault_Err_Darwin (0.01s)
>     params_test.go:2308:
>               Error Trace:    /private/tmp/nix-build-wakatime-cli-1.112.1.drv-0/source/cmd/params/params_test.go:2308
>                Error:          Error message not equal:
>                               expected: "failed to read api key from vault: exit status 1"
>                           actual  : "invalid api key format"
>             Test:           TestLoadParams_APIKey_FromVault_Err_Darwin
> {"level":"warn","now":"2025-02-07T18:46:12Z","caller":"params/params.go:236","func":"github.com/wakatime/wakatime-cli/cmd/params.LoadAPIParams","message":"failed to parse backoff_at: parsing time \"2021-08-30\" as \"2006-01-02T15:04:05Z07:00\": cannot parse \"\" as \"T\"","version":"1.112.1","os/arch":"unset/unset"}
> FAIL
> FAIL   github.com/wakatime/wakatime-cli/cmd/params     0.306s

@isabelroses
Copy link
Member

I'm getting a failing test on darwin after this one:

error: builder for '/nix/store/g0v46l4vh3gjb6li3jzw1km05fqa4fsq-wakatime-cli-1.112.1.drv' failed with exit code 1;
       last 25 log lines:
> ok        github.com/wakatime/wakatime-cli/cmd/configwrite        0.211s
> ok      github.com/wakatime/wakatime-cli/cmd/fileexperts        0.301s
> ok      github.com/wakatime/wakatime-cli/cmd/heartbeat  0.782s
> ok      github.com/wakatime/wakatime-cli/cmd/logfile    0.200s
> ok      github.com/wakatime/wakatime-cli/cmd/offline    0.418s
> ok      github.com/wakatime/wakatime-cli/cmd/offlinecount       0.258s
> ok      github.com/wakatime/wakatime-cli/cmd/offlineprint       0.237s
> ok      github.com/wakatime/wakatime-cli/cmd/offlinesync        0.755s
> {"level":"warn","now":"2025-02-07T18:46:12Z","caller":"params/params.go:1215","func":"github.com/wakatime/wakatime-cli/cmd/params.parseBoolOrRegexList","message":"failed to compile regex pattern \"(?i)[\", it will be ignored","version":"1.112.1","os/arch":"unset/unset"}
> {"level":"warn","now":"2025-02-07T18:46:12Z","caller":"params/params.go:1215","func":"github.com/wakatime/wakatime-cli/cmd/params.parseBoolOrRegexList","message":"failed to compile regex pattern \"(?i)[\", it will be ignored","version":"1.112.1","os/arch":"unset/unset"}
> {"level":"warn","now":"2025-02-07T18:46:12Z","caller":"params/params.go:688","func":"github.com/wakatime/wakatime-cli/cmd/params.LoadOfflineParams","message":"argument --heartbeat-rate-limit-seconds must be zero or a positive integer number, got -1","version":"1.112.1","os/arch":"unset/unset"}
> {"level":"warn","now":"2025-02-07T18:46:12Z","caller":"params/params.go:710","func":"github.com/wakatime/wakatime-cli/cmd/params.LoadOfflineParams","message":"failed to parse heartbeats_last_sent_at: parsing time \"2021-08-30\" as \"2006-01-02T15:04:05Z07:00\": cannot parse \"\" as \"T\"","version":"1.112.1","os/arch":"unset/unset"}
> {"level":"warn","now":"2025-02-07T18:46:12Z","caller":"params/params.go:699","func":"github.com/wakatime/wakatime-cli/cmd/params.LoadOfflineParams","message":"argument --sync-offline-activity must be zero or a positive integer number, got -1","version":"1.112.1","os/arch":"unset/unset"}
> printf: warning: ignoring excess arguments, starting with '>&2'
> --- FAIL: TestLoadParams_APIKey_FromVault_Err_Darwin (0.01s)
>     params_test.go:2308:
>               Error Trace:    /private/tmp/nix-build-wakatime-cli-1.112.1.drv-0/source/cmd/params/params_test.go:2308
>                Error:          Error message not equal:
>                               expected: "failed to read api key from vault: exit status 1"
>                           actual  : "invalid api key format"
>             Test:           TestLoadParams_APIKey_FromVault_Err_Darwin
> {"level":"warn","now":"2025-02-07T18:46:12Z","caller":"params/params.go:236","func":"github.com/wakatime/wakatime-cli/cmd/params.LoadAPIParams","message":"failed to parse backoff_at: parsing time \"2021-08-30\" as \"2006-01-02T15:04:05Z07:00\": cannot parse \"\" as \"T\"","version":"1.112.1","os/arch":"unset/unset"}
> FAIL
> FAIL   github.com/wakatime/wakatime-cli/cmd/params     0.306s

I also seem to get this error. 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants